K
- the key typeV
- the value typepublic interface ImmutableNavigableMap<K,V> extends ImmutableMap<K,V>, NavigableMap<K,V>
Modifier and Type | Method and Description |
---|---|
static <K extends Comparable<? super K>,V> |
empty() |
ImmutableNavigableMap<K,V> |
removed(K key) |
static <K extends Comparable<? super K>,V> |
singleton(K key,
V value) |
ImmutableNavigableMap<K,V> |
updated(K key,
V value) |
ceilingEntry, ceilingKey, descendingKeySet, descendingMap, firstEntry, floorEntry, floorKey, headMap, headMap, higherEntry, higherKey, lastEntry, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, subMap, subMap, tailMap, tailMap
comparator, entrySet, firstKey, keySet, lastKey, values
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size
static <K extends Comparable<? super K>,V> ImmutableNavigableMap<K,V> empty()
empty
in interface ImmutableMap<K,V>
K
- the key typeV
- the value typestatic <K extends Comparable<? super K>,V> ImmutableNavigableMap<K,V> singleton(K key, V value)
singleton
in interface ImmutableMap<K,V>
K
- the key typeV
- the value typekey
- the keyvalue
- the valueImmutableNavigableMap<K,V> updated(K key, V value)
updated
in interface ImmutableMap<K,V>
key
- the keyvalue
- the valueImmutableNavigableMap<K,V> removed(K key)
removed
in interface ImmutableMap<K,V>
key
- the key