Java com.google.common.collect ImmutableSortedMap fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.collect ImmutableSortedMap fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.collect ImmutableSortedMap.

The text is from its open source code.

Field

Comparatorcomparator
ImmutableSortedSetkeySet

Method

booleancontainsKey(Object key)
Returns true if this map contains a mapping for the specified key.
ImmutableSortedMapcopyOf(Map map)
ImmutableSortedMapcopyOf( Iterable> entries)
ImmutableSortedMapcopyOf(Map map, Comparator comparator)
ImmutableSortedMapcopyOf( Iterable> entries, Comparator comparator)
ImmutableSortedMapcopyOfSorted(SortedMap map)
Set>entrySet()
Returns a Set view of the mappings contained in this map.
voidforEach(BiConsumer action)
Performs the given action for each entry in this map until all entries have been processed or the action throws an exception.
Vget(Object key)
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
ImmutableSortedMapheadMap(K toKey, boolean inclusive)
booleanisEmpty()
Returns true if this map contains no key-value mappings.
KlastKey()
BuildernaturalOrder()
ImmutableSortedMapof()
ImmutableSortedMapof(K k1, V v1)
ImmutableSortedMapof(K k1, V v1, K k2, V v2)
ImmutableSortedMapof(K k1, V v1, K k2, V v2, K k3, V v3)
ImmutableSortedMapof(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4)
ImmutableSortedMapof(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5)
BuilderorderedBy(Comparator comparator)
BuilderreverseOrder()
intsize()
Returns the number of key-value mappings in this map.
ImmutableSortedMapsubMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive)
ImmutableSortedMaptailMap(K fromKey, boolean inclusive)
StringtoString()
Returns a string representation of the object.
Collectionvalues()
Returns a Collection view of the values contained in this map.