Interface ConsumerWithContext.Ignored<T,C>

Type Parameters:
T - The type to actually consume.
C - The (ignored) context type.
All Superinterfaces:
BiConsumer<T,C>, Consumer<T>, ConsumerWithContext<T,C>
Enclosing interface:
ConsumerWithContext<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 static interface ConsumerWithContext.Ignored<T,C> extends ConsumerWithContext<T,C>, Consumer<T>
A ConsumerWithContext that ignores the context object.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface dev.engine_room.flywheel.lib.task.functional.ConsumerWithContext

    ConsumerWithContext.Ignored<T,C>
  • Method Summary

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

    Methods inherited from interface java.util.function.BiConsumer

    andThen

    Methods inherited from interface java.util.function.Consumer

    andThen