Class Table.Remover<R>

java.lang.Object
org.jgroups.util.Table.Remover<R>
All Implemented Interfaces:
Table.Visitor<T>
Enclosing class:
Table<T>

protected class Table.Remover<R> extends Object implements Table.Visitor<T>
  • Field Details

    • nullify

      protected final boolean nullify
    • max_results

      protected final int max_results
    • num_results

      protected int num_results
    • filter

      protected final Predicate<T> filter
    • result

      protected R result
    • result_creator

      protected Supplier<R> result_creator
    • result_accumulator

      protected BiConsumer<R,T> result_accumulator
  • Constructor Details

  • Method Details

    • getResult

      public R getResult()
    • visit

      public boolean visit(long seqno, T element, int row, int column)
      Description copied from interface: Table.Visitor
      Specified by:
      visit in interface Table.Visitor<R>
      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