Class SortedComparatorOperation<S>
- java.lang.Object
-
- org.infinispan.stream.impl.intops.object.SortedComparatorOperation<S>
-
- All Implemented Interfaces:
IntermediateOperation<S,Stream<S>,S,Stream<S>>
public class SortedComparatorOperation<S> extends Object implements IntermediateOperation<S,Stream<S>,S,Stream<S>>
Performs sorted operation with a comparator on a regularStream
-
-
Constructor Summary
Constructors Constructor Description SortedComparatorOperation(Comparator<? super S> comparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Comparator<? super S>
getComparator()
Stream<S>
perform(Stream<S> stream)
Performs the actualy intermediate operation returning the resulting stream-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.stream.impl.intops.IntermediateOperation
handleInjection
-
-
-
-
Constructor Detail
-
SortedComparatorOperation
public SortedComparatorOperation(Comparator<? super S> comparator)
-
-
Method Detail
-
perform
public Stream<S> perform(Stream<S> stream)
Description copied from interface:IntermediateOperation
Performs the actualy intermediate operation returning the resulting stream
-
getComparator
public Comparator<? super S> getComparator()
-
-