Interface Consumer1<T1>
- 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.
-
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
-
accept
-
toConsumer
-
from
-
acceptPartially
-
acceptPartially
-