org.jgroups.util
Class Table.Dump

java.lang.Object
  extended by org.jgroups.util.Table.Dump
All Implemented Interfaces:
Table.Visitor<T>
Enclosing class:
Table<T>

protected class Table.Dump
extends java.lang.Object
implements Table.Visitor<T>


Field Summary
protected  boolean first
           
protected  java.lang.StringBuilder sb
           
 
Constructor Summary
protected Table.Dump()
           
 
Method Summary
protected  java.lang.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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sb

protected final java.lang.StringBuilder sb

first

protected boolean first
Constructor Detail

Table.Dump

protected Table.Dump()
Method Detail

getResult

protected java.lang.String getResult()

visit

public boolean visit(long seqno,
                     T element,
                     int row,
                     int column)
Description copied from interface: Table.Visitor
Iteration over the table, used by Table.forEach(long,long,org.jgroups.util.Table.Visitor).

Specified by:
visit in interface Table.Visitor<T>
Parameters:
seqno - The current seqno
element - The element at matrix[row][column]
row - The current row
column - The current column
Returns:
True if we should continue the iteration, false if we should break out of the iteration


Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.