public interface XIncreasingList<E> extends XInputtingList<E>, XSettingList<E>, XIncreasingSequence<E>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
XIncreasingList.Creator<E> |
XInputtingList.Factory<E>Copyable.StaticXIterable.Executor<E>| Modifier and Type | Method and Description |
|---|---|
XIncreasingList<E> |
addAll(E... elements) |
XIncreasingList<E> |
addAll(E[] elements,
int offset,
int length) |
XIncreasingList<E> |
addAll(XGettingCollection<? extends E> elements) |
XIncreasingList<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.
|
XIncreasingList<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. |
XIncreasingList<E> |
prependAll(E... elements) |
XIncreasingList<E> |
prependAll(E[] elements,
int offset,
int length) |
XIncreasingList<E> |
prependAll(XGettingCollection<? extends E> elements) |
XIncreasingList<E> |
preputAll(E... elements) |
XIncreasingList<E> |
preputAll(E[] elements,
int offset,
int length) |
XIncreasingList<E> |
preputAll(XGettingCollection<? extends E> elements) |
XIncreasingList<E> |
putAll(E... elements)
Adds the specified elements to this collection if it is not already present (optional operation).
|
XIncreasingList<E> |
putAll(E[] elements,
int offset,
int length)
Adds the specified elements to this collection if it is not already present (optional operation).
Only the elements with indizes from the srcStartIndex to the srcStartIndex+srcLength are put in the collection. |
XIncreasingList<E> |
putAll(XGettingCollection<? extends E> elements)
Adds the specified elements to this collection if it is not already present (optional operation).
|
XIncreasingList<E> |
range(long fromIndex,
long toIndex) |
XIncreasingList<E> |
reverse()
Reverses the order of its own elements and returns itself.
|
XIncreasingList<E> |
set(long index,
E[] elements,
int offset,
int length) |
XIncreasingList<E> |
set(long index,
XGettingSequence<? extends E> elements,
long offset,
long length) |
XIncreasingList<E> |
setAll(long index,
E... elements) |
XIncreasingList<E> |
sort(Comparator<? super E> comparator)
Sorts this collection according to the given comparator
and returns itself.
|
XIncreasingList<E> |
swap(long indexA,
long indexB) |
XIncreasingList<E> |
swap(long indexA,
long indexB,
long length) |
XIncreasingList<E> |
toReversed()
Creates a new
XGettingSequence with the reversed order of elements. |
replace, replace, replaceAll, replaceOne, replaceOne, substitutesubstituteset, setFirst, setGet, setLastshiftBy, shiftBy, shiftTo, shiftToat, copySelection, first, hasIndex, 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, intersect, intSize, max, min, nullContained, old, search, seek, size, toArray, toArray, unionforEach, spliteratoriterateIndexedimmure, listIterator, listIterator, old, view, viewinput, inputAll, inputAll, inputAll, nullInputinsert, insertAll, insertAll, insertAll, nullInsertnullPut, putaccept, add, collector, nullAddcurrentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacityisFull, maximumCapacity, remainingCapacityoptimizenullPreput, preputnullPrepend, prependnullAllowedsortIfApplicableXIncreasingList<E> addAll(E... elements)
addAll in interface XAddingBag<E>addAll in interface XAddingCollection<E>addAll in interface XAddingList<E>addAll in interface XAddingSequence<E>addAll in interface XExpandingList<E>addAll in interface XExpandingSequence<E>addAll in interface XExtendingList<E>addAll in interface XExtendingSequence<E>addAll in interface XIncreasingSequence<E>addAll in interface XInputtingList<E>addAll in interface XInputtingSequence<E>addAll in interface XInsertingSequence<E>addAll in interface XPuttingBag<E>addAll in interface XPuttingList<E>XIncreasingList<E> addAll(E[] elements, int offset, int length)
addAll in interface XAddingBag<E>addAll in interface XAddingCollection<E>addAll in interface XAddingList<E>addAll in interface XAddingSequence<E>addAll in interface XExpandingList<E>addAll in interface XExpandingSequence<E>addAll in interface XExtendingList<E>addAll in interface XExtendingSequence<E>addAll in interface XIncreasingSequence<E>addAll in interface XInputtingList<E>addAll in interface XInputtingSequence<E>addAll in interface XInsertingSequence<E>addAll in interface XPuttingBag<E>addAll in interface XPuttingList<E>XIncreasingList<E> addAll(XGettingCollection<? extends E> elements)
addAll in interface XAddingBag<E>addAll in interface XAddingCollection<E>addAll in interface XAddingList<E>addAll in interface XAddingSequence<E>addAll in interface XExpandingList<E>addAll in interface XExpandingSequence<E>addAll in interface XExtendingList<E>addAll in interface XExtendingSequence<E>addAll in interface XIncreasingSequence<E>addAll in interface XInputtingList<E>addAll in interface XInputtingSequence<E>addAll in interface XInsertingSequence<E>addAll in interface XPuttingBag<E>addAll in interface XPuttingList<E>XIncreasingList<E> putAll(E... elements)
XPuttingCollectionputAll in interface XExpandingList<E>putAll in interface XExpandingSequence<E>putAll in interface XIncreasingSequence<E>putAll in interface XInputtingList<E>putAll in interface XInputtingSequence<E>putAll in interface XPuttingBag<E>putAll in interface XPuttingCollection<E>putAll in interface XPuttingList<E>putAll in interface XPuttingSequence<E>elements - to addXIncreasingList<E> putAll(E[] elements, int offset, int length)
XPuttingCollectionputAll in interface XExpandingList<E>putAll in interface XExpandingSequence<E>putAll in interface XIncreasingSequence<E>putAll in interface XInputtingList<E>putAll in interface XInputtingSequence<E>putAll in interface XPuttingBag<E>putAll in interface XPuttingCollection<E>putAll in interface XPuttingList<E>putAll in interface XPuttingSequence<E>elements - to addoffset - start index of elements-array to add to collectionlength - length of elements-array to add to collectionXIncreasingList<E> putAll(XGettingCollection<? extends E> elements)
XPuttingCollectionputAll in interface XExpandingList<E>putAll in interface XExpandingSequence<E>putAll in interface XIncreasingSequence<E>putAll in interface XInputtingList<E>putAll in interface XInputtingSequence<E>putAll in interface XPuttingBag<E>putAll in interface XPuttingCollection<E>putAll in interface XPuttingList<E>putAll in interface XPuttingSequence<E>elements - to addXIncreasingList<E> prependAll(E... elements)
prependAll in interface XExpandingList<E>prependAll in interface XExpandingSequence<E>prependAll in interface XExtendingList<E>prependAll in interface XExtendingSequence<E>prependAll in interface XIncreasingSequence<E>prependAll in interface XInputtingList<E>prependAll in interface XInputtingSequence<E>prependAll in interface XInsertingSequence<E>prependAll in interface XPrependingList<E>prependAll in interface XPrependingSequence<E>prependAll in interface XPreputtingList<E>prependAll in interface XPreputtingSequence<E>XIncreasingList<E> prependAll(E[] elements, int offset, int length)
prependAll in interface XExpandingList<E>prependAll in interface XExpandingSequence<E>prependAll in interface XExtendingList<E>prependAll in interface XExtendingSequence<E>prependAll in interface XIncreasingSequence<E>prependAll in interface XInputtingList<E>prependAll in interface XInputtingSequence<E>prependAll in interface XInsertingSequence<E>prependAll in interface XPrependingList<E>prependAll in interface XPrependingSequence<E>prependAll in interface XPreputtingList<E>prependAll in interface XPreputtingSequence<E>XIncreasingList<E> prependAll(XGettingCollection<? extends E> elements)
prependAll in interface XExpandingList<E>prependAll in interface XExpandingSequence<E>prependAll in interface XExtendingList<E>prependAll in interface XExtendingSequence<E>prependAll in interface XIncreasingSequence<E>prependAll in interface XInputtingList<E>prependAll in interface XInputtingSequence<E>prependAll in interface XInsertingSequence<E>prependAll in interface XPrependingList<E>prependAll in interface XPrependingSequence<E>prependAll in interface XPreputtingList<E>prependAll in interface XPreputtingSequence<E>XIncreasingList<E> preputAll(E... elements)
preputAll in interface XExpandingList<E>preputAll in interface XExpandingSequence<E>preputAll in interface XIncreasingSequence<E>preputAll in interface XInputtingList<E>preputAll in interface XInputtingSequence<E>preputAll in interface XPreputtingList<E>preputAll in interface XPreputtingSequence<E>XIncreasingList<E> preputAll(E[] elements, int offset, int length)
preputAll in interface XExpandingList<E>preputAll in interface XExpandingSequence<E>preputAll in interface XIncreasingSequence<E>preputAll in interface XInputtingList<E>preputAll in interface XInputtingSequence<E>preputAll in interface XPreputtingList<E>preputAll in interface XPreputtingSequence<E>XIncreasingList<E> preputAll(XGettingCollection<? extends E> elements)
preputAll in interface XExpandingList<E>preputAll in interface XExpandingSequence<E>preputAll in interface XIncreasingSequence<E>preputAll in interface XInputtingList<E>preputAll in interface XInputtingSequence<E>preputAll in interface XPreputtingList<E>preputAll in interface XPreputtingSequence<E>XIncreasingList<E> setAll(long index, E... elements)
setAll in interface XSettingList<E>setAll in interface XSettingSequence<E>XIncreasingList<E> set(long index, E[] elements, int offset, int length)
set in interface XSettingList<E>set in interface XSettingSequence<E>XIncreasingList<E> set(long index, XGettingSequence<? extends E> elements, long offset, long length)
set in interface XSettingList<E>set in interface XSettingSequence<E>XIncreasingList<E> swap(long indexA, long indexB)
swap in interface XIncreasingSequence<E>swap in interface XOrderingSequence<E>swap in interface XSettingList<E>swap in interface XSettingSequence<E>swap in interface XSortableSequence<E>XIncreasingList<E> swap(long indexA, long indexB, long length)
swap in interface XIncreasingSequence<E>swap in interface XOrderingSequence<E>swap in interface XSettingList<E>swap in interface XSettingSequence<E>swap in interface XSortableSequence<E>XIncreasingList<E> copy()
XGettingCollectioncopy in interface Copyablecopy in interface XGettingBag<E>copy in interface XGettingCollection<E>copy in interface XGettingList<E>copy in interface XGettingSequence<E>copy in interface XIncreasingSequence<E>copy in interface XReplacingBag<E>copy in interface XSettingList<E>copy in interface XSettingSequence<E>copy in interface XSortableSequence<E>XIncreasingList<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 XGettingList<E>toReversed in interface XGettingSequence<E>toReversed in interface XIncreasingSequence<E>toReversed in interface XSettingList<E>toReversed in interface XSettingSequence<E>toReversed in interface XSortableSequence<E>XIncreasingList<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 XIncreasingSequence<E>reverse in interface XOrderingSequence<E>reverse in interface XSettingList<E>reverse in interface XSettingSequence<E>reverse in interface XSortableSequence<E>XIncreasingList<E> range(long fromIndex, long toIndex)
range in interface XGettingList<E>range in interface XGettingSequence<E>range in interface XIncreasingSequence<E>range in interface XSettingList<E>range in interface XSettingSequence<E>XIncreasingList<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 slotsXIncreasingList<E> sort(Comparator<? super E> comparator)
Sortablesort in interface Sortable<E>sort in interface XIncreasingSequence<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.