X - The type of objects emitted by the source ReactiveStreams.T - The type of objects emitted by the new created ReactiveStream.public final class CompositionStreamId<X,T> extends java.lang.Object implements StreamId<T>
StreamId which in conjunction with the
CompositionStreamFactory allows for the easy creation of
general purpose streams based on composition of streams. This class is experimental.| Constructor and Description |
|---|
CompositionStreamId(java.util.List<StreamId<X>> sourceStreamIds,
java.util.function.Function<java.util.List<org.reactivestreams.Publisher<X>>,org.reactivestreams.Publisher<T>> transformation)
Creates a
CompositionStreamId with the provided sourceStreamIds and function. |
CompositionStreamId(StreamId<X> sourceStreamId,
java.util.function.Function<java.util.List<org.reactivestreams.Publisher<X>>,org.reactivestreams.Publisher<T>> transformation)
Creates a
CompositionStreamId with the provided sourceStreamId and function. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.util.List<StreamId<X>> |
sourceStreamIds() |
java.lang.String |
toString() |
java.util.function.Function<java.util.List<org.reactivestreams.Publisher<X>>,org.reactivestreams.Publisher<T>> |
transformation() |
public CompositionStreamId(StreamId<X> sourceStreamId, java.util.function.Function<java.util.List<org.reactivestreams.Publisher<X>>,org.reactivestreams.Publisher<T>> transformation)
CompositionStreamId with the provided sourceStreamId and function.public CompositionStreamId(java.util.List<StreamId<X>> sourceStreamIds, java.util.function.Function<java.util.List<org.reactivestreams.Publisher<X>>,org.reactivestreams.Publisher<T>> transformation)
CompositionStreamId with the provided sourceStreamIds and function.public java.util.function.Function<java.util.List<org.reactivestreams.Publisher<X>>,org.reactivestreams.Publisher<T>> transformation()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object