public interface SortedMap
GDK enhancements for SortedMap.
| Type Params | Return Type | Name and description |
|---|---|---|
<K, V> |
public SortedMap<K, V> |
asChecked(Class<K> keyType, Class<V> valueType)Creates a checked view of a SortedMap. |
<K, V> |
public SortedMap<K, V> |
asImmutable()A convenience method for creating an immutable SortedMap. |
<K, V> |
public SortedMap<K, V> |
asSynchronized()Creates a synchronized view of a SortedMap. |
<K, V> |
public SortedMap<K, V> |
asUnmodifiable()Creates an unmodifiable view of a SortedMap. |
<K, V> |
public SortedMap<K, V> |
sort()Avoids doing unnecessary work when sorting an already sorted map (i.e. an identity function for an already sorted map). |
<K, V> |
public Map<K, V> |
toSorted()Avoids doing unnecessary work when sorting an already sorted map |
Creates a checked view of a SortedMap.
A convenience method for creating an immutable SortedMap.
Creates a synchronized view of a SortedMap.
Creates an unmodifiable view of a SortedMap.
Avoids doing unnecessary work when sorting an already sorted map (i.e. an identity function for an already sorted map).
Avoids doing unnecessary work when sorting an already sorted map