public interface XImmutableSequence<E> extends XImmutableCollection<E>, XGettingSequence<E>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
XImmutableSequence.Factory<E> |
XGettingCollection.Creator<E>Copyable.StaticXIterable.Executor<E>| Modifier and Type | Method and Description |
|---|---|
XImmutableSequence<E> |
copy()
Creates a true copy of this collection which references the same elements as this collection does
at the time the method is called.
|
XImmutableSequence<E> |
immure()
Always returns the already immutable collection instance itself
|
XImmutableSequence<E> |
toReversed()
Creates a new
XGettingSequence with the reversed order of elements. |
Builder, Builderequals, hashCodeat, copySelection, first, get, hasIndex, indexBy, indexOf, isSorted, last, lastIndexBy, lastIndexOf, maxIndex, minIndex, peek, poll, range, scan, view, viewapplies, 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, unionforEach, spliteratorisFull, maximumCapacity, remainingCapacitynullAllowediterateIndexedXImmutableSequence<E> copy()
XGettingCollectioncopy in interface Copyablecopy in interface XGettingCollection<E>copy in interface XGettingSequence<E>copy in interface XImmutableCollection<E>XImmutableSequence<E> immure()
For spawning a copy of the collection instance, see XImmutableCollection.copy()
immure in interface XGettingCollection<E>immure in interface XGettingSequence<E>immure in interface XImmutableCollection<E>XImmutableCollection.copy()XImmutableSequence<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>Copyright © 2022 MicroStream Software. All rights reserved.