tango.util.collection.model.SortedValues

interface SortedValues(T) : View!(T) #
ElementSorted is a mixin interface for Collections that are always in sorted order with respect to a Comparator held by the Collection.

ElementSorted Collections guarantee that enumerations appear in sorted order; that is if a and b are two Elements obtained in succession from elements().nextElement(), that

 comparator(a, b) <= 0.
 

Author:

Doug Lea @version 0.93

For an introduction to this package see Overview .

Comparator!(T) comparator() [public] #
Report the Comparator used for ordering