Example usage for Java com.google.common.collect ImmutableSortedMap fields, constructors, methods, implement or subclass
The text is from its open source code.
Comparator | comparator |
ImmutableSortedSet | keySet |
boolean | containsKey(Object key) Returns true if this map contains a mapping for the specified key. |
ImmutableSortedMap | copyOf(Map extends K, ? extends V> map) |
ImmutableSortedMap | copyOf( Iterable extends Entry extends K, ? extends V>> entries) |
ImmutableSortedMap | copyOf(Map extends K, ? extends V> map, Comparator super K> comparator) |
ImmutableSortedMap | copyOf( Iterable extends Entry extends K, ? extends V>> entries, Comparator super K> comparator) |
ImmutableSortedMap | copyOfSorted(SortedMap |
Set | entrySet() Returns a Set view of the mappings contained in this map. |
void | forEach(BiConsumer super K, ? super V> action) Performs the given action for each entry in this map until all entries have been processed or the action throws an exception. |
V | get(Object key) Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. |
ImmutableSortedMap | headMap(K toKey, boolean inclusive) |
boolean | isEmpty() Returns true if this map contains no key-value mappings. |
K | lastKey() |
Builder | naturalOrder() |
ImmutableSortedMap | of() |
ImmutableSortedMap | of(K k1, V v1) |
ImmutableSortedMap | of(K k1, V v1, K k2, V v2) |
ImmutableSortedMap | of(K k1, V v1, K k2, V v2, K k3, V v3) |
ImmutableSortedMap | of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) |
ImmutableSortedMap | of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5) |
Builder | orderedBy(Comparator |
Builder | reverseOrder() |
int | size() Returns the number of key-value mappings in this map. |
ImmutableSortedMap | subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) |
ImmutableSortedMap | tailMap(K fromKey, boolean inclusive) |
String | toString() Returns a string representation of the object. |
Collection | values() Returns a Collection view of the values contained in this map. |