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

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

Introduction

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

The text is from its open source code.

Field

intsize

Method

ImmutableMap>asMap()
Returns an immutable map that associates each key with its corresponding values in the multimap.
Builderbuilder()
Returns a new builder.
booleancontainsKey(@Nullable Object key)
ImmutableMultimapcopyOf(Multimap multimap)
Returns an immutable multimap containing the same mappings as multimap , in the "key-grouped" iteration order described in the class documentation.
ImmutableMultimapcopyOf( Iterable> entries)
Returns an immutable multimap containing the specified entries.
ImmutableCollection>entries()
Returns an immutable collection of all key-value pairs in the multimap.
ImmutableCollectionget(K key)
Returns an immutable collection of the values for the given key.
ClassgetClass()
Returns the runtime class of this Object .
ImmutableMultimapinverse()
Returns an immutable multimap which is the inverse of this one.
ImmutableSetkeySet()
Returns an immutable set of the distinct keys in this multimap, in the same order as they appear in this multimap.
ImmutableMultimapof(K k1, V v1)
Returns an immutable multimap containing a single entry.
ImmutableMultimapof()
Returns an empty multimap.
ImmutableMultimapof(K k1, V v1, K k2, V v2)
Returns an immutable multimap containing the given entries, in order.
ImmutableMultimapof(K k1, V v1, K k2, V v2, K k3, V v3)
Returns an immutable multimap containing the given entries, in the "key-grouped" insertion order described in the class documentation.
ImmutableMultimapof(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4)
Returns an immutable multimap containing the given entries, in the "key-grouped" insertion order described in the class documentation.
StringtoString()
Returns a string representation of the object.
ImmutableCollectionvalues()
Returns an immutable collection of the values in this multimap.