Class ZippedStreamId<S1,S2,T>
- java.lang.Object
-
- org.streamingpool.core.service.streamid.ZippedStreamId<S1,S2,T>
-
- Type Parameters:
S1- type of the first source streamS2- type of the second source streamT- 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 theZipCompositionFunction.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)io.reactivex.functions.BiFunction<S1,S2,java.util.Optional<T>>function()inthashCode()StreamId<S1>sourceStreamId1()StreamId<S2>sourceStreamId2()java.lang.StringtoString()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)
-
-
-
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)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-