public interface XProcessingSequence<E> extends XRemovingSequence<E>, XGettingSequence<E>, XProcessingCollection<E>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
XProcessingSequence.Factory<E> |
XGettingCollection.Creator<E>XIterable.Executor<E>Copyable.Static| Modifier and Type | Method and Description |
|---|---|
<C extends Consumer<? super E>> |
moveSelection(C target,
long... indices) |
E |
pick() |
E |
pop() |
E |
removeAt(long index) |
XProcessingSequence<E> |
toReversed()
Creates a new
XGettingSequence with the reversed order of elements. |
XGettingSequence<E> |
view(long fromIndex,
long toIndex)
Creates a sub-view of this collection and returns it.
|
removeRange, removeSelection, retainRangeat, copy, copySelection, first, get, hasIndex, immure, indexBy, indexOf, isSorted, last, lastIndexBy, lastIndexOf, maxIndex, minIndex, peek, poll, range, scan, viewiterateIndexedfetch, iterate, moveTo, pinch, removeBy, removeDuplicates, retrieve, retrieveByprocessclear, consolidate, nullRemove, optimize, remove, removeAll, removeDuplicates, removeOne, retainAll, truncateapplies, contains, containsAll, containsId, containsSearched, copyTo, count, countBy, distinct, distinct, equality, equals, equals, equalsContent, except, filterTo, hashCode, hasVolatileElements, intersect, intSize, iterator, join, max, min, nullContained, old, search, seek, size, toArray, toArray, unionnullAllowedforEach, spliteratorisFull, maximumCapacity, remainingCapacityE removeAt(long index)
E pop()
E pick()
XProcessingSequence<E> toReversed()
XGettingSequenceXGettingSequence with the reversed order of elements.
This method creates a new collection and does not change the existing collection.
toReversed in interface XGettingSequence<E>XGettingSequence<E> view(long fromIndex, long toIndex)
XGettingSequence
A view is different from immutable collection (XGettingCollection.immure())
in the way, that changes in this collection are still affecting the view.
The immutable collection on the other hand has no reference to this collection
and changes therefore do not affect the immutable collection.
view in interface XGettingSequence<E>fromIndex - defines lower boundary for the view of the collection.toIndex - defines higher boundary for the view of the collection.Copyright © 2022 MicroStream Software. All rights reserved.