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() |
static <K,V> ImmutableNavigableMap<K,V> |
empty(Comparator<? super K> comparator) |
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) |
fromceilingEntry, ceilingKey, descendingKeySet, descendingMap, firstEntry, floorEntry, floorKey, headMap, headMap, higherEntry, higherKey, lastEntry, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, subMap, subMap, tailMap, tailMapcomparator, entrySet, firstKey, keySet, lastKey, valuesclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, sizestatic <K extends Comparable<? super K>,V> ImmutableNavigableMap<K,V> empty()
empty in interface ImmutableMap<K,V>K - the key typeV - the value typestatic <K,V> ImmutableNavigableMap<K,V> empty(Comparator<? super K> comparator)
K - the key typeV - the value typecomparator - to decide the order of keysstatic <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