- All Superinterfaces:
Consumer<T1>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A consumer with 1 arguments.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidPerforms this operation on the given argument.voidPerforms this operation on the given argument.default Consumer0acceptPartially(Tuple1<? extends T1> args) Let this consumer partially accept the arguments.default Consumer0acceptPartially(T1 v1) Let this consumer partially accept the arguments.static <T1> Consumer1<T1>Convert to this consumer from aConsumer.Convert this consumer to aConsumer.
-
Method Details
-
accept
Performs this operation on the given argument.- Parameters:
args- The arguments as a tuple.
-
accept
Performs this operation on the given argument. -
toConsumer
Convert this consumer to aConsumer. -
from
Convert to this consumer from aConsumer. -
acceptPartially
Let this consumer partially accept the arguments. -
acceptPartially
Let this consumer partially accept the arguments.
-