public interface XDecreasingList<E> extends XProcessingList<E>, XSettingList<E>, XDecreasingSequence<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 |
XDecreasingList.Creator<E> |
XProcessingList.Factory<E>XIterable.Executor<E>| Modifier and Type | Method and Description |
|---|---|
XDecreasingList<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.
|
XDecreasingList<E> |
fill(long offset,
long length,
E element)
Fills all slots from the offset to the offset+length with the given element,
regardless of whether or not a slot is
null. |
XDecreasingList<E> |
range(long fromIndex,
long toIndex) |
XDecreasingList<E> |
reverse()
Reverses the order of its own elements and returns itself.
|
XDecreasingList<E> |
set(long index,
E[] elements,
int offset,
int length) |
XDecreasingList<E> |
set(long index,
XGettingSequence<? extends E> elements,
long offset,
long length) |
XDecreasingList<E> |
setAll(long index,
E... elements) |
XDecreasingList<E> |
sort(Comparator<? super E> comparator)
Sorts this collection according to the given comparator
and returns itself.
|
XDecreasingList<E> |
swap(long indexA,
long indexB) |
XDecreasingList<E> |
swap(long indexA,
long indexB,
long length) |
XDecreasingList<E> |
toReversed()
Creates a new
XProcessingList with the reversed order of elements. |
immure, viewreplace, replace, replaceAll, replaceOne, replaceOne, substitutesubstituteimmure, listIterator, listIterator, old, view, viewmoveSelection, 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, shiftTonullAllowedXDecreasingList<E> setAll(long index, E... elements)
setAll in interface XDecreasingSequence<E>setAll in interface XSettingList<E>setAll in interface XSettingSequence<E>XDecreasingList<E> set(long index, E[] elements, int offset, int length)
set in interface XDecreasingSequence<E>set in interface XSettingList<E>set in interface XSettingSequence<E>XDecreasingList<E> set(long index, XGettingSequence<? extends E> elements, long offset, long length)
set in interface XDecreasingSequence<E>set in interface XSettingList<E>set in interface XSettingSequence<E>XDecreasingList<E> swap(long indexA, long indexB)
swap in interface XDecreasingSequence<E>swap in interface XOrderingSequence<E>swap in interface XSettingList<E>swap in interface XSettingSequence<E>swap in interface XSortableSequence<E>XDecreasingList<E> swap(long indexA, long indexB, long length)
swap in interface XDecreasingSequence<E>swap in interface XOrderingSequence<E>swap in interface XSettingList<E>swap in interface XSettingSequence<E>swap in interface XSortableSequence<E>XDecreasingList<E> copy()
XGettingSequencecopy in interface Copyablecopy in interface XDecreasingSequence<E>copy in interface XGettingBag<E>copy in interface XGettingCollection<E>copy in interface XGettingList<E>copy in interface XGettingSequence<E>copy in interface XProcessingBag<E>copy in interface XProcessingList<E>copy in interface XReplacingBag<E>copy in interface XSettingList<E>copy in interface XSettingSequence<E>copy in interface XSortableSequence<E>XDecreasingList<E> toReversed()
XProcessingListXProcessingList with the reversed order of elements.
This method creates a new collection and does not change the existing collection.
toReversed in interface XDecreasingSequence<E>toReversed in interface XGettingList<E>toReversed in interface XGettingSequence<E>toReversed in interface XProcessingList<E>toReversed in interface XProcessingSequence<E>toReversed in interface XSettingList<E>toReversed in interface XSettingSequence<E>toReversed in interface XSortableSequence<E>XDecreasingList<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 XDecreasingSequence<E>reverse in interface XOrderingSequence<E>reverse in interface XSettingList<E>reverse in interface XSettingSequence<E>reverse in interface XSortableSequence<E>XDecreasingList<E> range(long fromIndex, long toIndex)
range in interface XDecreasingSequence<E>range in interface XGettingList<E>range in interface XGettingSequence<E>range in interface XSettingList<E>range in interface XSettingSequence<E>XDecreasingList<E> fill(long offset, long length, E element)
XSettingListnull.fill in interface XSettingList<E>offset - from the start of the collection (start index)length - of how many slots should be filledelement - to use for filling of slotsXDecreasingList<E> sort(Comparator<? super E> comparator)
Sortablesort in interface Sortable<E>sort in interface XDecreasingSequence<E>sort in interface XSettingList<E>sort in interface XSettingSequence<E>sort in interface XSortableSequence<E>comparator - to sort this collectionCopyright © 2022 MicroStream Software. All rights reserved.