|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Nullable | |
|---|---|
| com.google.common.base | Miscellaneous common util classes and annotations. |
| com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
| Uses of Nullable in com.google.common.base |
|---|
| Method parameters in com.google.common.base with annotations of type Nullable | ||
|---|---|---|
T |
Function.apply(F from)
Applies the function to an object of type F, resulting in an object
of type T. |
|
boolean |
Predicate.apply(T t)
Applies this predicate to the given object. |
|
static
|
Functions.constant(E value)
Returns a Function that returns value for any input. |
|
static boolean |
Objects.deepEquals(java.lang.Object o1,
java.lang.Object o2)
Determines if two objects are equal as determined by Object.equals(Object), or "deeply equal" if both are arrays. |
|
static boolean |
Objects.deepEquals(java.lang.Object o1,
java.lang.Object o2)
Determines if two objects are equal as determined by Object.equals(Object), or "deeply equal" if both are arrays. |
|
static int |
Objects.deepHashCode(java.lang.Object o)
Gets hash code of an object, optionally returns hash code based on the "deep contents" of array if the object is an array. |
|
static java.lang.String |
Objects.deepToString(java.lang.Object o)
Gets string representation of an object, or the "deep content" of the array if the o is an array. |
|
static boolean |
Objects.equal(java.lang.Object a,
java.lang.Object b)
Determines whether two possibly-null objects are equal. |
|
static boolean |
Objects.equal(java.lang.Object a,
java.lang.Object b)
Determines whether two possibly-null objects are equal. |
|
static
|
Objects.firstNonNull(T first,
T second)
Returns the first of the given parameters that is not null if any,
or otherwise throws NullPointerException. |
|
static
|
Objects.firstNonNull(T first,
T second)
Returns the first of the given parameters that is not null if any,
or otherwise throws NullPointerException. |
|
static
|
Functions.forMap(java.util.Map<? super A,? extends B> map,
B defaultValue)
Returns a function which performs key-to-value lookup on map. |
|
static
|
Predicates.isEqualTo(T target)
Returns a predicate that evaluates to true iff the object being
tested equals() the given target or if both are null. |
|
static Predicate<java.lang.Object> |
Predicates.isSameAs(java.lang.Object target)
Returns a predicate that evaluates to true iff the object being
tested refers to the same object as the given target. |
|
static java.lang.String |
Join.join(java.lang.String delimiter,
java.lang.Object firstToken,
java.lang.Object... otherTokens)
Variant of Join.join(String,Iterable) for tokens given using varargs. |
|
static
|
Join.join(T appendable,
java.lang.String delimiter,
java.lang.Object firstToken,
java.lang.Object... otherTokens)
Variant of Join.join(Appendable,String,Iterator) for tokens given using
varargs. |
|
static
|
Suppliers.ofInstance(T instance)
Returns a Supplier that always supplies instance. |
|
| Uses of Nullable in com.google.common.collect |
|---|
| Method parameters in com.google.common.collect with annotations of type Nullable | ||
|---|---|---|
boolean |
AbstractMultiset.add(E element)
Adds a single occurrence of the specified element to this multiset. |
|
static
|
Lists.asList(E first,
E[] rest)
Returns an unmodifiable list containing the specified first element and backed by the specified array of additional elements. |
|
static
|
Lists.asList(E first,
E second,
E[] rest)
Returns an unmodifiable list containing the specified first and second element, and backed by the specified array of additional elements. |
|
static
|
Lists.asList(E first,
E second,
E[] rest)
Returns an unmodifiable list containing the specified first and second element, and backed by the specified array of additional elements. |
|
void |
MapConstraint.checkKeyValue(K key,
V value)
Throws a suitable RuntimeException if the specified key or value is
illegal. |
|
void |
MapConstraint.checkKeyValue(K key,
V value)
Throws a suitable RuntimeException if the specified key or value is
illegal. |
|
boolean |
ImmutableCollection.contains(java.lang.Object object)
|
|
boolean |
AbstractMultiset.contains(java.lang.Object element)
Determines whether this multiset contains the specified element. |
|
boolean |
Multiset.contains(java.lang.Object element)
Determines whether this multiset contains the specified element. |
|
static boolean |
Maps.containsEntry(java.util.Map<?,?> map,
java.lang.Object key,
java.lang.Object value)
Returns true if map contains an entry mapping key
to value. |
|
static boolean |
Maps.containsEntry(java.util.Map<?,?> map,
java.lang.Object key,
java.lang.Object value)
Returns true if map contains an entry mapping key
to value. |
|
boolean |
LinkedListMultimap.containsEntry(java.lang.Object key,
java.lang.Object value)
|
|
boolean |
LinkedListMultimap.containsEntry(java.lang.Object key,
java.lang.Object value)
|
|
boolean |
ForwardingMultimap.containsEntry(java.lang.Object key,
java.lang.Object value)
|
|
boolean |
ForwardingMultimap.containsEntry(java.lang.Object key,
java.lang.Object value)
|
|
boolean |
Multimap.containsEntry(java.lang.Object key,
java.lang.Object value)
Returns true if the multimap contains the specified key-value pair. |
|
boolean |
Multimap.containsEntry(java.lang.Object key,
java.lang.Object value)
Returns true if the multimap contains the specified key-value pair. |
|
protected static boolean |
ForwardingCollection.containsImpl(java.util.Collection<?> c,
java.lang.Object o)
Returns true if the specified collection c contains the element
o. |
|
abstract boolean |
ImmutableMap.containsKey(java.lang.Object key)
|
|
boolean |
LinkedListMultimap.containsKey(java.lang.Object key)
|
|
boolean |
ForwardingMultimap.containsKey(java.lang.Object key)
|
|
boolean |
Multimap.containsKey(java.lang.Object key)
Returns true if the multimap contains any values for the specified
key. |
|
abstract boolean |
ImmutableMap.containsValue(java.lang.Object value)
|
|
boolean |
LinkedListMultimap.containsValue(java.lang.Object value)
|
|
boolean |
ForwardingMultimap.containsValue(java.lang.Object value)
|
|
boolean |
Multimap.containsValue(java.lang.Object value)
Returns true if the multimap contains the specified value for any
key. |
|
int |
ConcurrentMultiset.count(java.lang.Object element)
Returns the number of occurrences of element in this multiset. |
|
int |
Multiset.count(java.lang.Object element)
Returns the number of occurrences of an element in this multiset (the count of the element). |
|
boolean |
ForwardingMultimap.equals(java.lang.Object obj)
|
|
boolean |
AbstractMultiset.equals(java.lang.Object other)
Compares the specified object with this multiset for equality. |
|
boolean |
SetMultimap.equals(java.lang.Object obj)
Compares the specified object to this multimap for equality. |
|
boolean |
ListMultimap.equals(java.lang.Object obj)
Compares the specified object to this multimap for equality. |
|
boolean |
Multimap.equals(java.lang.Object obj)
Compares the specified object with this multimap for equality. |
|
boolean |
Multiset.equals(java.lang.Object object)
Compares the specified object with this multiset for equality. |
|
V |
EnumHashBiMap.forcePut(K key,
V value)
|
|
V |
HashBiMap.forcePut(K key,
V value)
|
|
V |
HashBiMap.forcePut(K key,
V value)
|
|
static int |
Iterables.frequency(java.lang.Iterable<?> iterable,
java.lang.Object element)
Returns the number of elements in the specified iterable that equal the specified object. |
|
static int |
Iterators.frequency(java.util.Iterator<?> iterator,
java.lang.Object element)
Returns the number of elements in the specified iterator that equal the specified object. |
|
java.util.List<V> |
LinkedListMultimap.get(K key)
Returns a collection view of all values associated with a key. |
|
java.util.Collection<V> |
ForwardingMultimap.get(K key)
|
|
java.util.SortedSet<V> |
SortedSetMultimap.get(K key)
Returns a collection view of all values associated with a key. |
|
java.util.Set<V> |
SetMultimap.get(K key)
Returns a collection view of all values associated with a key. |
|
java.util.List<V> |
ListMultimap.get(K key)
Returns a collection view of all values associated with a key. |
|
java.util.Collection<V> |
Multimap.get(K key)
Returns a collection view of all values associated with a key. |
|
abstract V |
ImmutableMap.get(java.lang.Object key)
|
|
static
|
Iterables.getOnlyElement(java.lang.Iterable<T> iterable,
T defaultValue)
Returns the single element contained in iterable, or defaultValue if the iterable is empty. |
|
static
|
Iterators.getOnlyElement(java.util.Iterator<T> iterator,
T defaultValue)
Returns the single element contained in iterator, or defaultValue if the iterator is empty. |
|
static
|
Comparators.givenOrder(T leastValue,
T... remainingValuesInOrder)
Returns the comparator that compares objects according to the order in which they are given to this method. |
|
static
|
Maps.immutableBiMap(K k1,
V v1)
Creates a new immutable BiMap instance containing the given
key-value pair. |
|
static
|
Maps.immutableBiMap(K k1,
V v1)
Creates a new immutable BiMap instance containing the given
key-value pair. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableBiMap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Creates a new immutable BiMap instance containing the given
key-value pairs. |
|
static
|
Maps.immutableEntry(K key,
V value)
Returns an immutable map entry with the specified key and value. |
|
static
|
Maps.immutableEntry(K key,
V value)
Returns an immutable map entry with the specified key and value. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1)
Returns a new immutable multimap containing the specified key-value pair. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1)
Returns a new immutable multimap containing the specified key-value pair. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Returns a new immutable multimap containing the specified key-value pairs. |
|
abstract int |
ImmutableList.indexOf(java.lang.Object object)
|
|
abstract int |
ImmutableList.lastIndexOf(java.lang.Object object)
|
|
static
|
Comparators.max(java.util.Comparator<? super T> comparator,
T a,
T b)
Returns the larger of the two values according to the specified comparator. |
|
static
|
Comparators.max(java.util.Comparator<? super T> comparator,
T a,
T b)
Returns the larger of the two values according to the specified comparator. |
|
static
|
Comparators.min(java.util.Comparator<? super T> comparator,
T a,
T b)
Returns the smaller of the two values according to the specified comparator. |
|
static
|
Comparators.min(java.util.Comparator<? super T> comparator,
T a,
T b)
Returns the smaller of the two values according to the specified comparator. |
|
static
|
Maps.newTreeMap(java.util.Comparator<C> comparator)
Creates a TreeMap instance using the given comparator. |
|
static
|
Multimaps.newTreeMultimap(java.util.Comparator<? super K> keyComparator,
java.util.Comparator<? super V> valueComparator)
Creates an empty TreeMultimap instance using explicit comparators. |
|
static
|
Multimaps.newTreeMultimap(java.util.Comparator<? super K> keyComparator,
java.util.Comparator<? super V> valueComparator)
Creates an empty TreeMultimap instance using explicit comparators. |
|
static
|
Multimaps.newTreeMultimap(java.util.Comparator<? super K> keyComparator,
java.util.Comparator<? super V> valueComparator,
Multimap<? extends K,? extends V> multimap)
Creates a TreeMultimap instance using explicit comparators,
initialized with all elements from the supplied Multimap. |
|
static
|
Multimaps.newTreeMultimap(java.util.Comparator<? super K> keyComparator,
java.util.Comparator<? super V> valueComparator,
Multimap<? extends K,? extends V> multimap)
Creates a TreeMultimap instance using explicit comparators,
initialized with all elements from the supplied Multimap. |
|
static
|
Sets.newTreeSet(java.util.Comparator<? super E> comparator)
Creates an empty TreeSet instance with the given comparator. |
|
static
|
Sets.newTreeSet(java.util.Comparator<? super E> comparator,
E... elements)
Creates a TreeSet instance containing the given elements sorted by
the given comparator. |
|
static
|
Sets.newTreeSet(java.util.Comparator<? super E> comparator,
java.lang.Iterable<? extends E> elements)
Creates a TreeSet instance containing the given elements sorted by
the given comparator. |
|
static
|
Sets.newTreeSet(java.util.Comparator<? super E> comparator,
java.util.Iterator<? extends E> elements)
Creates a TreeSet instance containing the given elements sorted by
the given comparator. |
|
boolean |
LinkedListMultimap.put(K key,
V value)
Stores a key-value pair in the multimap. |
|
boolean |
LinkedListMultimap.put(K key,
V value)
Stores a key-value pair in the multimap. |
|
ImmutableMultimapBuilder<K,V> |
ImmutableMultimapBuilder.put(K key,
V value)
Adds a key-value mapping to the multimap that will be returned by getMultimap. |
|
ImmutableMultimapBuilder<K,V> |
ImmutableMultimapBuilder.put(K key,
V value)
Adds a key-value mapping to the multimap that will be returned by getMultimap. |
|
ImmutableBiMapBuilder<K,V> |
ImmutableBiMapBuilder.put(K key,
V value)
Adds a key-value mapping to the bimap that will be returned by getBiMap(). |
|
ImmutableBiMapBuilder<K,V> |
ImmutableBiMapBuilder.put(K key,
V value)
Adds a key-value mapping to the bimap that will be returned by getBiMap(). |
|
V |
EnumHashBiMap.put(K key,
V value)
|
|
V |
HashBiMap.put(K key,
V value)
|
|
V |
HashBiMap.put(K key,
V value)
|
|
void |
LinkedListMultimap.putAll(K key,
java.lang.Iterable<? extends V> values)
|
|
ImmutableMultimapBuilder<K,V> |
ImmutableMultimapBuilder.putAll(K key,
java.lang.Iterable<? extends V> values)
Stores a collection of values with the same key into the multimap that will be returned by getMultimap. |
|
void |
Multimap.putAll(K key,
java.lang.Iterable<? extends V> values)
Stores a collection of values with the same key. |
|
ImmutableMultimapBuilder<K,V> |
ImmutableMultimapBuilder.putAll(K key,
V... values)
Stores an array of values with the same key into the multimap that will be returned by getMultimap. |
|
|
ClassToInstanceMap.putInstance(java.lang.Class<T> type,
T value)
Maps the specified class to the specified value. |
|
boolean |
Multiset.remove(java.lang.Object element)
Removes a single occurrence of the specified element from this multiset, if present. |
|
int |
ConcurrentMultiset.remove(java.lang.Object element,
int occurrences)
Removes a number of occurrences of the specified element from this multiset. |
|
int |
Multiset.remove(java.lang.Object element,
int occurrences)
Conditionally removes a number of occurrences of an element from this multiset, provided that at least this many occurrences are present. |
|
boolean |
LinkedListMultimap.remove(java.lang.Object key,
java.lang.Object value)
|
|
boolean |
LinkedListMultimap.remove(java.lang.Object key,
java.lang.Object value)
|
|
boolean |
ForwardingMultimap.remove(java.lang.Object key,
java.lang.Object value)
|
|
boolean |
ForwardingMultimap.remove(java.lang.Object key,
java.lang.Object value)
|
|
boolean |
Multimap.remove(java.lang.Object key,
java.lang.Object value)
Removes a key-value pair from the multimap. |
|
boolean |
Multimap.remove(java.lang.Object key,
java.lang.Object value)
Removes a key-value pair from the multimap. |
|
java.util.List<V> |
LinkedListMultimap.removeAll(java.lang.Object key)
|
|
java.util.Collection<V> |
ForwardingMultimap.removeAll(java.lang.Object key)
|
|
java.util.SortedSet<V> |
SortedSetMultimap.removeAll(java.lang.Object key)
Removes all values associated with a given key. |
|
java.util.Set<V> |
SetMultimap.removeAll(java.lang.Object key)
Removes all values associated with a given key. |
|
java.util.List<V> |
ListMultimap.removeAll(java.lang.Object key)
Removes all values associated with a given key. |
|
java.util.Collection<V> |
Multimap.removeAll(java.lang.Object key)
Removes all values associated with a given key. |
|
int |
ConcurrentMultiset.removeAllOccurrences(java.lang.Object element)
Removes all occurrences of the specified element from this multiset. |
|
int |
Multiset.removeAllOccurrences(java.lang.Object element)
Removes all occurrences of the specified element from this multiset. |
|
boolean |
ConcurrentMultiset.removeExactly(java.lang.Object element,
int occurrences)
Removes exactly the specified number of occurrences of element, or
makes no change if this is not possible. |
|
protected static boolean |
ForwardingCollection.removeImpl(java.util.Collection<?> c,
java.lang.Object o)
Removes from the specified collection c the specified element
o (optional operation). |
|
java.util.List<V> |
LinkedListMultimap.replaceValues(K key,
java.lang.Iterable<? extends V> values)
Stores a collection of values with the same key, replacing any existing values for that key. |
|
java.util.Set<V> |
LinkedHashMultimap.replaceValues(K key,
java.lang.Iterable<? extends V> values)
Stores a collection of values with the same key, replacing any existing values for that key. |
|
| Constructor parameters in com.google.common.collect with annotations of type Nullable | |
|---|---|
TreeMultimap(java.util.Comparator<? super K> keyComparator,
java.util.Comparator<? super V> valueComparator)
Constructs an empty TreeMultimap with explicit comparators. |
|
TreeMultimap(java.util.Comparator<? super K> keyComparator,
java.util.Comparator<? super V> valueComparator)
Constructs an empty TreeMultimap with explicit comparators. |
|
TreeMultimap(java.util.Comparator<? super K> keyComparator,
java.util.Comparator<? super V> valueComparator,
Multimap<? extends K,? extends V> multimap)
Constructs a TreeMultimap with explicit comparators and the same
mappings as the specified multimap. |
|
TreeMultimap(java.util.Comparator<? super K> keyComparator,
java.util.Comparator<? super V> valueComparator,
Multimap<? extends K,? extends V> multimap)
Constructs a TreeMultimap with explicit comparators and the same
mappings as the specified multimap. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||