All Methods Static Methods Instance Methods Abstract Methods Default Methods
| Modifier and Type |
Method and Description |
static <K,V> ImmutableTreeMap.Builder<K,V> |
builder() |
Option<Tuple2<K,V>> |
ceilingEntry(K key) |
default Option<K> |
ceilingKey(K key) |
static <K,V> ImmutableTreeMap<K,V> |
empty() |
static <K,V> Tuple2<K,V> |
entry(K key,
V value) |
default ImmutableTreeMap<K,V> |
filterKeys(Matcher1<K> filter) |
default ImmutableTreeMap<K,V> |
filterValues(Matcher1<V> filter) |
Option<Tuple2<K,V>> |
floorEntry(K key) |
default Option<K> |
floorKey(K key) |
static <K,V> ImmutableTreeMap<K,V> |
from(ImmutableSet<Tuple2<K,V>> entries) |
static <K,V> ImmutableTreeMap<K,V> |
from(java.util.NavigableMap<K,V> map) |
static <K,V> ImmutableTreeMap<K,V> |
from(java.util.stream.Stream<Tuple2<K,V>> entries) |
default V |
getOrDefault(K key,
Producer<V> supplier) |
Option<Tuple2<K,V>> |
headEntry() |
default Option<K> |
headKey() |
ImmutableTreeMap<K,V> |
headMap(K toKey) |
Option<Tuple2<K,V>> |
higherEntry(K key) |
default Option<K> |
higherKey(K key) |
default boolean |
isEmpty() |
Option<Tuple2<K,V>> |
lowerEntry(K key) |
default Option<K> |
lowerKey(K key) |
default <A,B> ImmutableTreeMap<A,B> |
map(Function1<K,A> keyMapper,
Function1<V,B> valueMapper) |
default <A> ImmutableTreeMap<A,V> |
mapKeys(Function1<K,A> mapper) |
default <A> ImmutableTreeMap<K,A> |
mapValues(Function1<V,A> mapper) |
ImmutableTreeMap<K,V> |
merge(K key,
V value,
Operator2<V> merger) |
static <K,V> ImmutableTreeMap<K,V> |
of(Tuple2<K,V>... entries) |
ImmutableTreeMap<K,V> |
put(K key,
V value) |
ImmutableTreeMap<K,V> |
putAll(ImmutableSet<Tuple2<K,V>> other) |
default ImmutableTreeMap<K,V> |
putIfAbsent(K key,
V value) |
ImmutableTreeMap<K,V> |
remove(K key) |
Option<Tuple2<K,V>> |
tailEntry() |
default Option<K> |
tailKey() |
ImmutableTreeMap<K,V> |
tailMap(K fromKey) |
java.util.NavigableMap<K,V> |
toNavigableMap() |