A B C D E F G H I J K L M N O P R S T U V

A

AbstractIterable<E> - Class in com.google.common.collect
Provides an implementation of Object#toString for Iterable instances.
AbstractIterable() - Constructor for class com.google.common.collect.AbstractIterable
 
AbstractIterator<T> - Class in com.google.common.collect
This class provides a skeletal implementation of the Iterator interface, to make this interface easier to implement for certain types of data sources.
AbstractIterator() - Constructor for class com.google.common.collect.AbstractIterator
 
AbstractMapEntry<K,V> - Class in com.google.common.collect
Implementation of the equals, hashCode, and toString methods of Entry.
AbstractMapEntry() - Constructor for class com.google.common.collect.AbstractMapEntry
 
AbstractMultiset<E> - Class in com.google.common.collect
This class provides a skeletal implementation of the Multiset interface.
AbstractMultiset() - Constructor for class com.google.common.collect.AbstractMultiset
 
AbstractMultisetEntry<E> - Class in com.google.common.collect
Implementation of the equals, hashCode, and toString methods of Multiset.Entry.
AbstractMultisetEntry() - Constructor for class com.google.common.collect.AbstractMultisetEntry
 
AbstractRemovableIterator<T> - Class in com.google.common.collect
A specialization of AbstractIterator for data sources which can handle arbitrary removal by element, concurrently with iteration.
AbstractRemovableIterator() - Constructor for class com.google.common.collect.AbstractRemovableIterator
 
add(E) - Method in class com.google.common.collect.AbstractMultiset
add(E, int) - Method in class com.google.common.collect.AbstractMultiset
Adds a number of occurrences of the specified element to this multiset.
add(E, int) - Method in class com.google.common.collect.ConcurrentMultiset
Adds a number of occurrences of the specified element to this multiset.
add(E) - Method in class com.google.common.collect.ForwardingCollection
 
add(int, E) - Method in class com.google.common.collect.ForwardingList
 
add(E) - Method in class com.google.common.collect.ForwardingListIterator
 
add(E, int) - Method in class com.google.common.collect.ForwardingMultiset
 
add(E) - Method in class com.google.common.collect.LinkedListMultiset
 
add(E, int) - Method in class com.google.common.collect.LinkedListMultiset
 
add(E, int) - Method in interface com.google.common.collect.Multiset
Adds a number of occurrences of the specified element to this multiset.
add(E) - Method in class com.google.common.collect.SortedArraySet
 
addAll(Collection<? extends E>) - Method in class com.google.common.collect.AbstractMultiset
addAll(Collection<? extends E>) - Method in class com.google.common.collect.ForwardingCollection
 
addAll(int, Collection<? extends E>) - Method in class com.google.common.collect.ForwardingList
 
addAll(Collection<T>, Iterable<? extends T>) - Static method in class com.google.common.collect.Iterables
Adds all elements in iterable to collection.
addAll(Collection<T>, Iterator<? extends T>) - Static method in class com.google.common.collect.Iterators
Adds all elements in iterator to collection.
addAll(Collection<? extends E>) - Method in class com.google.common.collect.LinkedListMultiset
 
addAll(Collection<? extends E>) - Method in class com.google.common.collect.SortedArraySet
 
