public interface XSettingEnum<E> extends XSortableEnum<E>, XSettingSequence<E>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
XSettingEnum.Creator<E> |
XGettingSequence.Factory<E>Copyable.StaticXIterable.Executor<E>| Modifier and Type | Method and Description |
|---|---|
XSettingEnum<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.
|
XSettingEnum<E> |
range(long fromIndex,
long toIndex) |
XSettingEnum<E> |
reverse()
Reverses the order of its own elements and returns itself.
|
XSettingEnum<E> |
set(long index,
E[] elements,
int offset,
int length) |
XSettingEnum<E> |
set(long index,
XGettingSequence<? extends E> elements,
long offset,
long length) |
XSettingEnum<E> |
setAll(long index,
E... elements) |
void |
setFirst(E element) |
E |
setGet(long index,
E element) |
void |
setLast(E element) |
XSettingEnum<E> |
sort(Comparator<? super E> comparator)
Sorts this collection according to the given comparator
and returns itself.
|
XSettingEnum<E> |
swap(long indexA,
long indexB) |
XSettingEnum<E> |
swap(long indexA,
long indexB,
long length) |
XSettingEnum<E> |
toReversed()
Creates a new
XGettingSequence with the reversed order of elements. |
shiftBy, shiftBy, shiftTo, shiftToimmure, iterate, view, viewsetat, copySelection, first, get, hasIndex, indexBy, indexOf, isSorted, last, lastIndexBy, lastIndexOf, maxIndex, minIndex, peek, poll, scanapplies, 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, remainingCapacityiterateIndexednullAllowedE setGet(long index, E element)
setGet in interface XSettingSequence<E>void setFirst(E element)
setFirst in interface XSettingSequence<E>void setLast(E element)
setLast in interface XSettingSequence<E>XSettingEnum<E> setAll(long index, E... elements)
setAll in interface XSettingSequence<E>XSettingEnum<E> set(long index, E[] elements, int offset, int length)
set in interface XSettingSequence<E>XSettingEnum<E> set(long index, XGettingSequence<? extends E> elements, long offset, long length)
set in interface XSettingSequence<E>XSettingEnum<E> swap(long indexA, long indexB)
swap in interface XOrderingEnum<E>swap in interface XOrderingSequence<E>swap in interface XSettingSequence<E>swap in interface XSortableEnum<E>swap in interface XSortableSequence<E>XSettingEnum<E> swap(long indexA, long indexB, long length)
swap in interface XOrderingEnum<E>swap in interface XOrderingSequence<E>swap in interface XSettingSequence<E>swap in interface XSortableEnum<E>swap in interface XSortableSequence<E>XSettingEnum<E> reverse()
XSortableSequence
Unlike the XSortableSequence.toReversed() method, this method does not create a new collection,
but changes the order of its own elements.
reverse in interface XOrderingEnum<E>reverse in interface XOrderingSequence<E>reverse in interface XSettingSequence<E>reverse in interface XSortableEnum<E>reverse in interface XSortableSequence<E>XSettingEnum<E> sort(Comparator<? super E> comparator)
Sortablesort in interface Sortable<E>sort in interface XSettingSequence<E>sort in interface XSortableEnum<E>sort in interface XSortableSequence<E>comparator - to sort this collectionXSettingEnum<E> copy()
XGettingSequencecopy in interface Copyablecopy in interface XGettingCollection<E>copy in interface XGettingEnum<E>copy in interface XGettingSequence<E>copy in interface XGettingSet<E>copy in interface XSettingSequence<E>copy in interface XSortableEnum<E>copy in interface XSortableSequence<E>XSettingEnum<E> toReversed()
XSortableSequenceXGettingSequence with the reversed order of elements.
This method creates a new collection and does not change the existing collection.
Unlike the XSortableSequence.reverse() method, this method creates a new collection and does not change the
existing collection.
toReversed in interface XGettingEnum<E>toReversed in interface XGettingSequence<E>toReversed in interface XSettingSequence<E>toReversed in interface XSortableEnum<E>toReversed in interface XSortableSequence<E>XSettingEnum<E> range(long fromIndex, long toIndex)
range in interface XGettingEnum<E>range in interface XGettingSequence<E>range in interface XSettingSequence<E>Copyright © 2022 MicroStream Software. All rights reserved.