Package org.apache.pekko.stream.javadsl
Class MergeSorted$
java.lang.Object
org.apache.pekko.stream.javadsl.MergeSorted$
Merge two pre-sorted streams such that the resulting stream is sorted.
'''Emits when''' both inputs have an element available
'''Backpressures when''' downstream backpressures
'''Completes when''' all upstreams complete
'''Cancels when''' downstream cancels
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MergeSorted$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Comparable<T>>
Graph<FanInShape2<T,T, T>, NotUsed> create()Create a newMergeSortedoperator with the specified input type.<T> Graph<FanInShape2<T,T, T>, NotUsed> create(Comparator<T> comparator) Create a newMergeSortedoperator with the specified input type.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
MergeSorted$
public MergeSorted$()
-
-
Method Details
-
create
Create a newMergeSortedoperator with the specified input type. -
create
Create a newMergeSortedoperator with the specified input type.
-