all(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
Returns true if no element in iterable evaluates to false under predicate.
all(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
Returns true if no element returned by iterator evaluates to false under predicate.
alwaysFalse() - Static method in class com.google.common.base.Predicates
Returns a Predicate that always evaluates to false.
alwaysTrue() - Static method in class com.google.common.base.Predicates
Returns a Predicate that always evaluates to true.
and(Iterable<? extends Predicate<? super T>>) - Static method in class com.google.common.base.Predicates
Returns a Predicate that evaluates to true iff each of its components evaluates to true.
and(Predicate<? super T>...) - Static method in class com.google.common.base.Predicates
Returns a Predicate that evaluates to true iff each of its components evaluates to true.
any(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
Returns true if some element in iterable evaluates to true under predicate.
any(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
Returns true if some element returned by iterator evaluates to true under predicate.
apply(F) - Method in interface com.google.common.base.Function
Applys the function to an object of type F, resulting in an object of type T.
apply(T) - Method in interface com.google.common.base.Predicate
Applies this Predicate to the given object.
ArrayListMultimap<K,V> - Class in com.google.common.collect
Implementation of Multimap that uses an ArrayList to store the values for a given key.
ArrayListMultimap() - Constructor for class com.google.common.collect.ArrayListMultimap
Constructs an empty ArrayListMultimap.
ArrayListMultimap(int, int) - Constructor for class com.google.common.collect.ArrayListMultimap
Constructs an empty ArrayListMultimap with the expected number of distinct keys and the expected number of values per distinct key.
ArrayListMultimap(Multimap<? extends K, ? extends V>) - Constructor for class com.google.common.collect.ArrayListMultimap
Constructs an ArrayListMultimap with the same mappings as the specified Multimap.
asEnumeration(Iterator<T>) - Static method in class com.google.common.collect.Iterators
Adapts an Iterator to the Enumeration interface.
asList(E, E[]) - Static method in class com.google.common.collect.Lists
Returns an unmodifiable list containing the specified first element and backed by the specified array of additional elements.
asList(E, E, E[]) - Static method in class com.google.common.collect.Lists
Returns an unmodifiable list containing the specified first and second element, and backed by the specified array of additional elements.
asList(short[]) - Static method in class com.google.common.collect.PrimitiveArrays
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(T...).
asList(int[]) - Static method in class com.google.common.collect.PrimitiveArrays
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(T...).
asList(double[]) - Static method in class com.google.common.collect.PrimitiveArrays
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(T...).
asList(float[]) - Static method in class com.google.common.collect.PrimitiveArrays
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(T...).
asList(long[]) - Static method in class com.google.common.collect.PrimitiveArrays
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(T...).
asList(char[]) - Static method in class com.google.common.collect.PrimitiveArrays
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(T...).
asList(boolean[]) - Static method in class com.google.common.collect.PrimitiveArrays
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(T...).
asList(byte[]) - Static method in class com.google.common.collect.PrimitiveArrays
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(T...).
asMap() - Method in class com.google.common.collect.ForwardingMultimap
 
asMap() - Method in class com.google.common.collect.LinkedListMultimap
 
asMap() - Method in interface com.google.common.collect.ListMultimap
Returns a map view that associates each key with the corresponding values in the multimap.
asMap() - Method in interface com.google.common.collect.Multimap
Returns a map view that associates each key with the corresponding values in the multimap.
asMap() - Method in interface com.google.common.collect.SetMultimap
Returns a map view that associates each key with the corresponding values in the multimap.
asMap() - Method in interface com.google.common.collect.SortedSetMultimap
Returns a map view that associates each key with the corresponding values in the multimap.

B

BiMap<K,V> - Interface in com.google.common.collect
A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as that of its keys.

C

checkArgument(boolean) - Static method in class com.google.common.base.Preconditions
Ensures that expression is true.
checkArgument(boolean, Object) - Static method in class com.google.common.base.Preconditions
Ensures that expression is true.
checkArgument(boolean, String, Object...) - Static method in class com.google.common.base.Preconditions
Ensures that expression is true.
checkContentsNotNull(T) - Static method in class com.google.common.base.Preconditions
Ensures that iterable is not null and that it contains no null elements.
checkElement(E) - Method in interface com.google.common.collect.Constraint
Implement this method to throw a suitable RuntimeException if the specified element is illegal.
checkKeyValue(K, V) - Method in interface com.google.common.collect.MapConstraint
Implement this method to throw a suitable RuntimeException if the specified key or value is illegal.
checkNotNull(T) - Static method in class com.google.common.base.Preconditions
Ensures that reference is not null.
checkNotNull(T, Object) - Static method in class com.google.common.base.Preconditions
Ensures that reference is not null.
checkNotNull(T, String, Object...) - Static method in class com.google.common.base.Preconditions
Ensures that reference is not null.
checkState(boolean) - Static method in class com.google.common.base.Preconditions
Ensures that expression is true.
checkState(boolean, Object) - Static method in class com.google.common.base.Preconditions
Ensures that expression is true.
checkState(boolean, String, Object...) - Static method in class com.google.common.base.Preconditions
Ensures that expression is true.
ClassToInstanceMap<B> - Interface in com.google.common.collect
A map, each entry of which maps a Java raw type to an instance of that type.
clear() - Method in class com.google.common.collect.AbstractMultiset
clear() - Method in class com.google.common.collect.ForwardingCollection
 
clear() - Method in class com.google.common.collect.ForwardingMap
 
clear() - Method in class com.google.common.collect.ForwardingMultimap
 
clear() - Method in class com.google.common.collect.LinkedListMultimap
 
clear() - Method in class com.google.common.collect.LinkedListMultiset
 
clear() - Method in interface com.google.common.collect.Multimap
Removes all key-value pairs from the multimap.
clear() - Method in class com.google.common.collect.ReferenceMap
 
clear() - Method in class com.google.common.collect.SortedArraySet
 
com.google.common.base - package com.google.common.base
Miscellaneous common util classes and annotations.
com.google.common.collect - package com.google.common.collect
This package contains generic collection interfaces and implementations, and other utilities for working with collections.
comparator() - Method in class com.google.common.collect.ForwardingSortedMap
 
comparator() - Method in class com.google.common.collect.ForwardingSortedSet
 
comparator() - Method in class com.google.common.collect.SortedArraySet
Returns the comparator associated with this sorted set, or Comparators.naturalOrder if it uses its elements' natural ordering.
Comparators - Class in com.google.common.collect
Standard comparators and utilities for creating and working with comparators.
compare(byte, byte) - Static method in class com.google.common.collect.Comparators
Compares the two specified byte values.
compare(char, char) - Static method in class com.google.common.collect.Comparators
Compares the two specified char values.
compare(short, short) - Static method in class com.google.common.collect.Comparators
Compares the two specified short values.
compare(int, int) - Static method in class com.google.common.collect.Comparators
Compares the two specified int values.
compare(long, long) - Static method in class com.google.common.collect.Comparators
Compares the two specified long values.
compare(double, double) - Static method in class com.google.common.collect.Comparators
Compares the two specified double values.
compare(float, float) - Static method in class com.google.common.collect.Comparators
Compares the two specified float values.
compare(boolean, boolean) - Static method in class com.google.common.collect.Comparators
Compares the two specified boolean values.
complementOf(Collection<E>) - Static method in class com.google.common.collect.Sets
Creates an enum set with the given element type, initially containing all the elements of this type that are not contained in the specified set.
complementOf(Collection<E>, Class<E>) - Static method in class com.google.common.collect.Sets
Creates an enum set with the given element type, initially containing all the elements of this type that are not contained in the specified set.
compose(Function<B, C>, Function<A, ? extends B>) - Static method in class com.google.common.base.Functions
Returns a compostion g<sup>0</sup>f : A->C of two functions, f: A->B and g: B->C.
compound(Comparator<? super T>, Comparator<? super T>, Comparator<? super T>...) - Static method in class com.google.common.collect.Comparators
Returns a comparator which tries each given comparator in order until a non-zero result is found, returning this result, and returning zero only if all comparators return zero.
compound(List<? extends Comparator<? super T>>) - Static method in class com.google.common.collect.Comparators
Returns a comparator which tries each given comparator in order until a non-zero result is found, returning this result, and returning zero only if all comparators return zero.
computeNext() - Method in class com.google.common.collect.AbstractIterator
Returns the next element.
concat(Iterable<? extends T>, Iterable<? extends T>) - Static method in class com.google.common.collect.Iterables
Variant of Iterators.concat that acts on and returns instances of Iterable.
concat(Iterable<? extends T>...) - Static method in class com.google.common.collect.Iterables
Variant of Iterators.concat that acts on and returns instances of Iterable.
concat(Iterable<? extends Iterable<? extends T>>) - Static method in class com.google.common.collect.Iterables
Variant of Iterators.concat that acts on and returns instances of Iterable.
concat(Iterator<? extends T>, Iterator<? extends T>) - Static method in class com.google.common.collect.Iterators
Two-argument form of #concat(Iterator).
concat(Iterator<? extends T>...) - Static method in class com.google.common.collect.Iterators
Varargs form of #concat(Iterator).
concat(Iterator<? extends Iterator<? extends T>>) - Static method in class com.google.common.collect.Iterators
Concatenates multiple iterators into a single iterator.
concat(T[], T[], Class<T>) - Static method in class com.google.common.collect.ObjectArrays
Returns a new array of a specified type, containing the concatenated contents of the two given arrays.
ConcurrentMultiset<E> - Class in com.google.common.collect
A multiset that supports concurrent modifications, and that provides atomic versions of most Multiset operations (exceptions where noted).
ConcurrentMultiset() - Constructor for class com.google.common.collect.ConcurrentMultiset
Creates an empty instance using a ConcurrentHashMap to store elements and their counts.
ConcurrentMultiset(Collection<? extends E>) - Constructor for class com.google.common.collect.ConcurrentMultiset
Creates an instance using a ConcurrentHashMap to store elements and their counts, and initially containing all the elements from a given collection.
ConcurrentMultiset(ConcurrentMap<E, Integer>) - Constructor for class com.google.common.collect.ConcurrentMultiset
Creates an instance using countMap to store elements and their counts.
constant(E) - Static method in class com.google.common.base.Functions
Returns a Function that returns value for any input.
constrainedBiMap(BiMap<K, V>, MapConstraint<? super K, ? super V>) - Static method in class com.google.common.collect.MapConstraints
Returns a constrained view of the specified bimap, using the specified constraint.
constrainedCollection(Collection<E>, Constraint<? super E>) - Static method in class com.google.common.collect.Constraints
Returns a constrained view of the specified collection, using the specified constraint.
constrainedList(List<E>, Constraint<? super E>) - Static method in class com.google.common.collect.Constraints
Returns a constrained view of the specified list, using the specified constraint.
constrainedListMultimap(ListMultimap<K, V>, MapConstraint<? super K, ? super V>) - Static method in class com.google.common.collect.MapConstraints
Returns a constrained view of the specified list multimap, using the specified constraint.
constrainedMap(Map<K, V>, MapConstraint<? super K, ? super V>) - Static method in class com.google.common.collect.MapConstraints
Returns a constrained view of the specified map, using the specified constraint.
constrainedMultimap(Multimap<K, V>, MapConstraint<? super K, ? super V>) - Static method in class com.google.common.collect.MapConstraints
Returns a constrained view of the specified multimap, using the specified constraint.
constrainedMultiset(Multiset<E>, Constraint<? super E>) - Static method in class com.google.common.collect.Constraints
Returns a constrained view of the specified multiset, using the specified constraint.
constrainedSet(Set<E>, Constraint<? super E>) - Static method in class com.google.common.collect.Constraints
Returns a constrained view of the specified set, using the specified constraint.
constrainedSetMultimap(SetMultimap<K, V>, MapConstraint<? super K, ? super V>) - Static method in class com.google.common.collect.MapConstraints
Returns a constrained view of the specified set multimap, using the specified constraint.
constrainedSortedSet(SortedSet<E>, Constraint<? super E>) - Static method in class com.google.common.collect.Constraints
Returns a constrained view of the specified sorted set, using the specified constraint.
constrainedSortedSetMultimap(SortedSetMultimap<K, V>, MapConstraint<? super K, ? super V>) - Static method in class com.google.common.collect.MapConstraints
Returns a constrained view of the specified sorted-set multimap, using the specified constraint.
Constraint<E> - Interface in com.google.common.collect
Interface for defining a constraint on the types of elements that are allowed to be added to a Collection.
Constraints - Class in com.google.common.collect
Factory and utilities pertaining to the Constraint interface.
contains(Object) - Method in class com.google.common.collect.AbstractMultiset
contains(Object) - Method in class com.google.common.collect.ForwardingCollection
 
contains(Object) - Method in class com.google.common.collect.SortedArraySet
 
containsAll(Collection<?>) - Method in class com.google.common.collect.AbstractMultiset
containsAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
 
containsEntry(Object, Object) - Method in class com.google.common.collect.ForwardingMultimap
 
containsEntry(Object, Object) - Method in class com.google.common.collect.LinkedListMultimap
 
containsEntry(Map<?, ?>, Object, Object) - Static method in class com.google.common.collect.Maps
Returns true if map contains an entry mapping key to value.
containsEntry(Object, Object) - Method in interface com.google.common.collect.Multimap
Returns true if the multimap contains the specified key-value pair.
containsKey(Object) - Method in class com.google.common.collect.ForwardingMap
 
containsKey(Object) - Method in class com.google.common.collect.ForwardingMultimap
 
containsKey(Object) - Method in class com.google.common.collect.LinkedListMultimap
 
containsKey(Object) - Method in interface com.google.common.collect.Multimap
Returns true if the multimap contains any values for the specified key.
containsKey(Object) - Method in class com.google.common.collect.ReferenceMap
 
containsValue(Object) - Method in class com.google.common.collect.ForwardingMap
 
containsValue(Object) - Method in class com.google.common.collect.ForwardingMultimap
 
containsValue(Object) - Method in class com.google.common.collect.LinkedListMultimap
 
containsValue(Object) - Method in interface com.google.common.collect.Multimap
Returns true if the multimap contains the specified value for any key.
containsValue(Object) - Method in class com.google.common.collect.ReferenceMap
 
count(Object) - Method in class com.google.common.collect.AbstractMultiset
Returns the number of occurrences of the specified element in this multiset.
count(Object) - Method in class com.google.common.collect.ConcurrentMultiset
Returns the number of occurrences of element in this multiset.
count(Object) - Method in class com.google.common.collect.ForwardingMultiset
 
count(Object) - Method in interface com.google.common.collect.Multiset
Returns the number of occurrences of the specified element in this multiset.
createElementSet() - Method in class com.google.common.collect.AbstractMultiset
Creates a new instance of this multiset's element set, which will be returned by AbstractMultiset.elementSet.
createElementSet() - Method in class com.google.common.collect.TreeMultiset
 
cycle(Iterable<T>) - Static method in class com.google.common.collect.Iterables
Variant of Iterators.cycle which returns an Iterable.
cycle(T...) - Static method in class com.google.common.collect.Iterables
Variant of cycle(Iterable) accepting varargs parameters.
cycle(Iterable<T>) - Static method in class com.google.common.collect.Iterators
Returns an iterator that cycles indefinitely over the elements of iterable until it is empty.
cycle(T...) - Static method in class com.google.common.collect.Iterators
Variant of #cycle(Iterable) accepting varargs parameters.

D

deepEquals(Object, Object) - Static method in class com.google.common.base.Objects
Determines if two objects are equal as determined by Object.equals(Object), or "deeply equal" if both are arrays.
deepHashCode(Object) - Static method in class com.google.common.base.Objects
Gets hash code of an object, optionally returns hash code based on the "deep contents" of array if the object is an array.
deepToString(Object) - Static method in class com.google.common.base.Objects
Gets string representation of an object, or the "deep content" of the array if the o is an array.
delegate() - Method in class com.google.common.collect.ForwardingCollection
 
delegate() - Method in class com.google.common.collect.ForwardingIterator
 
delegate() - Method in class com.google.common.collect.ForwardingList
 
delegate() - Method in class com.google.common.collect.ForwardingListIterator
 
delegate() - Method in class com.google.common.collect.ForwardingMap
 
delegate() - Method in class com.google.common.collect.ForwardingMapEntry
 
delegate() - Method in class com.google.common.collect.ForwardingMultimap
 
delegate() - Method in class com.google.common.collect.ForwardingMultiset
 
delegate() - Method in class com.google.common.collect.ForwardingObject
Returns the backing delegate object.
delegate() - Method in class com.google.common.collect.ForwardingQueue
 
delegate() - Method in class com.google.common.collect.ForwardingSet
 
delegate() - Method in class com.google.common.collect.ForwardingSortedMap
 
delegate() - Method in class com.google.common.collect.ForwardingSortedSet
 

E

element() - Method in class com.google.common.collect.ForwardingQueue
 
elementsEqual(Iterable<?>, Iterable<?>) - Static method in class com.google.common.collect.Iterables
Determines whether the two Iterables contain equal elements.
elementsEqual(Iterator<?>, Iterator<?>) - Static method in class com.google.common.collect.Iterators
Determines whether two iterators contain equal elements.
elementSet() - Method in class com.google.common.collect.AbstractMultiset
Returns a view of the elements of this multiset as a set.
elementSet() - Method in class com.google.common.collect.ConcurrentMultiset
 
elementSet() - Method in class com.google.common.collect.ForwardingMultiset
 
elementSet() - Method in class com.google.common.collect.LinkedListMultiset
 
elementSet() - Method in interface com.google.common.collect.Multiset
Returns a view of the elements of this multiset as a set.
elementSet() - Method in class com.google.common.collect.TreeMultiset
Returns a view of the elements of this multiset as a set. All remove operations on the returned set "write through" to the underlying multiset, removing all occurrences of the given elements. No add operations are supported. Note that you can use elementSet().size() to find the number of distinct elements in this multiset.
emptyArray(T[]) - Static method in class com.google.common.collect.ObjectArrays
Returns an empty (immutable) array with the same component type as the specified array.
emptyIterable() - Static method in class com.google.common.collect.Iterables
Returns the empty Iterable.
emptyIterator() - Static method in class com.google.common.collect.Iterators
Returns the empty Iterator.
emptyMultiset() - Static method in class com.google.common.collect.Multisets
Returns the empty multiset (immutable).
emptySortedSet() - Static method in class com.google.common.collect.Sets
Returns the empty sorted set (immutable).
endOfData() - Method in class com.google.common.collect.AbstractIterator
Implementors of computeNext must invoke this method when there is no data left.
ensureCapacity(int) - Method in class com.google.common.collect.SortedArraySet
Increases the capacity of this sorted set, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument.
entries() - Method in class com.google.common.collect.ForwardingMultimap
 
entries() - Method in class com.google.common.collect.LinkedHashMultimap
Returns a set of all key-value pairs.
entries() - Method in class com.google.common.collect.LinkedListMultimap
Returns a collection of all key-value pairs.
entries() - Method in interface com.google.common.collect.Multimap
Returns a collection of all key-value pairs.
entries() - Method in interface com.google.common.collect.SetMultimap
Returns a collection of all key-value pairs.
entrySet() - Method in class com.google.common.collect.AbstractMultiset
 
entrySet() - Method in class com.google.common.collect.ConcurrentMultiset
 
entrySet() - Method in class com.google.common.collect.ForwardingMap
 
entrySet() - Method in class com.google.common.collect.ForwardingMultiset
 
entrySet() - Method in class com.google.common.collect.LinkedListMultiset
 
entrySet() - Method in interface com.google.common.collect.Multiset
Returns the data of this multiset as a set of Entry instances.
entrySet() - Method in class com.google.common.collect.ReferenceMap
EnumBiMap<K extends Enum<K>,V extends Enum<V>> - Class in com.google.common.collect
A BiMap backed by two EnumMap instances.
EnumBiMap(Class<K>, Class<V>) - Constructor for class com.google.common.collect.EnumBiMap
Constructs a new empty bimap using the specified key type and value type.
EnumBiMap(EnumBiMap<K, V>) - Constructor for class com.google.common.collect.EnumBiMap
Constructs a new bimap with the same mappings as the specified map.
EnumBiMap(Map<K, V>) - Constructor for class com.google.common.collect.EnumBiMap
Constructs a new bimap with the same mappings as the specified map.
EnumHashBiMap<K extends Enum<K>,V> - Class in com.google.common.collect
A BiMap backed by an EnumMap instance for keys-to-values, and a HashMap instance for values-to-keys.
EnumHashBiMap(Class<K>) - Constructor for class com.google.common.collect.EnumHashBiMap
Constructs a new empty bimap using the specified key type, sized to contain an entry for every possible key.
EnumHashBiMap(Map<K, ? extends V>) - Constructor for class com.google.common.collect.EnumHashBiMap
Constructs a new bimap with the same mappings as the specified map.
EnumHashBiMap(EnumHashBiMap<K, ? extends V>) - Constructor for class com.google.common.collect.EnumHashBiMap
Constructs a new bimap with the same key type as the specified map, initially containing the same mappings (if any).
EnumMultiset<E extends Enum<E>> - Class in com.google.common.collect
Multiset implementation backed by an EnumMap.
EnumMultiset(Class<E>) - Constructor for class com.google.common.collect.EnumMultiset
Creates an empty EnumMultiset.
EnumMultiset(Iterable<E>) - Constructor for class com.google.common.collect.EnumMultiset
Creates a new EnumMultiset containing the specified elements.
equal(Object, Object) - Static method in class com.google.common.base.Objects
Determines whether the two, possibly null, objects are equal.
equals(Object) - Method in class com.google.common.collect.AbstractMapEntry
 
equals(Object) - Method in class com.google.common.collect.AbstractMultiset
Compares the specified object with this multiset for equality.
equals(Object) - Method in class com.google.common.collect.AbstractMultisetEntry
 
equals(Object) - Method in class com.google.common.collect.ForwardingList
 
equals(Object) - Method in class com.google.common.collect.ForwardingMap
 
equals(Object) - Method in class com.google.common.collect.ForwardingMapEntry
 
equals(Object) - Method in class com.google.common.collect.ForwardingMultimap
 
equals(Object) - Method in class com.google.common.collect.ForwardingMultiset
 
equals(Object) - Method in class com.google.common.collect.ForwardingSet
 
equals(Object) - Method in class com.google.common.collect.LinkedListMultimap
Compares the specified object to this multimap for equality.
equals(Object) - Method in interface com.google.common.collect.ListMultimap
Compares the specified object to this multimap for equality.
equals(Object) - Method in interface com.google.common.collect.Multimap
Compares the specified object with this multimap for equality.
equals(Object) - Method in interface com.google.common.collect.Multiset.Entry
equals(Object) - Method in interface com.google.common.collect.Multiset
Compares the specified object with this multiset for equality.
equals(Object) - Method in interface com.google.common.collect.SetMultimap
Compares the specified object to this multimap for equality.
equals(Object) - Method in class com.google.common.collect.SortedArraySet
 

F

filter(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
Variant of Iterators.filter(Iterator,Predicate), which accepts and returns an iterable instead of an iterator.
filter(Iterable<?>, Class<T>) - Static method in class com.google.common.collect.Iterables
Returns all instances of type found in unfiltered.
filter(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
Returns the elements of unfiltered for which predicate evaluates to true.
filter(Iterator<?>, Class<T>) - Static method in class com.google.common.collect.Iterators
Returns all instances of type found in unfiltered.
FinalizablePhantomReference<T> - Class in com.google.common.base
Phantom reference with a finalizeReferent() method which a background thread invokes after the garbage collector reclaims the referent.
FinalizablePhantomReference(T) - Constructor for class com.google.common.base.FinalizablePhantomReference
 
FinalizableSoftReference<T> - Class in com.google.common.base
Soft reference with a finalizeReferent() method which a background thread invokes after the garbage collector reclaims the referent.
FinalizableSoftReference(T) - Constructor for class com.google.common.base.FinalizableSoftReference
 
FinalizableWeakReference<T> - Class in com.google.common.base
Weak reference with a finalizeReferent() method which a background thread invokes after the garbage collector reclaims the referent.
FinalizableWeakReference(T) - Constructor for class com.google.common.base.FinalizableWeakReference
 
find(Iterable<E>, Predicate<? super E>) - Static method in class com.google.common.collect.Iterables
Returns the first element in iterable for which the given predicate matches.
find(Iterator<E>, Predicate<? super E>) - Static method in class com.google.common.collect.Iterators
Returns the first element in iterator for which the given predicate matches.
first() - Method in class com.google.common.collect.ForwardingSortedSet
 
first() - Method in class com.google.common.collect.LinkedListMultiset
Returns the first element in this multiset.
first() - Method in class com.google.common.collect.SortedArraySet
 
firstKey() - Method in class com.google.common.collect.ForwardingSortedMap
 
firstNonNull(T, T) - Static method in class com.google.common.base.Objects
Returns the first of the given parameters that is not null if any, or otherwise throws NullPointerException.
forcePut(K, V) - Method in interface com.google.common.collect.BiMap
An alternate form of put which silently removes any existing entry with the value value (unless it is already matched with the key key) before proceeding with the BiMap.put(K, V) operation.
forcePut(K, V) - Method in class com.google.common.collect.EnumHashBiMap
 
forcePut(K, V) - Method in class com.google.common.collect.HashBiMap
 
forEnumeration(Enumeration<T>) - Static method in class com.google.common.collect.Iterators
Adapts an Enumeration to the Iterator interface.
forMap(Map<A, B>) - Static method in class com.google.common.base.Functions
Returns a function which performs key-to-value lookup on map.
forMap(Map<A, ? extends B>, B) - Static method in class com.google.common.base.Functions
Returns a function which performs key-to-value lookup on map.
forMap(Map<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns a multimap view of the specified map.
forPredicate(Predicate<? super T>) - Static method in class com.google.common.base.Functions
Returns a boolean-valued function that evaluates to the same result as the given predicate.
forSet(Set<E>) - Static method in class com.google.common.collect.Multisets
Returns a multiset view of the specified set.
ForwardingCollection<E> - Class in com.google.common.collect
A collection which forwards all its method calls to another collection.
ForwardingCollection(Collection<E>) - Constructor for class com.google.common.collect.ForwardingCollection
 
ForwardingIterator<T> - Class in com.google.common.collect
An iterator which forwards all its method calls to another iterator.
ForwardingIterator(Iterator<T>) - Constructor for class com.google.common.collect.ForwardingIterator
 
ForwardingList<E> - Class in com.google.common.collect
A list which forwards all its method calls to another list.
ForwardingList(List<E>) - Constructor for class com.google.common.collect.ForwardingList
 
ForwardingListIterator<E> - Class in com.google.common.collect
A list iterator which forwards all its method calls to another list iterator.
ForwardingListIterator(ListIterator<E>) - Constructor for class com.google.common.collect.ForwardingListIterator
 
ForwardingMap<K,V> - Class in com.google.common.collect
A map which forwards all its method calls to another map.
ForwardingMap(Map<K, V>) - Constructor for class com.google.common.collect.ForwardingMap
 
ForwardingMapEntry<K,V> - Class in com.google.common.collect
A map entry which forwards all its method calls to another map entry.
ForwardingMapEntry(Map.Entry<K, V>) - Constructor for class com.google.common.collect.ForwardingMapEntry
 
ForwardingMultimap<K,V> - Class in com.google.common.collect
A multimap which forwards all its method calls to another multimap.
ForwardingMultimap(Multimap<K, V>) - Constructor for class com.google.common.collect.ForwardingMultimap
Constructs a forwarding multimap from a delegate.
ForwardingMultiset<E> - Class in com.google.common.collect
A multiset which forwards all its method calls to another multiset.
ForwardingMultiset(Multiset<E>) - Constructor for class com.google.common.collect.ForwardingMultiset
 
ForwardingObject - Class in com.google.common.collect
An abstract base class for implementing the decorator pattern.
ForwardingObject(Object) - Constructor for class com.google.common.collect.ForwardingObject
Constructs a new object which forwards all methods to the specified delegate.
ForwardingQueue<E> - Class in com.google.common.collect
A queue which forwards all its method calls to another queue.
ForwardingQueue(Queue<E>) - Constructor for class com.google.common.collect.ForwardingQueue
 
ForwardingSet<E> - Class in com.google.common.collect
A set which forwards all its method calls to another set.
ForwardingSet(Set<E>) - Constructor for class com.google.common.collect.ForwardingSet
 
ForwardingSortedMap<K,V> - Class in com.google.common.collect
A sorted map which forwards all its method calls to another sorted map.
ForwardingSortedMap(SortedMap<K, V>) - Constructor for class com.google.common.collect.ForwardingSortedMap
 
ForwardingSortedSet<E> - Class in com.google.common.collect
A sorted set which forwards all its method calls to another sorted set.
ForwardingSortedSet(SortedSet<E>) - Constructor for class com.google.common.collect.ForwardingSortedSet
 
frequency(Iterable<?>, Object) - Static method in class com.google.common.collect.Iterables
Variant of Collections.frequency for iterables.
frequency(Iterator<?>, Object) - Static method in class com.google.common.collect.Iterators
Variant of Collections#frequency for iterators.
frequencyOrder(Multiset<?>) - Static method in class com.google.common.collect.Multisets
Returns a comparator that imposes ascending frequency ordering on a collection of objects, using multiset to determine the frequency of each object.
fromFunction(Function<F, T>) - Static method in class com.google.common.collect.Comparators
Creates a comparator that compares any two items by applying a function to each of them and using the natural ordering of the results.
fromFunction(Function<F, T>, Comparator<? super T>) - Static method in class com.google.common.collect.Comparators
Creates a comparator that compares any two items by applying a function to each of them and using the supplied comparator to compare the results.
fromMap(Map<K, V>) - Static method in class com.google.common.collect.ImmutableMapBuilder
Creates a new ImmutableMapBuilder populated with the contents of map.
fromProperties(Properties) - Static method in class com.google.common.collect.Maps
Creates a Map<String, String> from a Properties instance.
Function<F,T> - Interface in com.google.common.base
A Function provides a transformation on an object and returns the resulting object.
Functions - Class in com.google.common.base
Useful functions.

G

get() - Method in interface com.google.common.base.Supplier
 
get(int) - Method in class com.google.common.collect.ForwardingList
 
get(Object) - Method in class com.google.common.collect.ForwardingMap
 
get(K) - Method in class com.google.common.collect.ForwardingMultimap
 
get(K) - Method in class com.google.common.collect.LinkedListMultimap
Returns a collection view of all values associated with a key. If no mappings in the multimap have the provided key, an empty collection is returned.

Changes to the returned collection will update the underlying multimap, and vice versa.

get(K) - Method in interface com.google.common.collect.ListMultimap
Returns a collection view of all values associated with a key.
get(K) - Method in interface com.google.common.collect.Multimap
Returns a collection view of all values associated with a key.
get(Object) - Method in class com.google.common.collect.ReferenceMap
 
get(K) - Method in interface com.google.common.collect.SetMultimap
Returns a collection view of all values associated with a key.
get(K) - Method in interface com.google.common.collect.SortedSetMultimap
Returns a collection view of all values associated with a key.
getBiMap() - Method in class com.google.common.collect.ImmutableBiMapBuilder
Returns a newly-created, immutable BiMap instance containing the keys and values that were specified using put().
getCount() - Method in interface com.google.common.collect.Multiset.Entry
Returns the number of occurrences of the corresponding element in the multiset.
getElement() - Method in interface com.google.common.collect.Multiset.Entry
Returns the multiset element corresponding to this entry.
getInstance(Class<T>) - Method in interface com.google.common.collect.ClassToInstanceMap
Returns the value the specified class is mapped to, or null if no entry for this class is present.
getKey() - Method in class com.google.common.collect.AbstractMapEntry
 
getKey() - Method in class com.google.common.collect.ForwardingMapEntry
 
getMap() - Method in class com.google.common.collect.ImmutableMapBuilder
Returns a newly-created, immutable HashMap instance containing the keys and values that were specified using put.
getMultimap() - Method in class com.google.common.collect.ImmutableMultimapBuilder
Returns a newly-created, immutable Multimap instance containing the keys and values that were specified using put and putAll.
getOnlyElement(Iterable<T>) - Static method in class com.google.common.collect.Iterables
Returns the single element contained in iterable.
getOnlyElement(Iterable<T>, T) - Static method in class com.google.common.collect.Iterables
Returns the single element contained in iterator, or defaultValue if the iterator is empty.
getOnlyElement(Iterator<T>) - Static method in class com.google.common.collect.Iterators
Returns the single element contained in iterator.
getOnlyElement(Iterator<T>, T) - Static method in class com.google.common.collect.Iterators
Returns the single element contained in iterator, or defaultValue if the iterator is empty.
getValue() - Method in class com.google.common.collect.AbstractMapEntry
 
getValue() - Method in class com.google.common.collect.ForwardingMapEntry
 
givenOrder(List<T>) - Static method in class com.google.common.collect.Comparators
Returns a comparator that compares objects by the order in which they appear in a given list.
givenOrder(T, T...) - Static method in class com.google.common.collect.Comparators
Returns a comparator that compares objects by the order in which they are given to this method.

H

HashBiMap<K,V> - Class in com.google.common.collect
A BiMap backed by two HashMap instances.
HashBiMap() - Constructor for class com.google.common.collect.HashBiMap
Constructs a new empty bimap with the default initial capacity (16) and the default load factor (0.75).
HashBiMap(int) - Constructor for class com.google.common.collect.HashBiMap
Constructs a new empty bimap with the specified expected size and the default load factor (0.75).
HashBiMap(int, float) - Constructor for class com.google.common.collect.HashBiMap
Constructs a new empty bimap with the specified initial capacity and load factor.
HashBiMap(Map<? extends K, ? extends V>) - Constructor for class com.google.common.collect.HashBiMap
Constructs a new bimap containing initial values from map.
hashCode(Object...) - Static method in class com.google.common.base.Objects
Generates a hashcode for multiple values.
hashCode() - Method in class com.google.common.collect.AbstractMapEntry
 
hashCode() - Method in class com.google.common.collect.AbstractMultiset
Returns the hash code for this multiset.
hashCode() - Method in class com.google.common.collect.AbstractMultisetEntry
 
hashCode() - Method in class com.google.common.collect.ForwardingList
 
hashCode() - Method in class com.google.common.collect.ForwardingMap
 
hashCode() - Method in class com.google.common.collect.ForwardingMapEntry
 
hashCode() - Method in class com.google.common.collect.ForwardingMultimap
 
hashCode() - Method in class com.google.common.collect.ForwardingMultiset
 
hashCode() - Method in class com.google.common.collect.ForwardingSet
 
hashCode() - Method in class com.google.common.collect.LinkedListMultimap
Returns the hash code for this multimap.
hashCode() - Method in interface com.google.common.collect.Multimap
Returns the hash code for this multimap.
hashCode() - Method in interface com.google.common.collect.Multiset.Entry
hashCode() - Method in interface com.google.common.collect.Multiset
Returns the hash code for this multiset.
HashMultimap<K,V> - Class in com.google.common.collect
Implementation of Multimap using hash tables.
HashMultimap() - Constructor for class com.google.common.collect.HashMultimap
Constructs an empty HashMultimap.
HashMultimap(Multimap<? extends K, ? extends V>) - Constructor for class com.google.common.collect.HashMultimap
Constructs a HashMultimap with the same mappings as the specified Multimap.
HashMultiset<E> - Class in com.google.common.collect
Multiset implementation backed by a HashMap.
HashMultiset() - Constructor for class com.google.common.collect.HashMultiset
Constructs a new empty HashMultiset using the default initial capacity (16 distinct elements) and load factor (0.75).
HashMultiset(int) - Constructor for class com.google.common.collect.HashMultiset
Constructs a new empty HashMultiset with the specified expected number of distinct elements and the default load factor (0.75).
HashMultiset(int, float) - Constructor for class com.google.common.collect.HashMultiset
Constructs a new empty HashMultiset using the specified initial capacity (distinct elements) and load factor.
HashMultiset(Iterable<? extends E>) - Constructor for class com.google.common.collect.HashMultiset
Constructs a new HashMultiset containing the specified elements.
HashMultiset(Multiset<? extends E>) - Constructor for class com.google.common.collect.HashMultiset
Constructs a new HashMultiset containing the specified elements.
hasNext() - Method in class com.google.common.collect.AbstractIterator
 
hasNext() - Method in class com.google.common.collect.ForwardingIterator
 
hasPrevious() - Method in class com.google.common.collect.ForwardingListIterator
 
headMap(K) - Method in class com.google.common.collect.ForwardingSortedMap
 
headSet(E) - Method in class com.google.common.collect.ForwardingSortedSet
 
headSet(E) - Method in class com.google.common.collect.SortedArraySet
 

I

identity() - Static method in class com.google.common.base.Functions
Returns the identity Function.
immutableBiMap() - Static method in class com.google.common.collect.Maps
Creates a new immutable empty BiMap instance.
immutableBiMap(K, V) - Static method in class com.google.common.collect.Maps
Creates a new immutable BiMap instance containing the given key-value pair.
immutableBiMap(K, V, K, V) - Static method in class com.google.common.collect.Maps
Creates a new immutable BiMap instance containing the given key-value pairs.
immutableBiMap(K, V, K, V, K, V) - Static method in class com.google.common.collect.Maps
Creates a new immutable BiMap instance containing the given key-value pairs.
immutableBiMap(K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.Maps
Creates a new immutable BiMap instance containing the given key-value pairs.
immutableBiMap(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.Maps
Creates a new immutable BiMap instance containing the given key-value pairs.
ImmutableBiMapBuilder<K,V> - Class in com.google.common.collect
A convenient way to populate immutable BiMap instances, especially static-final "constant BiMaps".
ImmutableBiMapBuilder() - Constructor for class com.google.common.collect.ImmutableBiMapBuilder
Creates a new ImmutableBiMapBuilder with an unspecified expected size.
ImmutableBiMapBuilder(int) - Constructor for class com.google.common.collect.ImmutableBiMapBuilder
Creates a new ImmutableBiMapBuilder with the given expected size.
immutableEntry(K, V) - Static method in class com.google.common.collect.Maps
Returns an immutable map entry with the specified key and value.
immutableEntry(E, int) - Static method in class com.google.common.collect.Multisets
Returns an immutable multiset entry with the specified element and count.
immutableEnumSet(E, E...) - Static method in class com.google.common.collect.Sets
Returns an immutable Set instance containing the given elements of an enumerated type.
immutableList(E...) - Static method in class com.google.common.collect.Lists
Returns an immutable List instance containing the given elements.
immutableList(Iterable<? extends E>) - Static method in class com.google.common.collect.Lists
Returns an immutable List instance containing the given elements.
immutableList(Iterator<? extends E>) - Static method in class com.google.common.collect.Lists
Returns an immutable List instance containing the given elements.
immutableList(Collection<? extends E>) - Static method in class com.google.common.collect.Lists
Returns an immutable List instance containing the given elements.
immutableList() - Static method in class com.google.common.collect.Lists
Variant of immutableList for zero arguments.
immutableList(E) - Static method in class com.google.common.collect.Lists
Variant of immutableList for one argument.
immutableMap() - Static method in class com.google.common.collect.Maps
Creates a new immutable empty Map instance.
immutableMap(K, V) - Static method in class com.google.common.collect.Maps
Creates a new immutable Map instance containing the given key-value pair.
immutableMap(K, V, K, V) - Static method in class com.google.common.collect.Maps
Creates a new immutable Map instance containing the given key-value pairs.
immutableMap(K, V, K, V, K, V) - Static method in class com.google.common.collect.Maps
Creates a new immutable Map instance containing the given key-value pairs.
immutableMap(K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.Maps
Creates a new immutable Map instance containing the given key-value pairs.
immutableMap(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.Maps
Creates a new immutable Map instance containing the given key-value pairs.
ImmutableMapBuilder<K,V> - Class in com.google.common.collect
A convenient way to populate immutable Map instances, especially static-final "constant Maps".
ImmutableMapBuilder() - Constructor for class com.google.common.collect.ImmutableMapBuilder
Creates a new ImmutableMapBuilder with an unspecified expected size.
ImmutableMapBuilder(int) - Constructor for class com.google.common.collect.ImmutableMapBuilder
Creates a new ImmutableMapBuilder with the given expected size.
immutableMultimap() - Static method in class com.google.common.collect.Multimaps
Returns the immutable empty multimap.
immutableMultimap(K, V) - Static method in class com.google.common.collect.Multimaps
Returns a new immutable multimap containing the specified key-value pair.
immutableMultimap(K, V, K, V) - Static method in class com.google.common.collect.Multimaps
Returns a new immutable multimap containing the specified key-value pairs.
immutableMultimap(K, V, K, V, K, V) - Static method in class com.google.common.collect.Multimaps
Returns a new immutable multimap containing the specified key-value pairs.
immutableMultimap(K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.Multimaps
Returns a new immutable multimap containing the specified key-value pairs.
immutableMultimap(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.Multimaps
Returns a new immutable multimap containing the specified key-value pairs.
ImmutableMultimapBuilder<K,V> - Class in com.google.common.collect
A convenient way to populate immutable Multimap instances, especially static-final "constant Multimaps".
ImmutableMultimapBuilder() - Constructor for class com.google.common.collect.ImmutableMultimapBuilder
Creates a new ImmutableMultimapBuilder
immutableMultiset() - Static method in class com.google.common.collect.Multisets
Returns an immutable empty Multiset.
immutableMultiset(E...) - Static method in class com.google.common.collect.Multisets
Returns an immutable Multiset containing the specified elements.
immutableSet(E...) - Static method in class com.google.common.collect.Sets
Returns an immutable Set instance containing the given elements.
immutableSet() - Static method in class com.google.common.collect.Sets
Optimization of #immutableSet for zero arguments.
immutableSet(E) - Static method in class com.google.common.collect.Sets
Optimization of #immutableSet for one argument.
immutableSet(Collection<E>) - Static method in class com.google.common.collect.Sets
Returns an immutable Set instance containing the elements in the provided set.
immutableSortedSet(E...) - Static method in class com.google.common.collect.Sets
Returns an immutable SortedSet instance containing the given elements sorted by their natural ordering.
immutableSortedSet(Comparator<? super E>, E...) - Static method in class com.google.common.collect.Sets
Returns an immutable SortedSet instance containing the given elements sorted by the given Comparator.
immutableSortedSet() - Static method in class com.google.common.collect.Sets
Returns an empty sorted set.
immutableSortedSet(Comparator<? super E>) - Static method in class com.google.common.collect.Sets
Returns an empty sorted set having the given Comparator.
immutableSortedSet(E) - Static method in class com.google.common.collect.Sets
Returns a sorted set having only the given element.
immutableSortedSet(Comparator<? super E>, E) - Static method in class com.google.common.collect.Sets
Returns a sorted set having only the given element and the given Comparator.
indexOf(Object) - Method in class com.google.common.collect.ForwardingList
 
inverse() - Method in interface com.google.common.collect.BiMap
Returns the inverse view of this bimap, which maps each of this bimap's values to its associated key.
inverseArrayListMultimap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Creates an ArrayListMultimap that's the inverse of the provided multimap.
inverseHashMultimap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Creates a HashMultimap that's the inverse of the provided multimap.
inverseLinkedHashMultimap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Creates a LinkedHashMultimap that's the inverse of the provided multimap.
inverseLinkedListMultimap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Creates a LinkedListMultimap that's the inverse of the provided multimap.
inverseTreeMultimap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Creates a TreeMultimap that's the inverse of the provided multimap.
isEmpty() - Method in class com.google.common.collect.AbstractMultiset
 
isEmpty() - Method in class com.google.common.collect.ForwardingCollection
 
isEmpty() - Method in class com.google.common.collect.ForwardingMap
 
isEmpty() - Method in class com.google.common.collect.ForwardingMultimap
 
isEmpty() - Method in class com.google.common.collect.LinkedListMultimap
 
isEmpty() - Method in class com.google.common.collect.LinkedListMultiset
 
isEmpty() - Method in interface com.google.common.collect.Multimap
Returns true if the multimap contains no key-value pairs.
isEmpty() - Method in class com.google.common.collect.ReferenceMap
 
isEqualTo(T) - Static method in class com.google.common.base.Predicates
Returns a Predicate that evaluates to true iff the object being tested equals() the given target or if both are null.
isNull() - Static method in class com.google.common.base.Predicates
Returns a Predicate that evaluates to true if the object reference being tested is null.
Iterables - Class in com.google.common.collect
This class contains static utility methods that operate on or return objects of type Iterable.
iterator() - Method in class com.google.common.collect.AbstractMultiset
iterator() - Method in class com.google.common.collect.ForwardingCollection
 
iterator() - Method in class com.google.common.collect.LinkedListMultiset
 
iterator() - Method in class com.google.common.collect.SortedArraySet
 
Iterators - Class in com.google.common.collect
This class contains static utility methods that operate on or return objects of type Iterator.

J

Join - Class in com.google.common.base
Join is the only utility for joining pieces of text separated by a delimiter that you will ever need.
join(Appendable, String, Iterator<?>) - Static method in class com.google.common.base.Join
Appends each of the tokens to appendable, separated by delimiter.
join(String, Iterable<?>) - Static method in class com.google.common.base.Join
Returns a String containing the tokens, converted to Strings if necessary, separated by delimiter.
join(Appendable, String, Iterable<?>) - Static method in class com.google.common.base.Join
Variant of Join.join(Appendable,String,Iterator) where tokens is an Iterable.
join(Appendable, String, Object[]) - Static method in class com.google.common.base.Join
Variant of Join.join(Appendable,String,Iterator) where tokens is an array.
join(Appendable, String, Object, Object...) - Static method in class com.google.common.base.Join
Variant of Join.join(Appendable,String,Iterator) for tokens given using varargs.
join(String, Iterator<?>) - Static method in class com.google.common.base.Join
Variant of Join.join(String,Iterable) where tokens is an Iterator.
join(String, Object[]) - Static method in class com.google.common.base.Join
Variant of Join.join(String,Iterable) where tokens is an array.
join(String, Object, Object...) - Static method in class com.google.common.base.Join
Variant of Join.join(String,Iterable) for tokens given using varargs.
Join.JoinException - Exception in com.google.common.base
Thrown in response to an IOException from the supplied Appendable.

K

keyComparator() - Method in class com.google.common.collect.TreeMultimap
Returns the comparator that orders the multimap keys, or null if natural ordering is used.
keys() - Method in class com.google.common.collect.ForwardingMultimap
 
keys() - Method in class com.google.common.collect.LinkedListMultimap
 
keys() - Method in interface com.google.common.collect.Multimap
Returns a collection, which may contain duplicates, of all keys.
keySet() - Method in class com.google.common.collect.ForwardingMap
 
keySet() - Method in class com.google.common.collect.ForwardingMultimap
 
keySet() - Method in class com.google.common.collect.LinkedListMultimap
 
keySet() - Method in interface com.google.common.collect.Multimap
Returns the set of all keys, each appearing once in the returned set.
keySet() - Method in class com.google.common.collect.TreeMultimap
Returns the set of all keys, each appearing once in the returned set.
keyType() - Method in class com.google.common.collect.EnumBiMap
Returns the associated key type.
keyType() - Method in class com.google.common.collect.EnumHashBiMap
Returns the associated key type.

L

last() - Method in class com.google.common.collect.ForwardingSortedSet
 
last() - Method in class com.google.common.collect.LinkedListMultiset
Returns the last element in this multiset.
last() - Method in class com.google.common.collect.SortedArraySet
 
lastIndexOf(Object) - Method in class com.google.common.collect.ForwardingList
 
lastKey() - Method in class com.google.common.collect.ForwardingSortedMap
 
LinkedHashMultimap<K,V> - Class in com.google.common.collect
Implementation of Multimap that does not allow duplicate key-value entries and that returns collections whose iterators follow the ordering in which the data was added to the multimap.
LinkedHashMultimap() - Constructor for class com.google.common.collect.LinkedHashMultimap
Constructs an empty LinkedHashMultimap.
LinkedHashMultimap(Multimap<? extends K, ? extends V>) - Constructor for class com.google.common.collect.LinkedHashMultimap
Constructs a LinkedHashMultimap with the same mappings as the specified Multimap.
LinkedHashMultiset<E> - Class in com.google.common.collect
A Multiset implementation with predictable iteration order.
LinkedHashMultiset() - Constructor for class com.google.common.collect.LinkedHashMultiset
Constructs a new empty LinkedHashMultiset using the default initial capacity (16 distinct elements) and load factor (0.75).
LinkedHashMultiset(int) - Constructor for class com.google.common.collect.LinkedHashMultiset
Constructs a new empty LinkedHashMultiset with the specified expected number of distinct elements and the default load factor (0.75).
LinkedHashMultiset(Iterable<? extends E>) - Constructor for class com.google.common.collect.LinkedHashMultiset
Constructs a new LinkedHashMultiset containing the specified elements.
LinkedHashMultiset(Multiset<? extends E>) - Constructor for class com.google.common.collect.LinkedHashMultiset
Constructs a new LinkedHashMultiset containing the specified elements.
LinkedListMultimap<K,V> - Class in com.google.common.collect
An implementation of ListMultimap that supports deterministic iteration order for both keys and values.
LinkedListMultimap() - Constructor for class com.google.common.collect.LinkedListMultimap
Constructs an empty LinkedListMultimap.
LinkedListMultimap(Multimap<? extends K, ? extends V>) - Constructor for class com.google.common.collect.LinkedListMultimap
Constructs a LinkedListMultimap with the same mappings as the specified Multimap.
LinkedListMultiset<E> - Class in com.google.common.collect
An implementation of Multiset that supports deterministic iteration order for elements.
LinkedListMultiset() - Constructor for class com.google.common.collect.LinkedListMultiset
Constructs a new empty LinkedListMultiset.
LinkedListMultiset(Iterable<? extends E>) - Constructor for class com.google.common.collect.LinkedListMultiset
Constructs a new LinkedListMultiset containing the specified elements.
listIterator() - Method in class com.google.common.collect.ForwardingList
 
listIterator(int) - Method in class com.google.common.collect.ForwardingList
 
listIterator() - Method in class com.google.common.collect.LinkedListMultiset
 
ListMultimap<K,V> - Interface in com.google.common.collect
A Multimap that can hold duplicate key-value pairs and that maintains the insertion ordering of values for a given key.
Lists - Class in com.google.common.collect
Provides static methods for creating List instances easily, and other utility methods for working with lists.

M

MapConstraint<K,V> - Interface in com.google.common.collect
Interface for defining a constraint on the types of keys and values that are allowed to be added to a Map or Multimap.
MapConstraints - Class in com.google.common.collect
Factory and utilities pertaining to the MapConstraint interface.
Maps - Class in com.google.common.collect
Provides static methods for creating mutable Map instances easily.
max(T, T) - Static method in class com.google.common.collect.Comparators
Returns the larger of the two values, according to their natural ordering.
max(Comparator<? super T>, T, T) - Static method in class com.google.common.collect.Comparators
Returns the larger of the two values according to the specified comparator.
min(T, T) - Static method in class com.google.common.collect.Comparators
Returns the smaller of the two values, according to their natural ordering.
min(Comparator<? super T>, T, T) - Static method in class com.google.common.collect.Comparators
Returns the smaller of the two values according to the specified comparator.
Multimap<K,V> - Interface in com.google.common.collect
A collection similar to a Map, but which may associate multiple values with a single key.
Multimaps - Class in com.google.common.collect
Provides static methods acting on or generating a Multimap.
Multiset<E> - Interface in com.google.common.collect
An unordered collection similar to a Set, but which may contain duplicate elements.
Multiset.Entry<E> - Interface in com.google.common.collect
A multiset entry (element-count pair).
Multisets - Class in com.google.common.collect
Provides static utility methods for creating and working with Multiset instances.

N

narrow(Function<? super A, ? extends B>) - Static method in class com.google.common.base.Functions
Casts a Function to a more restrictive type for use with methods requiring unnecessarily specific Function types.
naturalOrder() - Static method in class com.google.common.collect.Comparators
Returns a comparator that uses the natural ordering of values as defined by Comparable.
newArray(Iterable<T>, Class<T>) - Static method in class com.google.common.collect.Iterables
Converts an Iterable into an array.
newArray(Iterator<T>, Class<T>) - Static method in class com.google.common.collect.Iterators
Converts an Iterator into an array.
newArray(Class<T>, int) - Static method in class com.google.common.collect.ObjectArrays
Returns a new array with the specified component type and length.
newArrayList() - Static method in class com.google.common.collect.Lists
Creates an empty ArrayList instance.
newArrayList(E...) - Static method in class com.google.common.collect.Lists
Creates a resizable ArrayList instance containing the given elements.
newArrayList(Iterable<? extends E>) - Static method in class com.google.common.collect.Lists
Creates an ArrayList instance containing the given elements.
newArrayList(Iterator<? extends E>) - Static method in class com.google.common.collect.Lists
Creates an ArrayList instance containing the given elements.
newArrayListMultimap() - Static method in class com.google.common.collect.Multimaps
Creates an empty ArrayListMultimap instance.
newArrayListMultimap(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.Multimaps
Creates an ArrayListMultimap instance initialized with all elements from the supplied Multimap.
newArrayListWithCapacity(int) - Static method in class com.google.common.collect.Lists
Creates an ArrayList instance with the given initial capacity.
newArrayListWithExpectedSize(int) - Static method in class com.google.common.collect.Lists
Creates an ArrayList instance with the given expected size.
newBiMap(Map<K, V>, Map<V, K>) - Static method in class com.google.common.collect.Maps
Returns a new BiMap, backed by the two supplied empty maps.
newClassToInstanceMap() - Static method in class com.google.common.collect.Maps
Returns a new ClassToInstanceMap instance backed by a HashMap using the default initial capacity and load factor.
newClassToInstanceMap(Map<Class<? extends B>, B>) - Static method in class com.google.common.collect.Maps
Returns a new ClassToInstanceMap instance backed by a given empty backingMap.
newConcurrentHashMap() - Static method in class com.google.common.collect.Maps
Creates a ConcurrentHashMap instance.
newConcurrentHashSet() - Static method in class com.google.common.collect.Sets
Creates a thread-safe set backed by a hash map.
newConcurrentHashSet(E...) - Static method in class com.google.common.collect.Sets
Creates a thread-safe set backed by a hash map, and containing the given elements.
newConcurrentHashSet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a thread-safe set backed by a hash map, and containing the given elements.
newConcurrentHashSet(Iterator<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a thread-safe set backed by a hash map, and containing the given elements.
newEnumBiMap(Class<K>, Class<V>) - Static method in class com.google.common.collect.Maps
Returns a new empty EnumBiMap using the specified key type and value type.
newEnumHashBiMap(Class<K>) - Static method in class com.google.common.collect.Maps
Returns a new empty EnumHashBiMap using the specified key type, sized to contain an entry for every possible key.
newEnumMap(Class<K>) - Static method in class com.google.common.collect.Maps
Creates an EnumMap instance.
newEnumMultiset(Class<E>) - Static method in class com.google.common.collect.Multisets
Creates a new empty EnumMultiset.
newEnumMultiset(Iterable<E>) - Static method in class com.google.common.collect.Multisets
Creates a new EnumMultiset containing the specified elements.
newEnumMultiset(E...) - Static method in class com.google.common.collect.Multisets
Creates a new EnumMultiset containing the specified elements.
newHashBiMap() - Static method in class com.google.common.collect.Maps
Returns a new empty HashBiMap with the default initial capacity (16) and load factor (0.75).
newHashMap() - Static method in class com.google.common.collect.Maps
Creates a HashMap instance.
newHashMap(Map<K, V>) - Static method in class com.google.common.collect.Maps
Creates a HashMap instance with the same mappings as the specified map.
newHashMapWithExpectedSize(int) - Static method in class com.google.common.collect.Maps
Creates a HashMap instance with enough capacity to hold the specified number of elements without rehashing.
newHashMultimap() - Static method in class com.google.common.collect.Multimaps
Creates an empty HashMultimap instance.
newHashMultimap(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.Multimaps
Creates a HashMultimap instance initialized with all elements from the supplied Multimap.
newHashMultiset() - Static method in class com.google.common.collect.Multisets
Creates a new empty HashMultiset using the default initial capacity (16 distinct elements) and load factor (0.75).
newHashMultiset(E...) - Static method in class com.google.common.collect.Multisets
Creates a new HashMultiset containing the specified elements, using the default initial capacity (16 distinct elements) and load factor (0.75).
newHashMultiset(Iterable<? extends E>) - Static method in class com.google.common.collect.Multisets
Creates a new HashMultiset containing the specified elements.
newHashSet() - Static method in class com.google.common.collect.Sets
Creates an empty HashSet instance.
newHashSet(E...) - Static method in class com.google.common.collect.Sets
Creates a HashSet instance containing the given elements.
newHashSet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a HashSet instance containing the given elements.
newHashSet(Iterator<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a HashSet instance containing the given elements.
newIdentityHashMap() - Static method in class com.google.common.collect.Maps
Creates a IdentityHashMap instance.
newLinkedHashMap() - Static method in class com.google.common.collect.Maps
Creates an insertion-ordered LinkedHashMap instance.
newLinkedHashMap(Map<K, V>) - Static method in class com.google.common.collect.Maps
Creates an insertion-ordered LinkedHashMap instance with the same mappings as the specified map.
newLinkedHashMultimap() - Static method in class com.google.common.collect.Multimaps
Creates an empty LinkedHashMultimap instance.
newLinkedHashMultimap(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.Multimaps
Creates a LinkedHashMultimap instance initialized with all elements from the supplied Multimap.
newLinkedHashSet() - Static method in class com.google.common.collect.Sets
Creates an empty LinkedHashSet instance.
newLinkedHashSet(E...) - Static method in class com.google.common.collect.Sets
Creates a LinkedHashSet instance containing the given elements.
newLinkedHashSet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a LinkedHashSet instance containing the given elements.
newLinkedHashSet(Iterator<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a LinkedHashSet instance containing the given elements.
newLinkedList() - Static method in class com.google.common.collect.Lists
Creates an empty LinkedList instance.
newLinkedList(E...) - Static method in class com.google.common.collect.Lists
Creates a LinkedList instance containing the given elements.
newLinkedList(Iterable<? extends E>) - Static method in class com.google.common.collect.Lists
Creates a LinkedList instance containing the given elements.
newLinkedList(Iterator<? extends E>) - Static method in class com.google.common.collect.Lists
Creates a LinkedList instance containing the given elements.
newLinkedListMultimap() - Static method in class com.google.common.collect.Multimaps
Creates an empty LinkedListMultimap instance.
newLinkedListMultimap(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.Multimaps
Creates a LinkedListMultimap instance initialized with all elements from the supplied Multimap.
newListMultimap(Map<K, Collection<V>>, Supplier<? extends List<V>>) - Static method in class com.google.common.collect.Multimaps
Creates a new ListMultimap that uses the provided map and factory.
newMultimap(Map<K, Collection<V>>, Supplier<? extends Collection<V>>) - Static method in class com.google.common.collect.Multimaps
Creates a new Multimap that uses the provided map and factory.
newSetFromMap(Map<E, Boolean>) - Static method in class com.google.common.collect.Sets
Returns a set backed by the specified map.
newSetMultimap(Map<K, Collection<V>>, Supplier<? extends Set<V>>) - Static method in class com.google.common.collect.Multimaps
Creates a new SetMultimap that uses the provided map and factory.
newSortedArraySet() - Static method in class com.google.common.collect.Sets
Creates an empty SortedArraySet instance, with an initial capacity of zero.
newSortedArraySet(Comparator<? super E>) - Static method in class com.google.common.collect.Sets
Creates an empty SortedArraySet instance, with an initial capacity of zero.
newSortedArraySet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a SortedArraySet instance containing the given elements.
newSortedArraySet(Iterable<? extends E>, Comparator<? super E>) - Static method in class com.google.common.collect.Sets
Creates a SortedArraySet instance containing the given elements.
newSortedArraySet(Comparator<? super E>, E...) - Static method in class com.google.common.collect.Sets
Creates a SortedArraySet instance containing the given elements.
newSortedArraySet(E...) - Static method in class com.google.common.collect.Sets
Creates a SortedArraySet instance containing the given elements.
newSortedSetMultimap(Map<K, Collection<V>>, Supplier<? extends SortedSet<V>>) - Static method in class com.google.common.collect.Multimaps
Creates a new SortedSetMultimap that uses the provided map and factory.
newTreeMap() - Static method in class com.google.common.collect.Maps
Creates a TreeMap instance using the natural-order Comparator.
newTreeMap(Comparator<C>) - Static method in class com.google.common.collect.Maps
Creates a TreeMap instance using the given comparator.
newTreeMultimap() - Static method in class com.google.common.collect.Multimaps
Creates an empty TreeMultimap instance using the natural ordering of keys and values.
newTreeMultimap(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.Multimaps
Constructs a TreeMultimap with the same mappings as the specified Multimap.
newTreeMultimap(Comparator<? super K>, Comparator<? super V>) - Static method in class com.google.common.collect.Multimaps
Creates an empty TreeMultimap instance using explicit comparators.
newTreeMultimap(Comparator<? super K>, Comparator<? super V>, Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.Multimaps
Creates a TreeMultimap instance using explicit comparators, initialized with all elements from the supplied Multimap.
newTreeMultiset() - Static method in class com.google.common.collect.Multisets
Creates an empty TreeMultiset instance.
newTreeMultiset(Comparator<? super E>) - Static method in class com.google.common.collect.Multisets
Creates an empty TreeMultiset instance, sorted according to the specified comparator.
newTreeSet() - Static method in class com.google.common.collect.Sets
Creates a TreeSet instance using the default Comparator.
newTreeSet(E...) - Static method in class com.google.common.collect.Sets
Creates a TreeSet instance using the default Comparator and containing the given elements.
newTreeSet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a TreeSet instance using the default Comparator and containing the given elements.
newTreeSet(Iterator<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a TreeSet instance using the default Comparator and containing the given elements.
newTreeSet(Comparator<? super E>) - Static method in class com.google.common.collect.Sets
Creates a TreeSet instance using the given Comparator.
newTreeSet(Comparator<? super E>, E...) - Static method in class com.google.common.collect.Sets
Creates a TreeSet instance using the given Comparator and containing the given elements.
newTreeSet(Comparator<? super E>, Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a TreeSet instance using the given Comparator and containing the given elements.
newTreeSet(Comparator<? super E>, Iterator<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a TreeSet instance using the given Comparator and containing the given elements.
next() - Method in class com.google.common.collect.AbstractIterator
 
next() - Method in class com.google.common.collect.AbstractRemovableIterator
 
next() - Method in class com.google.common.collect.ForwardingIterator
 
nextIndex() - Method in class com.google.common.collect.ForwardingListIterator
 
nonNull(T) - Static method in class com.google.common.base.Objects
Checks that the specified object is not null.
nonNull(T, String) - Static method in class com.google.common.base.Objects
Checks that the specified object is not null.
not(Predicate<? super T>) - Static method in class com.google.common.base.Predicates
Returns a Predicate that evaluates to true iff the given Predicate evaluates to false.
NOT_NULL - Static variable in class com.google.common.collect.Constraints
A constraint that verifies that the element is not null.
NOT_NULL - Static variable in class com.google.common.collect.MapConstraints
A constraint that verifies that neither the key nor the value is null.
Nullable - Annotation Type in com.google.common.base
The presence of this annotation on a method parameter indicates that null is an acceptable value for that parameter.
nullGreatestOrder(Comparator<T>) - Static method in class com.google.common.collect.Comparators
Returns a comparator that treats null as greater than all other values, and uses the given comparator to compare non-null values.
nullGreatestOrder() - Static method in class com.google.common.collect.Comparators
Returns a comparator that uses the natural ordering of values, but also handles null values, treating them as greater than all other values.
nullLeastOrder(Comparator<T>) - Static method in class com.google.common.collect.Comparators
Returns a comparator that treats null as less than all other values, and uses comparator to compare non-null values.
nullLeastOrder() - Static method in class com.google.common.collect.Comparators
Returns a comparator that uses the natural ordering of values, but also handles null values, treating them as less than all other values.

O

ObjectArrays - Class in com.google.common.collect
Static utility methods pertaining to object arrays.
Objects - Class in com.google.common.base
Helper functions for operating on Objects.
offer(E) - Method in class com.google.common.collect.ForwardingQueue
 
or(Iterable<? extends Predicate<? super T>>) - Static method in class com.google.common.base.Predicates
Returns a Predicate that evaluates to true iff any one of its components evaluates to true.
or(Predicate<? super T>...) - Static method in class com.google.common.base.Predicates
Returns a Predicate that evaluates to true iff any one of its components evaluates to true.

P

partition(Iterable<? extends T>, int, boolean) - Static method in class com.google.common.collect.Iterables
Partition an iterable into sub iterables of the given size like so: {A, B, C, D, E, F} with partition size 3 => {A, B, C} and {D, E, F}.
partition(Iterator<? extends T>, int, boolean) - Static method in class com.google.common.collect.Iterators
Partition an iterator into sub iterators of the given size like so: {A, B, C, D, E, F} with partition size 3 => {A, B, C} and {D, E, F}.
peek() - Method in class com.google.common.collect.ForwardingQueue
 
poll() - Method in class com.google.common.collect.ForwardingQueue
 
Preconditions - Class in com.google.common.base
Contains static methods that can be called at the start of your methods to verify correct arguments and state.
Predicate<T> - Interface in com.google.common.base
A Predicate can determine a true or false value for any input of its parameterized type.
Predicates - Class in com.google.common.base
Predicates contains static methods for creating the standard set of Predicate objects.
previous() - Method in class com.google.common.collect.ForwardingListIterator
 
previousIndex() - Method in class com.google.common.collect.ForwardingListIterator
 
PrimitiveArrays - Class in com.google.common.collect
Static utility methods pertaining to arrays of Java primitives.
put(K, V) - Method in interface com.google.common.collect.BiMap
put(K, V) - Method in class com.google.common.collect.EnumHashBiMap
Constructs a new bimap with the same key type as the specified map, initially containing the same mappings (if any).
put(K, V) - Method in class com.google.common.collect.ForwardingMap
 
put(K, V) - Method in class com.google.common.collect.ForwardingMultimap
 
put(K, V) - Method in class com.google.common.collect.HashBiMap
 
put(K, V) - Method in class com.google.common.collect.ImmutableBiMapBuilder
Adds a key-value mapping to the map that will be returned by getBiMap().
put(K, V) - Method in class com.google.common.collect.ImmutableMapBuilder
Adds a key-value mapping to the map that will be returned by getMap.
put(K, V) - Method in class com.google.common.collect.ImmutableMultimapBuilder
Adds a key-value mapping to the map that will be returned by getMultimap.
put(K, V) - Method in class com.google.common.collect.LinkedListMultimap
Stores a key-value pair in the multimap.
put(K, V) - Method in interface com.google.common.collect.Multimap
Stores a key-value pair in the multimap.
put(K, V) - Method in class com.google.common.collect.ReferenceMap
 
putAll(Map<? extends K, ? extends V>) - Method in interface com.google.common.collect.BiMap
putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.ForwardingMap
 
putAll(K, Iterable<? extends V>) - Method in class com.google.common.collect.ForwardingMultimap
 
putAll(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.ForwardingMultimap
 
putAll(K, Iterable<? extends V>) - Method in class com.google.common.collect.ImmutableMultimapBuilder
Stores a collection of values with the same key into the multimap that will be returned by getMultimap.
putAll(K, V...) - Method in class com.google.common.collect.ImmutableMultimapBuilder
Stores an array of values with the same key into the multimap that will be returned by getMultimap.
putAll(K, Iterable<? extends V>) - Method in class com.google.common.collect.LinkedListMultimap
 
putAll(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.LinkedListMultimap
 
putAll(K, Iterable<? extends V>) - Method in interface com.google.common.collect.Multimap
Stores a collection of values with the same key.
putAll(Multimap<? extends K, ? extends V>) - Method in interface com.google.common.collect.Multimap
Copies all of another multimap's key-value pairs into this multimap.
putIfAbsent(K, V) - Method in class com.google.common.collect.ReferenceMap
 
putInstance(Class<T>, T) - Method in interface com.google.common.collect.ClassToInstanceMap
Maps the specified class to the specified value.

R

ReferenceMap<K,V> - Class in com.google.common.collect
A ConcurrentMap implementation that internally utilizes your choice of strong, soft or weak references for its keys and for its values.
ReferenceMap(ReferenceType, ReferenceType) - Constructor for class com.google.common.collect.ReferenceMap
Constructs an empty instance, using the given reference types for keys and values.
ReferenceMap(ReferenceType, ReferenceType, ConcurrentMap<Object, Object>) - Constructor for class com.google.common.collect.ReferenceMap
Constructs an empty instance, using the given backing map and the given reference types for keys and values.
ReferenceType - Enum in com.google.common.base
Reference type.
remove() - Method in class com.google.common.collect.AbstractIterator
 
remove(Object) - Method in class com.google.common.collect.AbstractMultiset
remove(Object, int) - Method in class com.google.common.collect.AbstractMultiset
Removes a number of occurrences of the specified element from this multiset.
remove(T) - Method in class com.google.common.collect.AbstractRemovableIterator
Removes element from the backing data source.
remove() - Method in class com.google.common.collect.AbstractRemovableIterator
 
remove(Object, int) - Method in class com.google.common.collect.ConcurrentMultiset
Removes a number of occurrences of the specified element from this multiset.
remove(Object) - Method in class com.google.common.collect.ForwardingCollection
 
remove() - Method in class com.google.common.collect.ForwardingIterator
 
remove(int) - Method in class com.google.common.collect.ForwardingList
 
remove(Object) - Method in class com.google.common.collect.ForwardingMap
 
remove(Object, Object) - Method in class com.google.common.collect.ForwardingMultimap
 
remove(Object, int) - Method in class com.google.common.collect.ForwardingMultiset
 
remove() - Method in class com.google.common.collect.ForwardingQueue
 
remove(Object, Object) - Method in class com.google.common.collect.LinkedListMultimap
 
remove(Object) - Method in class com.google.common.collect.LinkedListMultiset
 
remove(Object, int) - Method in class com.google.common.collect.LinkedListMultiset
 
remove(Object, Object) - Method in interface com.google.common.collect.Multimap
Removes a key-value pair from the multimap.
remove(Object, int) - Method in interface com.google.common.collect.Multiset
Removes a number of occurrences of the specified element from this multiset.
remove(Object) - Method in class com.google.common.collect.ReferenceMap
 
remove(Object, Object) - Method in class com.google.common.collect.ReferenceMap
 
remove(Object) - Method in class com.google.common.collect.SortedArraySet
 
removeAll(Collection<?>) - Method in class com.google.common.collect.AbstractMultiset
removeAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
 
removeAll(Object) - Method in class com.google.common.collect.ForwardingMultimap
 
removeAll(Object) - Method in class com.google.common.collect.LinkedListMultimap
 
removeAll(Collection<?>) - Method in class com.google.common.collect.LinkedListMultiset
 
removeAll(Object) - Method in interface com.google.common.collect.ListMultimap
Removes all values associated with a given key.
removeAll(Object) - Method in interface com.google.common.collect.Multimap
Removes all values associated with a given key.
removeAll(Object) - Method in interface com.google.common.collect.SetMultimap
Removes all values associated with a given key.
removeAll(Object) - Method in interface com.google.common.collect.SortedSetMultimap
Removes all values associated with a given key.
removeAllOccurrences(Object) - Method in class com.google.common.collect.AbstractMultiset
Removes all occurrences of the specified element from this multiset.
removeAllOccurrences(Object) - Method in class com.google.common.collect.ConcurrentMultiset
Removes all occurrences of the specified element from this multiset.
removeAllOccurrences(Object) - Method in class com.google.common.collect.ForwardingMultiset
 
removeAllOccurrences(Object) - Method in class com.google.common.collect.LinkedListMultiset
 
removeAllOccurrences(Object) - Method in interface com.google.common.collect.Multiset
Removes all occurrences of the specified element from this multiset.
removeExactly(Object, int) - Method in class com.google.common.collect.ConcurrentMultiset
Removes exactly the specified number of occurrences of element, or makes no change if this is not possible.
replace(K, V) - Method in class com.google.common.collect.ReferenceMap
 
replace(K, V, V) - Method in class com.google.common.collect.ReferenceMap
 
replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.ForwardingMultimap
 
replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.LinkedHashMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.LinkedListMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.ListMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.Multimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.SetMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.SortedSetMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
retainAll(Collection<?>) - Method in class com.google.common.collect.AbstractMultiset
retainAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
 
retainAll(Collection<?>) - Method in class com.google.common.collect.LinkedListMultiset
 
reverse(List<T>) - Static method in class com.google.common.collect.Iterables
Adapt a list to an Iterable over a reversed version of the list.
rotate(List<T>, int) - Static method in class com.google.common.collect.Iterables
Provides a rotated view of a list.

S

SerializableComparator<T> - Interface in com.google.common.collect
A serializable comparator.
set(int, E) - Method in class com.google.common.collect.ForwardingList
 
set(E) - Method in class com.google.common.collect.ForwardingListIterator
 
setCount(E, int) - Method in class com.google.common.collect.ConcurrentMultiset
Adds or removes occurrences of element such that the ConcurrentMultiset.count(java.lang.Object) of the element becomes count.
setCount(E, int, int) - Method in class com.google.common.collect.ConcurrentMultiset
Sets the number of occurrences of element to newCount, as does ConcurrentMultiset.setCount(Object,int), but only if the count is currently oldCount.
SetMultimap<K,V> - Interface in com.google.common.collect
A Multimap that cannot hold duplicate key-value pairs.
Sets - Class in com.google.common.collect
Provides static methods for creating mutable Set instances easily and other static methods for working with Sets.
setValue(V) - Method in class com.google.common.collect.AbstractMapEntry
setValue(V) - Method in class com.google.common.collect.ForwardingMapEntry
 
size() - Method in class com.google.common.collect.AbstractMultiset
size() - Method in class com.google.common.collect.ConcurrentMultiset
size() - Method in class com.google.common.collect.ForwardingCollection
 
size() - Method in class com.google.common.collect.ForwardingMap
 
size() - Method in class com.google.common.collect.ForwardingMultimap
 
size() - Method in class com.google.common.collect.LinkedListMultimap
 
size() - Method in interface com.google.common.collect.Multimap
Returns the number of key-value pairs in the multimap.
size() - Method in class com.google.common.collect.ReferenceMap
 
size() - Method in class com.google.common.collect.SortedArraySet
 
SortedArraySet<E> - Class in com.google.common.collect
A sorted set that keeps its elements in a sorted ArrayList.
SortedArraySet() - Constructor for class com.google.common.collect.SortedArraySet
Constructs a new empty sorted set, sorted according to the element's natural order, with an initial capacity of ten.
SortedArraySet(int) - Constructor for class com.google.common.collect.SortedArraySet
Constructs a new empty sorted set, sorted according to the element's natural order, with the specified initial capacity.
SortedArraySet(Comparator<? super E>) - Constructor for class com.google.common.collect.SortedArraySet
Creates a new empty sorted set, sorted according to the specified comparator, with the initial capacity of ten.
SortedArraySet(Comparator<? super E>, int) - Constructor for class com.google.common.collect.SortedArraySet
Creates a new empty sorted set, sorted according to the specified comparator, with the specified initial capacity.
SortedArraySet(Collection<? extends E>) - Constructor for class com.google.common.collect.SortedArraySet
Creates a new sorted set with the same elements as the specified collection.
SortedArraySet(SortedSet<E>) - Constructor for class com.google.common.collect.SortedArraySet
Creates a new sorted set with the same elements and the same ordering as the specified sorted set.
sortedCopy(Iterable<E>) - Static method in class com.google.common.collect.Lists
Returns a copy of the given iterable sorted by the natural ordering of its elements.
sortedCopy(Iterable<E>, Comparator<? super E>) - Static method in class com.google.common.collect.Lists
Returns a copy of the given iterable sorted by an explicit comparator.
sortedKeySet(SortedMap<K, V>) - Static method in class com.google.common.collect.Maps
Returns a sorted set view of the keys contained in the specified map.
SortedSetMultimap<K,V> - Interface in com.google.common.collect
A SetMultimap whose set of values for a given key are kept sorted; that is, they comprise a SortedSet.
STRING_FORM_ORDER - Static variable in class com.google.common.collect.Comparators
A comparator that compares objects by the natural ordering of their string representations as returned by toString.
subList(int, int) - Method in class com.google.common.collect.ForwardingList
 
subMap(K, K) - Method in class com.google.common.collect.ForwardingSortedMap
 
subSet(E, E) - Method in class com.google.common.collect.ForwardingSortedSet
 
subSet(E, E) - Method in class com.google.common.collect.SortedArraySet
 
Supplier<T> - Interface in com.google.common.base
A class that can supply objects of a single type.
synchronizedBiMap(BiMap<K, V>) - Static method in class com.google.common.collect.Maps
Returns a synchronized (thread-safe) bimap backed by the specified bimap.
synchronizedListMultimap(ListMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns a synchronized (thread-safe) ListMultimap backed by the specified multimap.
synchronizedMultimap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns a synchronized (thread-safe) multimap backed by the specified multimap.
synchronizedMultiset(Multiset<E>) - Static method in class com.google.common.collect.Multisets
Returns a synchronized (thread-safe) multiset backed by the specified multiset.
synchronizedSetMultimap(SetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns a synchronized (thread-safe) SetMultimap backed by the specified multimap.
synchronizedSortedSetMultimap(SortedSetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns a synchronized (thread-safe) SortedSetMultimap backed by the specified multimap.

T

tailMap(K) - Method in class com.google.common.collect.ForwardingSortedMap
 
tailSet(E) - Method in class com.google.common.collect.ForwardingSortedSet
 
tailSet(E) - Method in class com.google.common.collect.SortedArraySet
 
TO_STRING - Static variable in class com.google.common.base.Functions
A function that returns Object.toString() of its argument.
toArray() - Method in class com.google.common.collect.ConcurrentMultiset
 
toArray(T[]) - Method in class com.google.common.collect.ConcurrentMultiset
 
toArray() - Method in class com.google.common.collect.ForwardingCollection
 
toArray(T[]) - Method in class com.google.common.collect.ForwardingCollection
 
toArray() - Method in class com.google.common.collect.LinkedListMultiset
 
toArray(T[]) - Method in class com.google.common.collect.LinkedListMultiset
 
toBooleanArray(Collection<Boolean>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a Collection of Boolean instances (wrapper objects) into a new array of primitive booleans.
toByteArray(Collection<Byte>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a Collection of Byte instances (wrapper objects) into a new array of primitive bytes.
toCharArray(Collection<Character>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a Collection of Character instances (wrapper objects) into a new array of primitive chars.
toDoubleArray(Collection<Double>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a Collection of Double instances (wrapper objects) into a new array of primitive doubles.
toFloatArray(Collection<Float>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a Collection of Float instances (wrapper objects) into a new array of primitive floats.
toIntArray(Collection<Integer>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a Collection of Integer instances (wrapper objects) into a new array of primitive ints.
toLongArray(Collection<Long>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a Collection of Long instances (wrapper objects) into a new array of primitive longs.
toShortArray(Collection<Short>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a Collection of Short instances (wrapper objects) into a new array of primitive shorts.
toString() - Method in class com.google.common.collect.AbstractIterable
Returns a string representation of this iterable.
toString() - Method in class com.google.common.collect.AbstractMapEntry
 
toString() - Method in class com.google.common.collect.AbstractMultiset
toString() - Method in class com.google.common.collect.AbstractMultisetEntry
toString() - Method in interface com.google.common.collect.Constraint
Returns a brief human readable description of this constraint, such as "Not null" or "Positive number".
toString() - Method in class com.google.common.collect.ForwardingObject
 
toString(Iterable<?>) - Static method in class com.google.common.collect.Iterables
Returns a string representation of iterable in the same format as Iterators#toString(java.util.Iterator).
toString(Iterator<?>) - Static method in class com.google.common.collect.Iterators
Returns a string representation of the elements in iterator, in the format "[e1, e2, ..., en]".
toString() - Method in class com.google.common.collect.LinkedListMultimap
Returns a string representation of the multimap, generated by calling toString on the map returned by Multimap.asMap().
toString() - Method in class com.google.common.collect.LinkedListMultiset
transform(Iterable<F>, Function<? super F, ? extends T>) - Static method in class com.google.common.collect.Iterables
Returns an iterable that applies function to each element of fromIterable.
transform(Iterator<F>, Function<? super F, ? extends T>) - Static method in class com.google.common.collect.Iterators
Returns an iterator that applies function to each element of fromIterator.
transform(List<F>, Function<? super F, ? extends T>) - Static method in class com.google.common.collect.Lists
Returns a list that applies function to each element of fromList.
TreeMultimap<K,V> - Class in com.google.common.collect
Implementation of Multimap whose keys and values are ordered by their natural ordering or by supplied comparators.
TreeMultimap() - Constructor for class com.google.common.collect.TreeMultimap
Constructs an empty TreeMultimap using the natural ordering of the key and value classes.
TreeMultimap(Comparator<? super K>, Comparator<? super V>) - Constructor for class com.google.common.collect.TreeMultimap
Constructs an empty TreeMultimap with explicit comparators.
TreeMultimap(Multimap<? extends K, ? extends V>) - Constructor for class com.google.common.collect.TreeMultimap
Constructs a TreeMultimap with the same mappings as the specified Multimap.
TreeMultimap(Comparator<? super K>, Comparator<? super V>, Multimap<? extends K, ? extends V>) - Constructor for class com.google.common.collect.TreeMultimap
Constructs a TreeMultimap with the same mappings as the specified Multimap.
TreeMultiset<E> - Class in com.google.common.collect
Multiset implementation backed by a TreeMap.
TreeMultiset() - Constructor for class com.google.common.collect.TreeMultiset
Constructs a new, empty multiset, sorted according to the elements' natural order.
TreeMultiset(Comparator<? super E>) - Constructor for class com.google.common.collect.TreeMultiset
Constructs a new, empty multiset, sorted according to the specified comparator.
TreeMultiset(Iterable<? extends E>) - Constructor for class com.google.common.collect.TreeMultiset
Constructs an empty multiset containing the given initial elements, sorted according to the elements' natural order.
trimToSize() - Method in class com.google.common.collect.SortedArraySet
Trims the capacity of this sorted set to be the set's current size.

U

uniqueIndex(Iterable<? extends V>, Function<? super V, ? extends K>) - Static method in class com.google.common.collect.Maps
Creates an index Map that contains the results of applying a specified function to each item in an Iterable of values.
uniqueIndex(Collection<? extends V>, Function<? super V, ? extends K>) - Static method in class com.google.common.collect.Maps
Creates an index Map that contains the results of applying a specified function to each item in a Collection of values.
uniqueIndex(Iterator<? extends V>, Function<? super V, ? extends K>) - Static method in class com.google.common.collect.Maps
Creates an index Map that contains the results of applying a specified function to each item in an Iterator of values.
unmodifiableBiMap(BiMap<K, V>) - Static method in class com.google.common.collect.Maps
Returns an unmodifiable view of the specified bimap.
unmodifiableIterable(Iterable<T>) - Static method in class com.google.common.collect.Iterables
Returns an unmodifiable view of iterable.
unmodifiableIterator(Iterator<T>) - Static method in class com.google.common.collect.Iterators
Returns an unmodifiable view of iterator.
unmodifiableListMultimap(ListMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns an unmodifiable view of the specified ListMultimap.
unmodifiableMultimap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns an unmodifiable view of the specified multimap.
unmodifiableMultiset(Multiset<E>) - Static method in class com.google.common.collect.Multisets
Returns an unmodifiable view of the specified multiset.
unmodifiableSetMultimap(SetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns an unmodifiable view of the specified SetMultimap.
unmodifiableSortedSetMultimap(SortedSetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns an unmodifiable view of the specified SortedSetMultimap.

V

valueComparator() - Method in class com.google.common.collect.TreeMultimap
Returns the comparator that orders the multimap values, or null if natural ordering is used.
valueOf(String) - Static method in enum com.google.common.base.ReferenceType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.common.base.ReferenceType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Method in interface com.google.common.collect.BiMap
values() - Method in class com.google.common.collect.ForwardingMap
 
values() - Method in class com.google.common.collect.ForwardingMultimap
 
values() - Method in class com.google.common.collect.LinkedHashMultimap
Returns a collection of all values in the multimap.
values() - Method in class com.google.common.collect.LinkedListMultimap
Returns a collection of all values in the multimap.
values() - Method in interface com.google.common.collect.Multimap
Returns a collection of all values in the multimap.
valueType() - Method in class com.google.common.collect.EnumBiMap
Returns the associated value type.

A B C D E F G H I J K L M N O P R S T U V