org.jgroups.util
Interface Table.Visitor<T>

All Known Implementing Classes:
NAKACK2.Counter, Table.Counter, Table.Dump, Table.Getter, Table.Missing, Table.Remover
Enclosing class:
Table<T>

public static interface Table.Visitor<T>


Method Summary
 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).
 

Method Detail

visit

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).

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.