|
|||||||||
| Home >> All >> java >> [ util overview ] | PREV NEXT | ||||||||
Uses of Interface
java.util.SortedMap
| Uses of SortedMap in java.util |
| Classes in java.util that implement SortedMap | |
private static class |
Collections.SynchronizedSortedMap
The implementation of Collections.synchronizedSortedMap(SortedMap) 55 . |
private static class |
Collections.UnmodifiableSortedMap
The implementation of Collections.unmodifiableSortedMap(SortedMap) 55 . |
class |
TreeMap
This class provides a red-black tree implementation of the SortedMap interface. |
private class |
TreeMap.SubMap
Implementation of TreeMap.SubMap.subMap(Object, Object) 55 and other map
ranges. |
| Fields in java.util declared as SortedMap | |
private SortedMap |
Collections.SynchronizedSortedMap.sm
The wrapped map; stored both here and in the superclass to avoid excessive casting. |
private SortedMap |
Collections.UnmodifiableSortedMap.sm
The wrapped map; stored both here and in the superclass to avoid excessive casting. |
private SortedMap |
TreeSet.map
The SortedMap which backs this Set. |
| Methods in java.util that return SortedMap | |
static SortedMap |
Collections.synchronizedSortedMap(SortedMap m)
Returns a synchronized (thread-safe) sorted map wrapper backed by the given map. |
static SortedMap |
Collections.unmodifiableSortedMap(SortedMap m)
Returns an unmodifiable view of the given sorted map. |
SortedMap |
Collections.SynchronizedSortedMap.headMap(java.lang.Object toKey)
Returns a submap containing the keys from the first key (as returned by firstKey()) to
the key before that specified. |
SortedMap |
Collections.SynchronizedSortedMap.subMap(java.lang.Object fromKey,
java.lang.Object toKey)
Returns a submap containing the keys from fromKey to the key before toKey. |
SortedMap |
Collections.SynchronizedSortedMap.tailMap(java.lang.Object fromKey)
Returns a submap containing all the keys from fromKey onwards. |
SortedMap |
Collections.UnmodifiableSortedMap.headMap(java.lang.Object toKey)
Returns a unmodifiable view of the portion of the map strictly less than toKey. |
SortedMap |
Collections.UnmodifiableSortedMap.subMap(java.lang.Object fromKey,
java.lang.Object toKey)
Returns a unmodifiable view of the portion of the map greater than or equal to fromKey, and strictly less than toKey. |
SortedMap |
Collections.UnmodifiableSortedMap.tailMap(java.lang.Object fromKey)
Returns a unmodifiable view of the portion of the map greater than or equal to fromKey. |
SortedMap |
SortedMap.headMap(java.lang.Object toKey)
Returns a view of the portion of the map strictly less than toKey. |
SortedMap |
SortedMap.subMap(java.lang.Object fromKey,
java.lang.Object toKey)
Returns a view of the portion of the map greater than or equal to fromKey, and strictly less than toKey. |
SortedMap |
SortedMap.tailMap(java.lang.Object fromKey)
Returns a view of the portion of the map greater than or equal to fromKey. |
SortedMap |
TreeMap.headMap(java.lang.Object toKey)
Returns a view of this Map including all entries with keys less than toKey. |
SortedMap |
TreeMap.subMap(java.lang.Object fromKey,
java.lang.Object toKey)
Returns a view of this Map including all entries with keys greater or equal to fromKey and less than toKey (a
half-open interval). |
SortedMap |
TreeMap.tailMap(java.lang.Object fromKey)
Returns a view of this Map including all entries with keys greater or equal to fromKey. |
SortedMap |
TreeMap.SubMap.headMap(java.lang.Object toKey)
|
SortedMap |
TreeMap.SubMap.subMap(java.lang.Object fromKey,
java.lang.Object toKey)
|
SortedMap |
TreeMap.SubMap.tailMap(java.lang.Object fromKey)
|
| Methods in java.util with parameters of type SortedMap | |
static SortedMap |
Collections.synchronizedSortedMap(SortedMap m)
Returns a synchronized (thread-safe) sorted map wrapper backed by the given map. |
static SortedMap |
Collections.unmodifiableSortedMap(SortedMap m)
Returns an unmodifiable view of the given sorted map. |
| Constructors in java.util with parameters of type SortedMap | |
Collections.SynchronizedSortedMap(SortedMap sm)
Wrap a given map. |
|
Collections.SynchronizedSortedMap(java.lang.Object sync,
SortedMap sm)
Called only by trusted code to specify the mutex as well as the map. |
|
Collections.UnmodifiableSortedMap(SortedMap sm)
Wrap a given map. |
|
TreeMap(SortedMap sm)
Instantiate a new TreeMap, initializing it with all of the elements in the provided SortedMap. |
|
TreeSet(SortedMap backingMap)
This private constructor is used to implement the subSet() calls around a backing TreeMap.SubMap. |
|
|
|||||||||
| Home >> All >> java >> [ util overview ] | PREV NEXT | ||||||||