Interface XPutGetSortation<E>
- All Superinterfaces:
CapacityCarrying,CapacityExtendable,Consumer<E>,Copyable,ExtendedCollection<E>,ExtendedSequence<E>,Iterable<E>,OptimizableCollection,Sized,Sorted<E>,XAddingCollection<E>,XAddingSequence<E>,XAddingSortation<E>,XGettingCollection<E>,XGettingSequence<E>,XIndexIterable<E>,XIterable<E>,XJoinable<E>,XPuttingCollection<E>,XPuttingSequence<E>,XPuttingSortation<E>
- All Known Subinterfaces:
XChart.Keys<K,V>,XLadder<E>,XRank<E>,XSortation<E>
public interface XPutGetSortation<E> extends XGettingSequence<E>, XPuttingSortation<E>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXPutGetSortation.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.interfaces.ExtendedCollection
ExtendedCollection.Creator<E,C extends ExtendedCollection<E>>Nested classes/interfaces inherited from interface one.microstream.collections.types.XAddingSequence
XAddingSequence.Creator<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingCollection
XGettingCollection.Creator<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XIterable
XIterable.Executor<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XPuttingSequence
XPuttingSequence.Creator<E> -
Method Summary
Modifier and Type Method Description XPutGetSortation<E>addAll(E... elements)XPutGetSortation<E>addAll(E[] elements, int srcStartIndex, int srcLength)XPutGetSortation<E>addAll(XGettingCollection<? extends E> elements)XPutGetSortation<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.XPutGetSortation<E>putAll(E... elements)Adds the specified elements to this collection if it is not already present (optional operation).XPutGetSortation<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.XPutGetSortation<E>putAll(XGettingCollection<? extends E> elements)Adds the specified elements to this collection if it is not already present (optional operation).XPutGetSortation<E>toReversed()Creates a newXGettingSequencewith the reversed order of elements.Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacityMethods inherited from interface one.microstream.collections.interfaces.CapacityExtendable
currentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacityMethods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
nullAllowedMethods inherited from interface one.microstream.collections.interfaces.OptimizableCollection
optimizeMethods inherited from interface one.microstream.collections.types.XAddingCollection
accept, add, collector, nullAddMethods inherited from interface one.microstream.collections.types.XGettingCollection
applies, 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, union
-
Method Details
-
copy
XPutGetSortation<E> copy()Description copied from interface:XGettingSequenceCreates 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. The elements themselves are NOT copied (no deep copying).
The type of the returned list is the same as of this list if possible (i.e.: a SubList can not meaningful return a true copy that references its elements but still is a SubList)- Specified by:
copyin interfaceCopyable- Specified by:
copyin interfaceXGettingCollection<E>- Specified by:
copyin interfaceXGettingSequence<E>- Returns:
- a copy of this list
-
toReversed
XPutGetSortation<E> toReversed()Description copied from interface:XGettingSequenceCreates a newXGettingSequencewith the reversed order of elements.This method creates a new collection and does not change the existing collection.
- Specified by:
toReversedin interfaceXGettingSequence<E>- Returns:
- New copy of the collection
-
addAll
- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXAddingSortation<E>- Specified by:
addAllin interfaceXPuttingSortation<E>
-
addAll
- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXAddingSortation<E>- Specified by:
addAllin interfaceXPuttingSortation<E>
-
addAll
- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXAddingSortation<E>- Specified by:
addAllin interfaceXPuttingSortation<E>
-
putAll
Description copied from interface:XPuttingCollectionAdds the specified elements to this collection if it is not already present (optional operation).- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingSequence<E>- Specified by:
putAllin interfaceXPuttingSortation<E>- Parameters:
elements- to add- Returns:
- this
-
putAll
Description copied from interface:XPuttingCollectionAdds 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.- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingSequence<E>- Specified by:
putAllin interfaceXPuttingSortation<E>- Parameters:
elements- to addsrcStartIndex- start index of elements-array to add to collectionsrcLength- length of elements-array to add to collection- Returns:
- this
-
putAll
Description copied from interface:XPuttingCollectionAdds the specified elements to this collection if it is not already present (optional operation).- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingSequence<E>- Specified by:
putAllin interfaceXPuttingSortation<E>- Parameters:
elements- to add- Returns:
- this
-