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 interface
XPutGetSortation.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 newXGettingSequence
with the reversed order of elements.Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacity
Methods inherited from interface one.microstream.collections.interfaces.CapacityExtendable
currentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacity
Methods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
nullAllowed
Methods inherited from interface one.microstream.collections.interfaces.OptimizableCollection
optimize
Methods inherited from interface one.microstream.collections.types.XAddingCollection
accept, add, collector, nullAdd
Methods 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:XGettingSequence
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. 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:
copy
in interfaceCopyable
- Specified by:
copy
in interfaceXGettingCollection<E>
- Specified by:
copy
in interfaceXGettingSequence<E>
- Returns:
- a copy of this list
-
toReversed
XPutGetSortation<E> toReversed()Description copied from interface:XGettingSequence
Creates a newXGettingSequence
with the reversed order of elements.This method creates a new collection and does not change the existing collection.
- Specified by:
toReversed
in interfaceXGettingSequence<E>
- Returns:
- New copy of the collection
-
addAll
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXAddingSortation<E>
- Specified by:
addAll
in interfaceXPuttingSortation<E>
-
addAll
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXAddingSortation<E>
- Specified by:
addAll
in interfaceXPuttingSortation<E>
-
addAll
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXAddingSortation<E>
- Specified by:
addAll
in interfaceXPuttingSortation<E>
-
putAll
Description copied from interface:XPuttingCollection
Adds the specified elements to this collection if it is not already present (optional operation).- Specified by:
putAll
in interfaceXPuttingCollection<E>
- Specified by:
putAll
in interfaceXPuttingSequence<E>
- Specified by:
putAll
in interfaceXPuttingSortation<E>
- Parameters:
elements
- to add- Returns:
- this
-
putAll
Description copied from interface:XPuttingCollection
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.- Specified by:
putAll
in interfaceXPuttingCollection<E>
- Specified by:
putAll
in interfaceXPuttingSequence<E>
- Specified by:
putAll
in 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:XPuttingCollection
Adds the specified elements to this collection if it is not already present (optional operation).- Specified by:
putAll
in interfaceXPuttingCollection<E>
- Specified by:
putAll
in interfaceXPuttingSequence<E>
- Specified by:
putAll
in interfaceXPuttingSortation<E>
- Parameters:
elements
- to add- Returns:
- this
-