protected static class NAKACK2.Counter extends java.lang.Object implements Table.Visitor<Message>
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
count_size |
protected long |
result |
构造器和说明 |
---|
NAKACK2.Counter(boolean count_size) |
限定符和类型 | 方法和说明 |
---|---|
long |
getResult() |
boolean |
visit(long seqno,
Message element,
int row,
int column)
Iteration over the table, used by
Table.forEach(long, long, Table.Visitor) . |
public long getResult()
public boolean visit(long seqno, Message element, int row, int column)
Table.Visitor
Table.forEach(long, long, Table.Visitor)
.visit
在接口中 Table.Visitor<Message>
seqno
- The current seqnoelement
- The element at matrix[row][column]row
- The current rowcolumn
- The current column