protected class Table.Dump extends Object implements Table.Visitor<T>
Modifier and Type | Field and Description |
---|---|
protected boolean |
first |
protected StringBuilder |
sb |
Modifier | Constructor and Description |
---|---|
protected |
Dump() |
Modifier and Type | Method and Description |
---|---|
protected String |
getResult() |
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 StringBuilder sb
protected boolean first
protected String getResult()
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 © 2019 JBoss, a division of Red Hat. All rights reserved.