Interface XGettingSortation<E>
- All Superinterfaces:
CapacityCarrying
,Copyable
,ExtendedCollection<E>
,ExtendedSequence<E>
,Iterable<E>
,Sized
,Sorted<E>
,XGettingCollection<E>
,XGettingSequence<E>
,XIndexIterable<E>
,XIterable<E>
,XJoinable<E>
- All Known Subinterfaces:
XChart.Keys<K,V>
,XLadder<E>
,XProcessingSortation<E>
,XRank<E>
,XSortation<E>
public interface XGettingSortation<E> extends XGettingSequence<E>, Sorted<E>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
XGettingSortation.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.XGettingCollection
XGettingCollection.Creator<E>
Nested classes/interfaces inherited from interface one.microstream.collections.types.XIterable
XIterable.Executor<E>
-
Method Summary
Modifier and Type Method Description XGettingSortation<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.XGettingSortation<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.ExtendedCollection
nullAllowed
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
XGettingSortation<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
XGettingSortation<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
-