Package org.jgroups.util
Class Table.NumDeliverable
- java.lang.Object
-
- org.jgroups.util.Table.NumDeliverable
-
- All Implemented Interfaces:
Table.Visitor<T>
protected class Table.NumDeliverable extends java.lang.Object implements Table.Visitor<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected int
num_deliverable
-
Constructor Summary
Constructors Modifier Constructor Description protected
NumDeliverable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getResult()
boolean
visit(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 int getResult()
-
visit
public boolean visit(long seqno, T element, int row, int column)
Description copied from interface:Table.Visitor
Iteration over the table, used byTable.forEach(long,long,org.jgroups.util.Table.Visitor)
.- Specified by:
visit
in interfaceTable.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
-
-