protected class Table.Remover extends java.lang.Object implements Table.Visitor<T>
Modifier and Type | Field and Description |
---|---|
protected Filter<T> |
filter |
protected java.util.List<T> |
list |
protected int |
max_results |
protected boolean |
nullify |
protected int |
num_results |
Constructor and Description |
---|
Remover(boolean nullify,
int max_results) |
Remover(boolean nullify,
int max_results,
Filter<T> filter) |
Modifier and Type | Method and Description |
---|---|
java.util.List<T> |
getList() |
boolean |
visit(long seqno,
T element,
int row,
int column)
Iteration over the table, used by
Table.forEach(long,long,org.jgroups.util.Table.Visitor) . |
protected final boolean nullify
protected final int max_results
protected java.util.List<T> list
protected int num_results
public java.util.List<T> getList()
public boolean visit(long seqno, T element, int row, int column)
Table.Visitor
Table.forEach(long,long,org.jgroups.util.Table.Visitor)
.visit
in interface Table.Visitor<T>
seqno
- The current seqnoelement
- The element at matrix[row][column]row
- The current rowcolumn
- The current columnCopyright © 1998-2020 Red Hat. All Rights Reserved.