Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> ImmutableListMultimap.Builder<K,V> |
ImmutableListMultimap.builder()
Returns a new builder.
|
ImmutableListMultimap.Builder<K,V> |
ImmutableListMultimap.Builder.orderKeysBy(Comparator<? super K> keyComparator)
Specifies the ordering of the generated multimap's keys.
|
ImmutableListMultimap.Builder<K,V> |
ImmutableListMultimap.Builder.orderValuesBy(Comparator<? super V> valueComparator)
Specifies the ordering of the generated multimap's values for each key.
|
ImmutableListMultimap.Builder<K,V> |
ImmutableListMultimap.Builder.put(K key,
V value) |
ImmutableListMultimap.Builder<K,V> |
ImmutableListMultimap.Builder.put(Map.Entry<? extends K,? extends V> entry)
Adds an entry to the built multimap.
|
ImmutableListMultimap.Builder<K,V> |
ImmutableListMultimap.Builder.putAll(Iterable<? extends Map.Entry<? extends K,? extends V>> entries)
Adds entries to the built multimap.
|
ImmutableListMultimap.Builder<K,V> |
ImmutableListMultimap.Builder.putAll(K key,
Iterable<? extends V> values) |
ImmutableListMultimap.Builder<K,V> |
ImmutableListMultimap.Builder.putAll(K key,
V... values) |
ImmutableListMultimap.Builder<K,V> |
ImmutableListMultimap.Builder.putAll(Multimap<? extends K,? extends V> multimap) |
Copyright © 2010–2017. All rights reserved.