Interface SerializableConsumer<T>

  • All Superinterfaces:
    Consumer<T>, Serializable

    public interface SerializableConsumer<T>
    extends Consumer<T>, Serializable
    All user supplied transformation functions have to be serializable. Thus all Streamlet transformation definitions take Serializable Functions as their input. We simply decorate java.util. function definitions with a Serializable tag to ensure that any supplied lambda functions automatically become serializable.