Interface PairList.IndexedBiConsumer<T,U>

Type Parameters:
T - First type
U - Second type
Enclosing interface:
PairList<T,U>

public static interface PairList.IndexedBiConsumer<T,U>
Action to be taken each step of an indexed iteration over a PairList.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(int index, T t, U u)
    Performs this operation on the given arguments.
    default BiConsumer<T,U>
    Returns a BiConsumer that calls this IndexedBiConsumer with an index that is incremented each call.
  • Method Details

    • accept

      void accept(int index, T t, U u)
      Performs this operation on the given arguments.
      Parameters:
      index - Index
      t - First input argument
      u - Second input argument
    • getBiConsumer

      default BiConsumer<T,U> getBiConsumer()
      Returns a BiConsumer that calls this IndexedBiConsumer with an index that is incremented each call.