com.ibm.streamsx.topology.function

Interface BiFunction<T1,T2,R>

  • Type Parameters:
    T1 - Type of the first argument
    T2 - Type of the first second argument
    R - Type of the return value.
    All Superinterfaces:
    java.io.Serializable


    public interface BiFunction<T1,T2,R>
    extends java.io.Serializable
    A function that is passed two arguments and returns a value.
    If an implementation also implements java.lang.AutoCloseable then it will be automatically closed when the application terminates.
    • Method Detail

      • apply

        R apply(T1 v1,
                T2 v2)
streamsx.topology 2.1 @ IBMStreams GitHub