Interface SerializableConsumer<T>

  • Type Parameters:
    T - the type of the first argument to the operation
    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 is also Serializable.
    Since:
    1.0
    Author:
    Vaadin Ltd
    See Also:
    Consumer