Package org.comroid.mutatio.pipe
Class SortedResultingPipe<T>
- java.lang.Object
-
- org.comroid.mutatio.pipe.BasicPipe<T,T>
-
- org.comroid.mutatio.pipe.SortedResultingPipe<T>
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.util.function.Consumer<T>,org.comroid.api.Disposable,Pipe<T,T>,Pipeable<T>,ReferenceIndex<T>
public class SortedResultingPipe<T> extends BasicPipe<T,T> implements Pipe<T,T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.comroid.api.Disposable
org.comroid.api.Disposable.Basic, org.comroid.api.Disposable.Container, org.comroid.api.Disposable.MultipleExceptions
-
Nested classes/interfaces inherited from interface org.comroid.mutatio.pipe.Pipeable
Pipeable.From<T>
-
Nested classes/interfaces inherited from interface org.comroid.mutatio.ref.ReferenceIndex
ReferenceIndex.Support
-
-
Field Summary
-
Fields inherited from class org.comroid.mutatio.pipe.BasicPipe
AUTOEMPTY_DISABLED, refs
-
-
Constructor Summary
Constructors Constructor Description SortedResultingPipe(Pipe<?,T> base, java.util.Comparator<? super T> comparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Reference<T>getReference(int index)booleanisSorted()-
Methods inherited from class org.comroid.mutatio.pipe.BasicPipe
accept, add, addChildren, addStage, clear, getAdapter, getChildren, pipe, size
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.comroid.api.Disposable
addChildren, close, closeContainer, dispose, disposeThrow, getChildren
-
Methods inherited from interface org.comroid.mutatio.pipe.Pipe
accept, addStage, distinct, filter, findAny, findFirst, flatMap, forEach, getAdapter, limit, map, peek, pump, remove, skip, sorted, sorted, span, unwrap
-
Methods inherited from interface org.comroid.mutatio.ref.ReferenceIndex
add, clear, get, pipe, requireNonNull, requireNonNull, size, stream, subset, subset, wrap
-
-
-
-
Method Detail
-
getReference
public Reference<T> getReference(int index)
- Specified by:
getReferencein interfaceReferenceIndex<T>- Overrides:
getReferencein classBasicPipe<T,T>
-
-