protected static class NAKACK2.Counter extends java.lang.Object implements Table.Visitor<Message>
Modifier and Type | Field and Description |
---|---|
protected boolean |
count_size |
protected long |
result |
Constructor and Description |
---|
Counter(boolean count_size) |
Modifier and Type | Method and Description |
---|---|
long |
getResult() |
boolean |
visit(long seqno,
Message element,
int row,
int column)
Iteration over the table, used by
Table.forEach(long,long,org.jgroups.util.Table.Visitor) . |
public long getResult()
public boolean visit(long seqno, Message element, int row, int column)
Table.Visitor
Table.forEach(long,long,org.jgroups.util.Table.Visitor)
.visit
in interface Table.Visitor<Message>
seqno
- The current seqnoelement
- The element at matrix[row][column]row
- The current rowcolumn
- The current columnCopyright © 1998-2020 Red Hat. All Rights Reserved.