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.

@FunctionalInterface public interface ConsumerWithContext<T,C> extends BiConsumer<T,C>
A consumer like interface for use with Plans and their contexts.
The subinterface ConsumerWithContext.Ignored is provided for consumers that do not need the context object.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A ConsumerWithContext that ignores the context object.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T t, C context)
     

    Methods inherited from interface java.util.function.BiConsumer

    andThen
  • Method Details