NavigableMap.
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Map. | ceilingEntry(K
the key key)Implements java. null if
there is no such key.
|
| public K | ceilingKey(K
the key key)Implements java. null if there is no such key.
|
| pack-priv abstract Iterator | |
| public NavigableSet | descendingKeySet()
Implements java. NavigableSet view of the keys contained in this map.
|
| public NavigableMap | descendingMap()
Implements java. |
| public Map. | firstEntry()
Implements java. null if the map is empty.
|
| public K | firstKey()
Implements java. |
| public Map. | floorEntry(K
the key key)Implements java. null if there
is no such key.
|
| public K | floorKey(K
the key key)Implements java. null if there is no such key.
|
| public abstract V | get(Object
the key whose associated value is to be returned key)Redeclares java. Overrides java. null if this map contains no mapping for the key.
|
| public SortedMap | headMap(K
high endpoint (exclusive) of the keys in the returned map toKey)Implements java. toKey.
|
| public Map. | higherEntry(K
the key key)Implements java. null if there
is no such key.
|
| public K | higherKey(K
the key key)Implements java. null if there is no such key.
|
| public Set | keySet()
Overrides java. Implements java. Set view of the keys contained in this map.
|
| public Map. | lastEntry()
Implements java. null if the map is empty.
|
| public K | lastKey()
Implements java. |
| public Map. | lowerEntry(K
the key key)Implements java. null if there is
no such key.
|
| public K | lowerKey(K
the key key)Implements java. null if there is no such key.
|
| public NavigableSet | navigableKeySet()
Implements java. NavigableSet view of the keys contained in this map.
|
| public Map. | pollFirstEntry()
Implements java. null if the map is empty.
|
| public Map. | pollLastEntry()
Implements java. null if the map is empty.
|
| public SortedMap | subMap(K
low endpoint (inclusive) of the keys in the returned map fromKey, K high endpoint (exclusive) of the keys in the returned map toKey)Implements java. fromKey, inclusive, to toKey, exclusive.
|
| public SortedMap | tailMap(K
low endpoint (inclusive) of the keys in the returned map fromKey)Implements java. fromKey.
|
| AbstractNavigableMap | back to summary |
|---|---|
| pack-priv AbstractNavigableMap() | |
| ceilingEntry | back to summary |
|---|---|
| public Map. Implements java. Doc from java. Returns a key-value mapping associated with the least key
greater than or equal to the given key, or | |
| ceilingKey | back to summary |
|---|---|
| public K ceilingKey(K key) Implements java. Doc from java. Returns the least key greater than or equal to the given key,
or
| |
| descendingEntryIterator | back to summary |
|---|---|
| pack-priv abstract Iterator | |
| descendingKeySet | back to summary |
|---|---|
| public NavigableSet Implements java. Doc from java. Returns a reverse order
| |
| descendingMap | back to summary |
|---|---|
| public NavigableMap Implements java. Doc from java. Returns a reverse order view of the mappings contained in this map.
The descending map is backed by this map, so changes to the map are
reflected in the descending map, and vice-versa. If either map is
modified while an iteration over a collection view of either map
is in progress (except through the iterator's own The returned map has an ordering equivalent to
| |
| firstEntry | back to summary |
|---|---|
| public Map. Implements java. Doc from java. Returns a key-value mapping associated with the least
key in this map, or | |
| firstKey | back to summary |
|---|---|
| public K firstKey() Implements java. Doc from java. Returns the first (lowest) key currently in this map.
| |
| floorEntry | back to summary |
|---|---|
| public Map. Implements java. Doc from java. Returns a key-value mapping associated with the greatest key
less than or equal to the given key, or | |
| floorKey | back to summary |
|---|---|
| public K floorKey(K key) Implements java. Doc from java. Returns the greatest key less than or equal to the given key,
or
| |
| get | back to summary |
|---|---|
| public abstract V get(Object key) Redeclares java. Overrides java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
If this map permits null values, then a return value of
| |
| headMap | back to summary |
|---|---|
| public SortedMap Implements java. Doc from java. Returns a view of the portion of this map whose keys are
strictly less than The returned map will throw an Equivalent to
| |
| higherEntry | back to summary |
|---|---|
| public Map. Implements java. Doc from java. Returns a key-value mapping associated with the least key
strictly greater than the given key, or | |
| higherKey | back to summary |
|---|---|
| public K higherKey(K key) Implements java. Doc from java. Returns the least key strictly greater than the given key, or
| |
| keySet | back to summary |
|---|---|
| public Set Overrides java. Implements java. Doc from java. Returns a | |
| lastEntry | back to summary |
|---|---|
| public Map. Implements java. Doc from java. Returns a key-value mapping associated with the greatest
key in this map, or | |
| lastKey | back to summary |
|---|---|
| public K lastKey() Implements java. Doc from java. Returns the last (highest) key currently in this map.
| |
| lowerEntry | back to summary |
|---|---|
| public Map. Implements java. Doc from java. Returns a key-value mapping associated with the greatest key
strictly less than the given key, or | |
| lowerKey | back to summary |
|---|---|
| public K lowerKey(K key) Implements java. Doc from java. Returns the greatest key strictly less than the given key, or
| |
| navigableKeySet | back to summary |
|---|---|
| public NavigableSet Implements java. Doc from java. Returns a
| |
| pollFirstEntry | back to summary |
|---|---|
| public Map. Implements java. Doc from java. Removes and returns a key-value mapping associated with
the least key in this map, or | |
| pollLastEntry | back to summary |
|---|---|
| public Map. Implements java. Doc from java. Removes and returns a key-value mapping associated with
the greatest key in this map, or | |
| subMap | back to summary |
|---|---|
| public SortedMap Implements java. Doc from java. Returns a view of the portion of this map whose keys range from
The returned map will throw an Equivalent to
| |
| tailMap | back to summary |
|---|---|
| public SortedMap Implements java. Doc from java. Returns a view of the portion of this map whose keys are
greater than or equal to The returned map will throw an Equivalent to
| |