Package org.jgroups.util
Class Table.Remover<R>
- java.lang.Object
 - 
- org.jgroups.util.Table.Remover<R>
 
 
- 
- All Implemented Interfaces:
 Table.Visitor<T>
protected class Table.Remover<R> extends java.lang.Object implements Table.Visitor<T>
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected java.util.function.Predicate<T>filterprotected intmax_resultsprotected booleannullifyprotected intnum_resultsprotected Rresultprotected java.util.function.BiConsumer<R,T>result_accumulatorprotected java.util.function.Supplier<R>result_creator 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RgetResult()booleanvisit(long seqno, T element, int row, int column)Iteration over the table, used byTable.forEach(long,long,org.jgroups.util.Table.Visitor). 
 - 
 
- 
- 
Method Detail
- 
getResult
public R getResult()
 
- 
visit
public boolean visit(long seqno, T element, int row, int column)Description copied from interface:Table.VisitorIteration over the table, used byTable.forEach(long,long,org.jgroups.util.Table.Visitor).- Specified by:
 visitin interfaceTable.Visitor<R>- 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
 
 
 - 
 
 -