Interface Sorted<E>
- Type Parameters:
E
-
- All Superinterfaces:
ExtendedCollection<E>
,ExtendedSequence<E>
- All Known Subinterfaces:
XAddingSortation<E>
,XChart<K,V>
,XChart.Keys<K,V>
,XGettingSortation<E>
,XLadder<E>
,XProcessingSortation<E>
,XPutGetSortation<E>
,XPuttingSortation<E>
,XRank<E>
,XRemovingSortation<E>
,XSortation<E>
public interface Sorted<E> extends ExtendedSequence<E>
Single concern type defining that a sub type is always sorted according to an internal
Comparator
.
This definition extends the definition of being ordered.
This type is mutually exclusive to Sortable
.
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.collections.interfaces.ExtendedCollection
ExtendedCollection.Creator<E,C extends ExtendedCollection<E>>
-
Method Summary
Modifier and Type Method Description Comparator<? super E>
getComparator()
Methods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
hasVolatileElements, nullAllowed
-
Method Details
-
getComparator
Comparator<? super E> getComparator()- Returns:
- the
Comparator
that defines the sorting order of thisSorted
instance.
-