E - type of contained elementspublic interface XBasicEnum<E> extends XSet<E>, XBasicSequence<E>, XPutGetEnum<E>, XProcessingEnum<E>
XList and XLadder. This is necessary because XLadder cannot provide
the otherwise typical list concerns like inserting, ordering, setting due to the limitations of the characteristic
of being always sorted.| Modifier and Type | Interface and Description |
|---|---|
static interface |
XBasicEnum.Creator<E> |
XSet.Factory<E>XBasicSequence.Factory<E>| Modifier and Type | Method and Description |
|---|---|
XBasicEnum<E> |
addAll(E... elements) |
XBasicEnum<E> |
addAll(E[] elements,
int srcStartIndex,
int srcLength) |
XBasicEnum<E> |
addAll(XGettingCollection<? extends E> elements) |
XBasicEnum<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.
|
XImmutableEnum<E> |
immure()
Provides an instance of an immutable collection type with equal behavior and data as this instance.
|
XBasicEnum<E> |
putAll(E... elements)
Adds the specified elements to this collection if it is not already present (optional operation).
|
XBasicEnum<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. |
XBasicEnum<E> |
putAll(XGettingCollection<? extends E> elements)
Adds the specified elements to this collection if it is not already present (optional operation).
|
XBasicEnum<E> |
toReversed()
Creates a new
XGettingSequence with the reversed order of elements. |
collectorputGet, replaceaddGet, deduplicatenullPut, putaccept, add, nullAddnullAllowedcurrentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacityisFull, maximumCapacity, remainingCapacityiterate, range, view, viewmoveSelection, pick, pop, removeAt, viewremoveRange, removeSelection, retainRangeat, copySelection, first, get, hasIndex, indexBy, indexOf, isSorted, last, lastIndexBy, lastIndexOf, maxIndex, minIndex, peek, poll, scaniterateIndexedfetch, moveTo, pinch, removeBy, removeDuplicates, retrieve, retrieveByprocessclear, consolidate, nullRemove, optimize, remove, removeAll, removeDuplicates, removeOne, retainAll, truncateXBasicEnum<E> putAll(E... elements)
XPuttingCollectionputAll in interface XBasicSequence<E>putAll in interface XCollection<E>putAll in interface XPutGetCollection<E>putAll in interface XPutGetEnum<E>putAll in interface XPutGetSequence<E>putAll in interface XPutGetSet<E>putAll in interface XPuttingCollection<E>putAll in interface XPuttingEnum<E>putAll in interface XPuttingSequence<E>putAll in interface XPuttingSet<E>putAll in interface XSet<E>elements - to addXBasicEnum<E> putAll(E[] elements, int srcStartIndex, int srcLength)
XPuttingCollectionputAll in interface XBasicSequence<E>putAll in interface XCollection<E>putAll in interface XPutGetCollection<E>putAll in interface XPutGetEnum<E>putAll in interface XPutGetSequence<E>putAll in interface XPutGetSet<E>putAll in interface XPuttingCollection<E>putAll in interface XPuttingEnum<E>putAll in interface XPuttingSequence<E>putAll in interface XPuttingSet<E>putAll in interface XSet<E>elements - to addsrcStartIndex - start index of elements-array to add to collectionsrcLength - length of elements-array to add to collectionXBasicEnum<E> putAll(XGettingCollection<? extends E> elements)
XPuttingCollectionputAll in interface XBasicSequence<E>putAll in interface XCollection<E>putAll in interface XPutGetCollection<E>putAll in interface XPutGetEnum<E>putAll in interface XPutGetSequence<E>putAll in interface XPutGetSet<E>putAll in interface XPuttingCollection<E>putAll in interface XPuttingEnum<E>putAll in interface XPuttingSequence<E>putAll in interface XPuttingSet<E>putAll in interface XSet<E>elements - to addXBasicEnum<E> addAll(E... elements)
addAll in interface XAddGetCollection<E>addAll in interface XAddGetSet<E>addAll in interface XAddingCollection<E>addAll in interface XAddingEnum<E>addAll in interface XAddingSequence<E>addAll in interface XAddingSet<E>addAll in interface XBasicSequence<E>addAll in interface XCollection<E>addAll in interface XPutGetCollection<E>addAll in interface XPutGetEnum<E>addAll in interface XPutGetSequence<E>addAll in interface XPutGetSet<E>addAll in interface XPuttingEnum<E>addAll in interface XPuttingSet<E>addAll in interface XSet<E>XBasicEnum<E> addAll(E[] elements, int srcStartIndex, int srcLength)
addAll in interface XAddGetCollection<E>addAll in interface XAddGetSet<E>addAll in interface XAddingCollection<E>addAll in interface XAddingEnum<E>addAll in interface XAddingSequence<E>addAll in interface XAddingSet<E>addAll in interface XBasicSequence<E>addAll in interface XCollection<E>addAll in interface XPutGetCollection<E>addAll in interface XPutGetEnum<E>addAll in interface XPutGetSequence<E>addAll in interface XPutGetSet<E>addAll in interface XPuttingEnum<E>addAll in interface XPuttingSet<E>addAll in interface XSet<E>XBasicEnum<E> addAll(XGettingCollection<? extends E> elements)
addAll in interface XAddGetCollection<E>addAll in interface XAddGetSet<E>addAll in interface XAddingCollection<E>addAll in interface XAddingEnum<E>addAll in interface XAddingSequence<E>addAll in interface XAddingSet<E>addAll in interface XBasicSequence<E>addAll in interface XCollection<E>addAll in interface XPutGetCollection<E>addAll in interface XPutGetEnum<E>addAll in interface XPutGetSequence<E>addAll in interface XPutGetSet<E>addAll in interface XPuttingEnum<E>addAll in interface XPuttingSet<E>addAll in interface XSet<E>XBasicEnum<E> copy()
XGettingCollectioncopy in interface Copyablecopy in interface XAddGetCollection<E>copy in interface XAddGetSet<E>copy in interface XBasicSequence<E>copy in interface XCollection<E>copy in interface XGettingCollection<E>copy in interface XGettingEnum<E>copy in interface XGettingSequence<E>copy in interface XGettingSet<E>copy in interface XProcessingEnum<E>copy in interface XProcessingSet<E>copy in interface XPutGetCollection<E>copy in interface XPutGetEnum<E>copy in interface XPutGetSequence<E>copy in interface XPutGetSet<E>copy in interface XSet<E>XBasicEnum<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 XBasicSequence<E>toReversed in interface XGettingEnum<E>toReversed in interface XGettingSequence<E>toReversed in interface XProcessingEnum<E>toReversed in interface XProcessingSequence<E>toReversed in interface XPutGetEnum<E>toReversed in interface XPutGetSequence<E>XImmutableEnum<E> immure()
XGettingCollectionIf this instance already is of an immutable collection type, it returns itself.
immure in interface XGettingCollection<E>immure in interface XGettingEnum<E>immure in interface XGettingSequence<E>immure in interface XGettingSet<E>immure in interface XProcessingSet<E>Copyright © 2022 MicroStream Software. All rights reserved.