Home » openjdk-7 » java » util » [javadoc | source]
java.util
class: TreeMap.SubMap [javadoc | source]
java.lang.Object
   java.util.AbstractMap<K, V>
      java.util.TreeMap$SubMap

All Implemented Interfaces:
    SortedMap, Serializable, Map

This class exists solely for the sake of serialization compatibility with previous releases of TreeMap that did not support NavigableMap. It translates an old-version SubMap into a new-version AscendingSubMap. This class is never otherwise used.
Fields inherited from java.util.AbstractMap:
keySet,  values
Method from java.util.TreeMap$SubMap Summary:
comparator,   entrySet,   firstKey,   headMap,   lastKey,   subMap,   tailMap
Methods from java.util.AbstractMap:
clear,   clone,   containsKey,   containsValue,   entrySet,   equals,   get,   hashCode,   isEmpty,   keySet,   put,   putAll,   remove,   size,   toString,   values
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.util.TreeMap$SubMap Detail:
 public Comparator<? super K> comparator() 
 public Set<K, V> entrySet() 
 public K firstKey() 
 public SortedMap<K, V> headMap(K toKey) 
 public K lastKey() 
 public SortedMap<K, V> subMap(K fromKey,
    K toKey) 
 public SortedMap<K, V> tailMap(K fromKey)