Collections.SortedMap

Functions

NameSignature and Synopsis
comparatorObject comparator ( Object map )
Returns the comparator used to order the keys in this map, or null if this map uses the Comparable natural ordering of its keys.
firstKeyObject firstKey ( Object map )
Returns the first (lowest) key currently in this map.
headMapObject headMap ( Object map, Object toKey )
Returns a view of the portion of this map whose keys are strictly less than toKey.
lastKeyObject lastKey (Object map )
Returns the last (highest) key currently in this map.
subMapObject subMap ( Object map, Object fromKey ,Object toKey )
Returns a view of the portion of this map whose keys range from fromKey, inclusive, to toKey, exclusive. (If fromKey and toKey are equal, the returned map is empty.)
tailMapObject tailMap ( Object map, Object fromKey )
Returns a view of the portion of this map whose keys are greater than or equal to fromKey.