Class ZippedStreamId<S1,​S2,​T>

  • Type Parameters:
    S1 - type of the first source stream
    S2 - type of the second source stream
    T - type that function holds
    All Implemented Interfaces:
    java.io.Serializable, StreamId<T>

    public class ZippedStreamId<S1,​S2,​T>
    extends java.lang.Object
    implements StreamId<T>
    Zips the items of the stream with the ZipCompositionFunction.
    See Also:
    Serialized Form
    • Method Detail

      • zip

        public static <S1,​S2,​T> ZippedStreamId<S1,​S2,​T> zip​(StreamId<S1> sourceStreamId1,
                                                                                    StreamId<S2> sourceStreamId2,
                                                                                    io.reactivex.functions.BiFunction<S1,​S2,​java.util.Optional<T>> function)
      • sourceStreamId1

        public StreamId<S1> sourceStreamId1()
      • sourceStreamId2

        public StreamId<S2> sourceStreamId2()
      • function

        public io.reactivex.functions.BiFunction<S1,​S2,​java.util.Optional<T>> function()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object