public interface XDecreasingSequence<E> extends XProcessingSequence<E>, XSettingSequence<E>
This type is primarily used for the values list of a map, which can offer all functionality except adding values (without mapping it to a key).
| Modifier and Type | Interface and Description |
|---|---|
static interface |
XDecreasingSequence.Creator<E> |
XProcessingSequence.Factory<E>Copyable.StaticXIterable.Executor<E>| Modifier and Type | Method and Description |
|---|---|
XDecreasingSequence<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.
|
XDecreasingSequence<E> |
range(long fromIndex,
long toIndex) |
XDecreasingSequence<E> |
reverse()
Reverses the order of its own elements and returns itself.
|
XDecreasingSequence<E> |
set(long index,
E[] elements,
int offset,
int length) |
XDecreasingSequence<E> |
set(long index,
XGettingSequence<? extends E> elements,
long offset,
long length) |
XDecreasingSequence<E> |
setAll(long index,
E... elements) |
XDecreasingSequence<E> |
sort(Comparator<? super E> comparator)
Sorts this collection according to the given comparator
and returns itself.
|
XDecreasingSequence<E> |
swap(long indexA,
long indexB) |
XDecreasingSequence<E> |
swap(long indexA,
long indexB,
long length) |
XDecreasingSequence<E> |
toReversed()
Creates a new
XGettingSequence with the reversed order of elements. |
moveSelection, pick, pop, removeAt, viewremoveRange, removeSelection, retainRangefetch, iterate, moveTo, pinch, removeBy, removeDuplicates, retrieve, retrieveByprocessclear, consolidate, nullRemove, optimize, remove, removeAll, removeDuplicates, removeOne, retainAll, truncateset, setFirst, setGet, setLastshiftBy, shiftBy, shiftTo, shiftToat, copySelection, first, get, hasIndex, immure, indexBy, indexOf, isSorted, last, lastIndexBy, lastIndexOf, maxIndex, minIndex, peek, poll, scan, 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, remainingCapacityiterateIndexednullAllowedXDecreasingSequence<E> setAll(long index, E... elements)
setAll in interface XSettingSequence<E>XDecreasingSequence<E> set(long index, E[] elements, int offset, int length)
set in interface XSettingSequence<E>XDecreasingSequence<E> set(long index, XGettingSequence<? extends E> elements, long offset, long length)
set in interface XSettingSequence<E>XDecreasingSequence<E> swap(long indexA, long indexB)
swap in interface XOrderingSequence<E>swap in interface XSettingSequence<E>swap in interface XSortableSequence<E>XDecreasingSequence<E> swap(long indexA, long indexB, long length)
swap in interface XOrderingSequence<E>swap in interface XSettingSequence<E>swap in interface XSortableSequence<E>XDecreasingSequence<E> copy()
XGettingSequencecopy in interface Copyablecopy in interface XGettingCollection<E>copy in interface XGettingSequence<E>copy in interface XSettingSequence<E>copy in interface XSortableSequence<E>XDecreasingSequence<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>toReversed in interface XProcessingSequence<E>toReversed in interface XSettingSequence<E>toReversed in interface XSortableSequence<E>XDecreasingSequence<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 XOrderingSequence<E>reverse in interface XSettingSequence<E>reverse in interface XSortableSequence<E>XDecreasingSequence<E> range(long fromIndex, long toIndex)
range in interface XGettingSequence<E>range in interface XSettingSequence<E>XDecreasingSequence<E> sort(Comparator<? super E> comparator)
Sortablesort in interface Sortable<E>sort in interface XSettingSequence<E>sort in interface XSortableSequence<E>comparator - to sort this collectionCopyright © 2022 MicroStream Software. All rights reserved.