com.ibm.streamsx.topology.function

Interface Consumer<T>

  • Type Parameters:
    T - Type of the first (and only) argument
    All Superinterfaces:
    java.io.Serializable


    public interface Consumer<T>
    extends java.io.Serializable
    A function that takes an argument and returns nothing.
    If an implementation also implements java.lang.AutoCloseable then it will be automatically closed when the application terminates.
    • Method Detail

      • accept

        void accept(T v)
streamsx.topology 2.1 @ IBMStreams GitHub