Example usage for Java com.google.common.collect ImmutableMultimap fields, constructors, methods, implement or subclass
The text is from its open source code.
int | size |
ImmutableMap | asMap() Returns an immutable map that associates each key with its corresponding values in the multimap. |
Builder | builder() Returns a new builder. |
boolean | containsKey(@Nullable Object key) |
ImmutableMultimap | copyOf(Multimap extends K, ? extends V> multimap) Returns an immutable multimap containing the same mappings as multimap , in the "key-grouped" iteration order described in the class documentation. |
ImmutableMultimap | copyOf( Iterable extends Entry extends K, ? extends V>> entries) Returns an immutable multimap containing the specified entries. |
ImmutableCollection | entries() Returns an immutable collection of all key-value pairs in the multimap. |
ImmutableCollection | get(K key) Returns an immutable collection of the values for the given key. |
Class> | getClass() Returns the runtime class of this Object . |
ImmutableMultimap | inverse() Returns an immutable multimap which is the inverse of this one. |
ImmutableSet | keySet() Returns an immutable set of the distinct keys in this multimap, in the same order as they appear in this multimap. |
ImmutableMultimap | of(K k1, V v1) Returns an immutable multimap containing a single entry. |
ImmutableMultimap | of() Returns an empty multimap. |
ImmutableMultimap | of(K k1, V v1, K k2, V v2) Returns an immutable multimap containing the given entries, in order. |
ImmutableMultimap | of(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. |
ImmutableMultimap | of(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. |
String | toString() Returns a string representation of the object. |
ImmutableCollection | values() Returns an immutable collection of the values in this multimap. |