Interface SerializableConsumer<T>

  • All Superinterfaces:
    Consumer<T>, Serializable
    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 SerializableConsumer<T>
    extends Consumer<T>, Serializable
    A Consumer that can be serialized.
    Since:
    6.2.0
    Author:
    jameschu