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).