tango.util.collection.model.SortedKeys

interface SortedKeys(K, V) : View!(V) #
KeySorted is a mixin interface for Collections that are always in sorted order with respect to a Comparator held by the Collection.

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

 comparator(a, b) <= 0.
 

Author:

Doug Lea @version 0.93

For an introduction to this package see Overview .

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