public interface XGettingList<E> extends XGettingSequence<E>, XGettingBag<E>, ExtendedList<E>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
XGettingList.Factory<E> |
XGettingCollection.Creator<E>XIterable.Executor<E>Copyable.Static| Modifier and Type | Method and Description |
|---|---|
XGettingList<E> |
copy()
Creates a true copy of this list which references the same elements in the same order as this list does
at the time the method is called.
|
XImmutableList<E> |
immure()
Provides an instance of an immutable collection type with equal behavior and data as this instance.
|
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(long index) |
OldList<E> |
old() |
XGettingList<E> |
range(long fromIndex,
long toIndex) |
XGettingList<E> |
toReversed()
Creates a new
XGettingSequence with the reversed order of elements. |
XGettingList<E> |
view()
Creates a view of this collection and returns it.
|
XGettingList<E> |
view(long lowIndex,
long highIndex)
Creates a sub-view of this collection and returns it.
|
at, copySelection, first, get, hasIndex, indexBy, indexOf, isSorted, last, lastIndexBy, lastIndexOf, maxIndex, minIndex, peek, poll, scaniterateIndexedapplies, contains, containsAll, containsId, containsSearched, copyTo, count, countBy, distinct, distinct, equality, equals, equals, equalsContent, except, filterTo, hashCode, hasVolatileElements, intersect, intSize, iterator, join, max, min, nullContained, search, seek, size, toArray, toArray, unionforEach, spliteratorisFull, maximumCapacity, remainingCapacitynullAllowedXImmutableList<E> immure()
If this instance already is of an immutable collection type, it returns itself.
immure in interface XGettingBag<E>immure in interface XGettingCollection<E>immure in interface XGettingSequence<E>ListIterator<E> listIterator()
ListIterator<E> listIterator(long index)
OldList<E> old()
old in interface XGettingCollection<E>XGettingList<E> copy()
XGettingSequencecopy in interface Copyablecopy in interface XGettingBag<E>copy in interface XGettingCollection<E>copy in interface XGettingSequence<E>XGettingList<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>XGettingList<E> view()
XGettingCollection
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 XGettingBag<E>view in interface XGettingCollection<E>view in interface XGettingSequence<E>XGettingList<E> view(long lowIndex, long highIndex)
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>lowIndex - defines lower boundary for the view of the collection.highIndex - defines higher boundary for the view of the collection.XGettingList<E> range(long fromIndex, long toIndex)
range in interface XGettingSequence<E>Copyright © 2022 MicroStream Software. All rights reserved.