Schnittstelle ObjectObjectConsumer<T,V>

Typparameter:
T - the keyType of elements maintained by this Collection
V - the keyType of elements maintained by this Collection
Alle Superschnittstellen:
BiConsumer<T,V>

public interface ObjectObjectConsumer<T,V> extends BiConsumer<T,V>
A Type Specific BiConsumer class to reduce boxing/unboxing and that fills the gaps that java has.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    accept(T k, V v)
    A Type Specific operation method to reduce boxing/unboxing Performs this operation on the given arguments.
    Type Specific sequencing method to reduce boxing/unboxing.

    Von Schnittstelle geerbte Methoden java.util.function.BiConsumer

    andThen
  • Methodendetails

    • accept

      void accept(T k, V v)
      A Type Specific operation method to reduce boxing/unboxing Performs this operation on the given arguments.
      Angegeben von:
      accept in Schnittstelle BiConsumer<T,V>
      Parameter:
      k - the first input argument
      v - the second input argument
    • andThen

      default ObjectObjectConsumer<T,V> andThen(ObjectObjectConsumer<T,V> after)
      Type Specific sequencing method to reduce boxing/unboxing.
      Parameter:
      after - a operation that should be performed afterwards
      Gibt zurück:
      a sequenced biconsumer that does 2 operations
      Löst aus:
      NullPointerException - if after is null