org.jgroups.util
Class Table.Remover
java.lang.Object
org.jgroups.util.Table.Remover
- All Implemented Interfaces:
- Table.Visitor<T>
- Enclosing class:
- Table<T>
protected class Table.Remover
- extends java.lang.Object
- implements Table.Visitor<T>
Constructor Summary |
Table.Remover(boolean nullify,
int max_results)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nullify
protected final boolean nullify
max_results
protected final int max_results
list
protected java.util.List<T> list
num_results
protected int num_results
Table.Remover
public Table.Remover(boolean nullify,
int max_results)
getList
public java.util.List<T> getList()
visit
public boolean visit(long seqno,
T element,
int row,
int column)
- Description copied from interface:
Table.Visitor
- Iteration over the table, used by
Table.forEach(long,long,org.jgroups.util.Table.Visitor)
.
- Specified by:
visit
in interface Table.Visitor<T>
- Parameters:
seqno
- The current seqnoelement
- The element at matrix[row][column]row
- The current rowcolumn
- The current column
- Returns:
- True if we should continue the iteration, false if we should break out of the iteration
Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.