Schnittstelle BooleanShortConsumer

Alle Superschnittstellen:
BiConsumer<Boolean,Short>

public interface BooleanShortConsumer extends BiConsumer<Boolean,Short>
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(boolean k, short v)
    A Type Specific operation method to reduce boxing/unboxing Performs this operation on the given arguments.
    default void
    Veraltet.
    Please use the corresponding type-specific function instead.
    andThen(BiConsumer<? super Boolean,? super Short> after)
    Veraltet.
    Please use the corresponding type-specific function instead.
    Type Specific sequencing method to reduce boxing/unboxing.
  • Methodendetails

    • accept

      void accept(boolean k, short v)
      A Type Specific operation method to reduce boxing/unboxing Performs this operation on the given arguments.
      Parameter:
      k - the first input argument
      v - the second input argument
    • andThen

      default BooleanShortConsumer andThen(BooleanShortConsumer 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
    • accept

      @Deprecated default void accept(Boolean k, Short v)
      Veraltet.
      Please use the corresponding type-specific function instead.

      This default implementation delegates to the corresponding type-specific function.

      Angegeben von:
      accept in Schnittstelle BiConsumer<Boolean,Short>
    • andThen

      @Deprecated default BooleanShortConsumer andThen(BiConsumer<? super Boolean,? super Short> after)
      Veraltet.
      Please use the corresponding type-specific function instead.

      This default implementation delegates to the corresponding type-specific function.

      Angegeben von:
      andThen in Schnittstelle BiConsumer<Boolean,Short>