Interface XSortableEnum<E>
- All Superinterfaces:
CapacityCarrying,Copyable,ExtendedCollection<E>,ExtendedSequence<E>,Iterable<E>,Sized,Sortable<E>,XGettingCollection<E>,XGettingEnum<E>,XGettingSequence<E>,XGettingSet<E>,XIndexIterable<E>,XIterable<E>,XJoinable<E>,XOrderingEnum<E>,XOrderingSequence<E>,XSortableSequence<E>
- All Known Subinterfaces:
XDecreasingEnum<E>,XEnum<E>,XIncreasingEnum<E>,XReference<E>,XSettingEnum<E>,XTable<K,V>,XTable.Keys<K,V>
- All Known Implementing Classes:
EqHashEnum,EqHashTable,EqHashTable.Keys,HashEnum,HashTable,HashTable.Keys,LinkReference.Default,Single,Singleton
public interface XSortableEnum<E> extends XSortableSequence<E>, XGettingEnum<E>, XOrderingEnum<E>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXSortableEnum.Creator<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingSequence
XGettingSequence.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XIterable
XIterable.Executor<E> -
Method Summary
Modifier and Type Method Description XSortableEnum<E>copy()Creates a true copy of this list which references th same elements in the same order as this list does at the time the method is called.XSortableEnum<E>reverse()XSortableEnum<E>shiftBy(long sourceIndex, long distance)XSortableEnum<E>shiftBy(long sourceIndex, long distance, long length)XSortableEnum<E>shiftTo(long sourceIndex, long targetIndex)XSortableEnum<E>shiftTo(long sourceIndex, long targetIndex, long length)XSortableEnum<E>sort(Comparator<? super E> comparator)XSortableEnum<E>swap(long indexA, long indexB)XSortableEnum<E>swap(long indexA, long indexB, long length)XSortableEnum<E>toReversed()Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacityMethods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
nullAllowedMethods 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, unionMethods inherited from interface one.microstream.collections.types.XGettingEnum
immure, iterate, range, view, viewMethods inherited from interface one.microstream.collections.types.XGettingSequence
at, copySelection, first, get, hasIndex, immure, indexBy, indexOf, isSorted, last, lastIndexBy, lastIndexOf, maxIndex, minIndex, peek, poll, scan
-
Method Details
-
shiftTo
- Specified by:
shiftToin interfaceXOrderingEnum<E>- Specified by:
shiftToin interfaceXOrderingSequence<E>- Specified by:
shiftToin interfaceXSortableSequence<E>
-
shiftTo
- Specified by:
shiftToin interfaceXOrderingEnum<E>- Specified by:
shiftToin interfaceXOrderingSequence<E>- Specified by:
shiftToin interfaceXSortableSequence<E>
-
shiftBy
- Specified by:
shiftByin interfaceXOrderingEnum<E>- Specified by:
shiftByin interfaceXOrderingSequence<E>- Specified by:
shiftByin interfaceXSortableSequence<E>
-
shiftBy
- Specified by:
shiftByin interfaceXOrderingEnum<E>- Specified by:
shiftByin interfaceXOrderingSequence<E>- Specified by:
shiftByin interfaceXSortableSequence<E>
-
swap
- Specified by:
swapin interfaceXOrderingEnum<E>- Specified by:
swapin interfaceXOrderingSequence<E>- Specified by:
swapin interfaceXSortableSequence<E>
-
swap
- Specified by:
swapin interfaceXOrderingEnum<E>- Specified by:
swapin interfaceXOrderingSequence<E>- Specified by:
swapin interfaceXSortableSequence<E>
-
reverse
XSortableEnum<E> reverse()- Specified by:
reversein interfaceXOrderingEnum<E>- Specified by:
reversein interfaceXOrderingSequence<E>- Specified by:
reversein interfaceXSortableSequence<E>
-
copy
XSortableEnum<E> copy()Description copied from interface:XGettingSequenceCreates a true copy of this list which references th 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 interfaceXGettingEnum<E>- Specified by:
copyin interfaceXGettingSequence<E>- Specified by:
copyin interfaceXGettingSet<E>- Specified by:
copyin interfaceXSortableSequence<E>- Returns:
- a copy of this list
-
toReversed
XSortableEnum<E> toReversed()- Specified by:
toReversedin interfaceXGettingEnum<E>- Specified by:
toReversedin interfaceXGettingSequence<E>- Specified by:
toReversedin interfaceXSortableSequence<E>
-
sort
-