public class SortedComparatorOperation<S> extends Object implements IntermediateOperation<S,Stream<S>,S,Stream<S>>
Stream
Constructor and Description |
---|
SortedComparatorOperation(Comparator<? super S> comparator) |
Modifier and Type | Method and Description |
---|---|
Comparator<? super S> |
getComparator() |
Stream<S> |
perform(Stream<S> stream)
Performs the actualy intermediate operation returning the resulting stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleInjection
public SortedComparatorOperation(Comparator<? super S> comparator)
public Stream<S> perform(Stream<S> stream)
IntermediateOperation
public Comparator<? super S> getComparator()
Copyright © 2022 JBoss, a division of Red Hat. All rights reserved.