bb.util
Class Unmodifiables.UnmodifiableSortedMap<K,V>
java.lang.Object
bb.util.Unmodifiables.UnmodifiableMap<K,V>
bb.util.Unmodifiables.UnmodifiableSortedMap<K,V>
- All Implemented Interfaces:
- Serializable, Map<K,V>, SortedMap<K,V>
- Enclosing class:
- Unmodifiables
static class Unmodifiables.UnmodifiableSortedMap<K,V>
- extends Unmodifiables.UnmodifiableMap<K,V>
- implements SortedMap<K,V>, Serializable
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class bb.util.Unmodifiables.UnmodifiableMap |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
sm
private final SortedMap<K,? extends V> sm
Unmodifiables.UnmodifiableSortedMap
Unmodifiables.UnmodifiableSortedMap(SortedMap<K,? extends V> m)
comparator
public Comparator<? super K> comparator()
- Specified by:
comparator
in interface SortedMap<K,V>
subMap
public SortedMap<K,V> subMap(K fromKey,
K toKey)
- Specified by:
subMap
in interface SortedMap<K,V>
headMap
public SortedMap<K,V> headMap(K toKey)
- Specified by:
headMap
in interface SortedMap<K,V>
tailMap
public SortedMap<K,V> tailMap(K fromKey)
- Specified by:
tailMap
in interface SortedMap<K,V>
firstKey
public K firstKey()
- Specified by:
firstKey
in interface SortedMap<K,V>
lastKey
public K lastKey()
- Specified by:
lastKey
in interface SortedMap<K,V>