Package | Description |
---|---|
java.util |
Modifier and Type | Class and Description |
---|---|
class |
TreeMap
Implentation of a SortedMap based on tree-structure.
|
Modifier and Type | Method and Description |
---|---|
SortedMap |
SortedMap.headMap(Object toKey) |
SortedMap |
TreeMap.headMap(Object toV) |
SortedMap |
SortedMap.subMap(Object fromKey,
Object toKey) |
SortedMap |
TreeMap.subMap(Object fromV,
Object toV) |
static SortedMap |
Collections.synchronizedSortedMap(SortedMap map)
Returns a wrapper on the specified sorted map which synchronizes all
access to the sorted map.
|
SortedMap |
SortedMap.tailMap(Object fromKey) |
SortedMap |
TreeMap.tailMap(Object fromV) |
static SortedMap |
Collections.unmodifiableSortedMap(SortedMap map)
Returns a wrapper on the specified sorted map which throws an
UnsupportedOperationException whenever an attempt is made to
modify the sorted map. |
Modifier and Type | Method and Description |
---|---|
static SortedMap |
Collections.synchronizedSortedMap(SortedMap map)
Returns a wrapper on the specified sorted map which synchronizes all
access to the sorted map.
|
static SortedMap |
Collections.unmodifiableSortedMap(SortedMap map)
Returns a wrapper on the specified sorted map which throws an
UnsupportedOperationException whenever an attempt is made to
modify the sorted map. |
Constructor and Description |
---|
TreeMap(SortedMap s) |