| Package | Description |
|---|---|
| java.util |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> SortedMap<K,V> |
Collections.checkedSortedMap(SortedMap<K,V> m,
Class<K> keyType,
Class<V> valueType)
Returns a dynamically typesafe view of the specified sorted map.
|
SortedMap<K,V> |
SortedMap.headMap(K toKey)
Returns a view of the portion of this map whose keys are
strictly less than
toKey. |
SortedMap<K,V> |
SortedMap.subMap(K fromKey,
K toKey)
Returns a view of the portion of this map whose keys range from
fromKey, inclusive, to toKey, exclusive. |
static <K,V> SortedMap<K,V> |
Collections.synchronizedSortedMap(SortedMap<K,V> m)
Returns a synchronized (thread-safe) sorted map backed by the specified
sorted map.
|
SortedMap<K,V> |
SortedMap.tailMap(K fromKey)
Returns a view of the portion of this map whose keys are
greater than or equal to
fromKey. |
static <K,V> SortedMap<K,V> |
Collections.unmodifiableSortedMap(SortedMap<K,? extends V> m)
Returns an unmodifiable view of the specified sorted map.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> SortedMap<K,V> |
Collections.checkedSortedMap(SortedMap<K,V> m,
Class<K> keyType,
Class<V> valueType)
Returns a dynamically typesafe view of the specified sorted map.
|
static <K,V> SortedMap<K,V> |
Collections.synchronizedSortedMap(SortedMap<K,V> m)
Returns a synchronized (thread-safe) sorted map backed by the specified
sorted map.
|
static <K,V> SortedMap<K,V> |
Collections.unmodifiableSortedMap(SortedMap<K,? extends V> m)
Returns an unmodifiable view of the specified sorted map.
|
Copyright © 2013 API Design. All Rights Reserved.