Interface ConsumerWithContext<T,C>
- Type Parameters:
T- The type to actually consume.C- The context type.
- All Superinterfaces:
BiConsumer<T,C>
- All Known Subinterfaces:
ConsumerWithContext.Ignored<T,C>
- 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 like interface for use with
The subinterface
Plans and their contexts.
The subinterface
ConsumerWithContext.Ignored is provided for consumers that do not need the context object.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAConsumerWithContextthat ignores the context object. -
Method Summary
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<T,C>
-