Interface ShortConsumer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A primitive specialization of
Consumer for short.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidDeprecated.voidacceptShort(short value) Performs this operation on the given argument.Deprecated.default ShortConsumerandThenShort(ShortConsumer after)
-
Method Details
-
acceptShort
void acceptShort(short value) Performs this operation on the given argument.- Parameters:
value- the input argument
-
accept
Deprecated. -
andThenShort
- Parameters:
after- the operation to perform after this operation- Returns:
- a composed
ShortConsumerthat performs in sequence this operation followed by theafteroperation
-
andThen
Deprecated.
-