Modul speiger.src.collections
Schnittstelle ShortConsumer
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
Type-Specific Consumer interface that reduces (un)boxing and allows to merge other consumer types into this interface
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaccept(short t) Type-Specific function to reduce (un)boxing.default voidVeraltet.Please use the corresponding type-specific function instead.default ShortConsumerVeraltet.Please use the corresponding type-specific function instead.default ShortConsumerandThen(ShortConsumer after) Type Specific sequencing method to reduce boxing/unboxing.
-
Methodendetails
-
accept
void accept(short t) Type-Specific function to reduce (un)boxing. Performs this operation on the given argument.- Parameter:
t- the input argument
-
andThen
Type Specific sequencing method to reduce boxing/unboxing.- Parameter:
after- a operation that should be performed afterwards- Gibt zurück:
- a sequenced consumer that does 2 operations
- Löst aus:
NullPointerException- if after is null
-
accept
Veraltet.Please use the corresponding type-specific function instead.This default implementation delegates to the corresponding type-specific function.
-
andThen
Veraltet.Please use the corresponding type-specific function instead.This default implementation delegates to the corresponding type-specific function.
-