E - the type of elements in this collectionpublic interface XBasicSequence<E> extends XCollection<E>, XPutGetSequence<E>, XProcessingSequence<E>
XSequence and XSortation. This is necessary because XSortation cannot provide
the otherwise typical sequence concerns like inserting and ordering due to the limitations of the characteristic
of being always sorted.| Modifier and Type | Interface and Description |
|---|---|
static interface |
XBasicSequence.Factory<E> |
XPuttingSequence.Creator<E>XPutGetCollection.Creator<E>| Modifier and Type | Method and Description |
|---|---|
XBasicSequence<E> |
addAll(E... elements) |
XBasicSequence<E> |
addAll(E[] elements,
int srcStartIndex,
int srcLength) |
XBasicSequence<E> |
addAll(XGettingCollection<? extends E> elements) |
XBasicSequence<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.
|
XBasicSequence<E> |
putAll(E... elements)
Adds the specified elements to this collection if it is not already present (optional operation).
|
XBasicSequence<E> |
putAll(E[] elements,
int srcStartIndex,
int srcLength)
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. |
XBasicSequence<E> |
putAll(XGettingCollection<? extends E> elements)
Adds the specified elements to this collection if it is not already present (optional operation).
|
XBasicSequence<E> |
toReversed()
Creates a new
XGettingSequence with the reversed order of elements. |
collectornullPut, putaccept, add, nullAddnullAllowedcurrentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacityisFull, maximumCapacity, remainingCapacitymoveSelection, pick, pop, removeAt, viewremoveRange, removeSelection, retainRangeat, copySelection, first, get, hasIndex, immure, indexBy, indexOf, isSorted, last, lastIndexBy, lastIndexOf, maxIndex, minIndex, peek, poll, range, scan, viewiterateIndexedfetch, iterate, moveTo, pinch, removeBy, removeDuplicates, retrieve, retrieveByprocessclear, consolidate, nullRemove, optimize, remove, removeAll, removeDuplicates, removeOne, retainAll, truncateXBasicSequence<E> putAll(E... elements)
XPuttingCollectionputAll in interface XCollection<E>putAll in interface XPutGetCollection<E>putAll in interface XPutGetSequence<E>putAll in interface XPuttingCollection<E>putAll in interface XPuttingSequence<E>elements - to addXBasicSequence<E> putAll(E[] elements, int srcStartIndex, int srcLength)
XPuttingCollectionputAll in interface XCollection<E>putAll in interface XPutGetCollection<E>putAll in interface XPutGetSequence<E>putAll in interface XPuttingCollection<E>putAll in interface XPuttingSequence<E>elements - to addsrcStartIndex - start index of elements-array to add to collectionsrcLength - length of elements-array to add to collectionXBasicSequence<E> putAll(XGettingCollection<? extends E> elements)
XPuttingCollectionputAll in interface XCollection<E>putAll in interface XPutGetCollection<E>putAll in interface XPutGetSequence<E>putAll in interface XPuttingCollection<E>putAll in interface XPuttingSequence<E>elements - to addXBasicSequence<E> addAll(E... elements)
addAll in interface XAddGetCollection<E>addAll in interface XAddingCollection<E>addAll in interface XAddingSequence<E>addAll in interface XCollection<E>addAll in interface XPutGetCollection<E>addAll in interface XPutGetSequence<E>XBasicSequence<E> addAll(E[] elements, int srcStartIndex, int srcLength)
addAll in interface XAddGetCollection<E>addAll in interface XAddingCollection<E>addAll in interface XAddingSequence<E>addAll in interface XCollection<E>addAll in interface XPutGetCollection<E>addAll in interface XPutGetSequence<E>XBasicSequence<E> addAll(XGettingCollection<? extends E> elements)
addAll in interface XAddGetCollection<E>addAll in interface XAddingCollection<E>addAll in interface XAddingSequence<E>addAll in interface XCollection<E>addAll in interface XPutGetCollection<E>addAll in interface XPutGetSequence<E>XBasicSequence<E> copy()
XGettingCollectioncopy in interface Copyablecopy in interface XAddGetCollection<E>copy in interface XCollection<E>copy in interface XGettingCollection<E>copy in interface XGettingSequence<E>copy in interface XPutGetCollection<E>copy in interface XPutGetSequence<E>XBasicSequence<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 XPutGetSequence<E>Copyright © 2022 MicroStream Software. All rights reserved.