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
Adds a single occurrence of the specified element to this multiset.
add(E, int) - Method in class com.google.common.collect.AbstractMultiset
Adds a number of occurrences of an 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.ImmutableCollection
Guaranteed to throw an exception and leave the collection unmodified.
add(int, E) - Method in class com.google.common.collect.ImmutableList
Guaranteed to throw an exception and leave the list unmodified.
add(E, int) - Method in interface com.google.common.collect.Multiset
Adds a number of occurrences of an element to this multiset.
add(E) - Method in interface com.google.common.collect.Multiset
Adds a single occurrence of the specified element to this multiset.
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<? extends E>) - Method in class com.google.common.collect.ImmutableCollection
Guaranteed to throw an exception and leave the collection unmodified.
addAll(int, Collection<? extends E>) - Method in class com.google.common.collect.ImmutableList
Guaranteed to throw an exception and leave the list unmodified.
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.
all(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
Returns true if every element in iterable satisfies the predicate.
all(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
Returns true if every element returned by iterator satisfies the given 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.
and(Predicate<? super T>, Predicate<? super T>) - Static method in class com.google.common.base.Predicates
Returns a predicate that evaluates to true iff both of its components evaluate to true.
any(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
Returns true if one or more elements in iterable satisfy the predicate.
any(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
Returns true if one or more elements returned by iterator satisfy the given predicate.
apply(F) - Method in interface com.google.common.base.Function
Applies 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.
binarySearch(List<? extends T>, T) - Method in class com.google.common.collect.Ordering
Searches sortedList for key using the binary search algorithm.
build() - Method in class com.google.common.collect.ImmutableMap.Builder
Returns a newly-created immutable map.
builder() - Static method in class com.google.common.collect.ImmutableMap
Returns a new builder.

C

checkArgument(boolean) - Static method in class com.google.common.base.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, Object) - Static method in class com.google.common.base.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object...) - Static method in class com.google.common.base.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkContentsNotNull(T) - Static method in class com.google.common.base.Preconditions
Ensures that an Iterable object passed as a parameter to the calling method is not null and contains no null elements.
checkContentsNotNull(T, Object) - Static method in class com.google.common.base.Preconditions
Ensures that an Iterable object passed as a parameter to the calling method is not null and contains no null elements.
checkContentsNotNull(T, String, Object...) - Static method in class com.google.common.base.Preconditions
Ensures that an Iterable object passed as a parameter to the calling method is not null and contains no null elements.
checkElement(E) - Method in interface com.google.common.collect.Constraint
Throws a suitable RuntimeException if the specified element is illegal.
checkKeyValue(K, V) - Method in interface com.google.common.collect.MapConstraint
Throws a suitable RuntimeException if the specified key or value is illegal.
checkNotNull(T) - Static method in class com.google.common.base.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null, throwing a NullPointerException if it is.
checkNotNull(T, Object) - Static method in class com.google.common.base.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null, throwing a NullPointerException if it is.
checkNotNull(T, String, Object...) - Static method in class com.google.common.base.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null, throwing a NullPointerException if it is.
checkState(boolean) - Static method in class com.google.common.base.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, Object) - Static method in class com.google.common.base.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkState(boolean, String, Object...) - Static method in class com.google.common.base.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
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.ImmutableCollection
Guaranteed to throw an exception and leave the collection unmodified.
clear() - Method in class com.google.common.collect.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.
clear() - Method in class com.google.common.collect.LinkedListMultimap
 
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
Removes all of the mappings from this map.
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.ImmutableSortedSet
Returns the comparator that orders the elements, which is Comparators.naturalOrder() when the natural ordering of the elements is used.
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 EnumSet consisting of all enum values that are not in the specified collection.
complementOf(Collection<E>, Class<E>) - Static method in class com.google.common.collect.Sets
Creates an EnumSet consisting of all enum values that are not in the specified collection.
compose(Function<? super B, ? extends C>, Function<? super A, ? extends B>) - Static method in class com.google.common.base.Functions
Returns the composition of two functions.
compose(Predicate<? super B>, Function<? super A, ? extends B>) - Static method in class com.google.common.base.Predicates
Returns the composition of a function and a predicate.
compose(Function<K, V>, Supplier<? extends K>) - Static method in class com.google.common.base.Suppliers
Returns a new Supplier which is the composition of the Function function and the Supplier first.
compound(Comparator<? super T>, Comparator<? super T>) - Static method in class com.google.common.collect.Comparators
Returns a comparator which tries two comparators in order until a non-zero result is found, returning that result, and returning zero only if both comparators return zero.
compound(Comparator<? super T>, Comparator<? super T>, Comparator<? super T>) - Static method in class com.google.common.collect.Comparators
Returns a comparator which tries three comparators in order until a non-zero result is found, returning that result, and returning zero only if all comparators return zero.
compound(Comparator<? super T>, Comparator<? super T>, Comparator<? super T>, Comparator<? super T>) - Static method in class com.google.common.collect.Comparators
Returns a comparator which tries four comparators in order until a non-zero result is found, returning that result, and returning zero only if all comparators return zero.
compound(Comparator<? super T>, Comparator<? super T>, 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 that result, and returning zero only if all comparators return zero.
compound(Iterable<? 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 that 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
Combines two iterables into a single iterable.
concat(Iterable<? extends T>...) - Static method in class com.google.common.collect.Iterables
Combines multiple iterables into a single iterable.
concat(Iterable<? extends Iterable<? extends T>>) - Static method in class com.google.common.collect.Iterables
Combines multiple iterables into a single iterable.
concat(Iterator<? extends T>, Iterator<? extends T>) - Static method in class com.google.common.collect.Iterators
Combines two iterators into a single iterator.
concat(Iterator<? extends T>...) - Static method in class com.google.common.collect.Iterators
Combines multiple iterators into a single iterator.
concat(Iterator<? extends Iterator<? extends T>>) - Static method in class com.google.common.collect.Iterators
Combines multiple iterators into a single iterator.
concat(T[], T[], Class<T>) - Static method in class com.google.common.collect.ObjectArrays
Returns a new array that contains the concatenated contents of two 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
A constraint that an element must satisfy in order to be added to a collection.
Constraints - Class in com.google.common.collect
Factories and utilities pertaining to the Constraint interface.
contains(Object) - Method in class com.google.common.collect.AbstractMultiset
Determines whether this multiset contains the specified element.
contains(Object) - Method in class com.google.common.collect.ForwardingCollection
 
contains(Object) - Method in class com.google.common.collect.ImmutableCollection
 
contains(Object) - Method in interface com.google.common.collect.Multiset
Determines whether this multiset contains the specified element.
containsAll(Collection<?>) - Method in class com.google.common.collect.AbstractMultiset
Returns true if this multiset contains at least one occurrence of each element in the specified collection.
containsAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
 
containsAll(Collection<?>) - Method in class com.google.common.collect.ImmutableCollection
 
containsAll(Collection<?>) - Method in interface com.google.common.collect.Multiset
Returns true if this multiset contains at least one occurrence of each element in the specified collection.
containsAllImpl(Collection<?>, Collection<?>) - Static method in class com.google.common.collect.ForwardingCollection
Returns true if the specified collection c contains all of the elements in the specified collection d.
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.
containsImpl(Collection<?>, Object) - Static method in class com.google.common.collect.ForwardingCollection
Returns true if the specified collection c contains the element o.
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.ImmutableMap
 
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
Returns true if this map contains a mapping for the specified key.
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.ImmutableMap
 
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
Returns true if this map maps one or more keys to the specified value.
copyInto(S) - Method in class com.google.common.collect.Sets.SetView
Copies the current contents of this set view into an existing set.
copyOf(Iterable<? extends E>) - Static method in class com.google.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
copyOf(Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.ImmutableMap
Returns an immutable map containing the same entries as map.
copyOf(Iterable<? extends E>) - Static method in class com.google.common.collect.ImmutableSet
Returns an immutable set containing the given elements, in order.
copyOf(Iterable<? extends E>) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
copyOf(Comparator<? super E>, Iterable<? extends E>) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by the provided comparator.
copyOfSorted(SortedSet<E>) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the elements of a sorted set, sorted by the same Comparator.
count(Object) - Method in class com.google.common.collect.AbstractMultiset
Returns the number of occurrences of an element in this multiset (the count of the element).
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 an element in this multiset (the count of the element).
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
Returns an iterable whose iterator cycles indefinitely over the elements of iterable.
cycle(T...) - Static method in class com.google.common.collect.Iterables
Returns an iterable whose iterator cycles indefinitely over the provided elements.
cycle(Iterable<T>) - Static method in class com.google.common.collect.Iterators
Returns an iterator that cycles indefinitely over the elements of iterable.
cycle(T...) - Static method in class com.google.common.collect.Iterators
Returns an iterator that cycles indefinitely over the provided elements.

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.ForwardingConcurrentMap
 
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
 
difference(Set<E>, Set<?>) - Static method in class com.google.common.collect.Sets
Returns an unmodifiable view of the difference of two sets.

E

element() - Method in class com.google.common.collect.ForwardingQueue
 
elementsEqual(Iterable<?>, Iterable<?>) - Static method in class com.google.common.collect.Iterables
Determines whether two iterables contain equal elements in the same order.
elementsEqual(Iterator<?>, Iterator<?>) - Static method in class com.google.common.collect.Iterators
Determines whether two iterators contain equal elements in the same order.
elementSet() - Method in class com.google.common.collect.AbstractMultiset
Returns the set of distinct elements contained in this multiset.
elementSet() - Method in class com.google.common.collect.ConcurrentMultiset
 
elementSet() - Method in class com.google.common.collect.ForwardingMultiset
 
elementSet() - Method in interface com.google.common.collect.Multiset
Returns the set of distinct elements contained in this multiset.
elementSet() - Method in class com.google.common.collect.TreeMultiset
Returns the set of distinct elements contained in this multiset. The element set is backed by the same data as the multiset, so any change to either is immediately reflected in the other. The order of the elements in the element set is unspecified.

If the element set supports any removal operations, these necessarily cause all occurrences of the removed element(s) to be removed from the multiset. Implementations are not expected to support the add operations, although this is possible.

A common use for the element set is to find the number of distinct elements in the multiset: elementSet().size().

EMPTY_ARRAY - Static variable in class com.google.common.collect.ObjectArrays
An empty object array.
emptyArray(T[]) - Static method in class com.google.common.collect.ObjectArrays
Returns an empty 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.
emptyListIterator() - Static method in class com.google.common.collect.Iterators
Returns the empty ListIterator.
emptyMultiset() - Static method in class com.google.common.collect.Multisets
Returns the empty multiset (immutable).
endOfData() - Method in class com.google.common.collect.AbstractIterator
Implementations of computeNext must invoke this method when there are no elements left in the iteration.
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.ImmutableMap
Returns an immutable set of the mappings in this map.
entrySet() - Method in interface com.google.common.collect.Multiset
Returns a view of the contents of this multiset, grouped into Multiset.Entry instances, each providing an element of the multiset and the count of that element.
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 two possibly-null objects are equal.
equals(Object) - Method in interface com.google.common.base.Function
Indicates whether some other object is equal to this Function.
equals(Object) - Method in interface com.google.common.base.Predicate
Indicates whether some other object is equal to this Predicate.
equals(Object) - Method in class com.google.common.collect.AbstractMapEntry
Indicates whether an object equals this entry, following the behavior specified in Map.Entry.equals(java.lang.Object).
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
Indicates whether an object equals this entry, following the behavior specified in Multiset.Entry.equals(java.lang.Object).
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.ImmutableSet
 
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
TODO: check this wrt TreeMultiset
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.

F

filter(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
Returns the elements of unfiltered that satisfy a predicate.
filter(Iterable<?>, Class<T>) - Static method in class com.google.common.collect.Iterables
Returns all instances of class type in unfiltered.
filter(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
Returns the elements of unfiltered that satisfy a predicate.
filter(Iterator<?>, Class<T>) - Static method in class com.google.common.collect.Iterators
Returns all instances of class type 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 that satisfies the given predicate.
find(Iterator<E>, Predicate<? super E>) - Static method in class com.google.common.collect.Iterators
Returns the first element in iterator that satisfies the given predicate.
first() - Method in class com.google.common.collect.ForwardingSortedSet
 
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.
forArray(T[], int, int) - Static method in class com.google.common.collect.Iterators
Returns an iterator containing the elements in the specified range of array in order.
forcePut(K, V) - Method in interface com.google.common.collect.BiMap
An alternate form of put that silently removes any existing entry with the value value 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
 
forComparator(Comparator<T>) - Static method in class com.google.common.collect.Ordering
Returns an ordering for comparator.
forEnumeration(Enumeration<T>) - Static method in class com.google.common.collect.Iterators
Adapts an Enumeration to the Iterator interface.
forMap(Map<? super A, ? extends B>) - Static method in class com.google.common.base.Functions
Returns a function which performs key-to-value lookup on map.
forMap(Map<? super 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
Constructs a forwarding collection that forwards to the provided delegate.
ForwardingConcurrentMap<K,V> - Class in com.google.common.collect
A concurrent map which forwards all its method calls to another concurrent map.
ForwardingConcurrentMap(ConcurrentMap<K, V>) - Constructor for class com.google.common.collect.ForwardingConcurrentMap
Constructs a forwarding concurrent map that forwards to the provided delegate.
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
Constructs a forwarding iterator that forwards to the provided delegate.
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
Constructs a forwarding list that forwards to the provided delegate.
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
Constructs a forwarding list iterator that forwards to the provided delegate.
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
Constructs a forwarding map that forwards to the provided delegate.
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
Constructs a forwarding map entry that forwards to the provided delegate.
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 that forwards to the provided 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
Constructs a forwarding multiset that forwards to the provided delegate.
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
Constructs a forwarding queue that forwards to the provided delegate.
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
Constructs a forwarding set that forwards to the provided delegate.
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
Constructs a forwarding sorted map that forwards to the provided delegate.
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
Constructs a forwarding sorted set that forwards to the provided delegate.
frequency(Iterable<?>, Object) - Static method in class com.google.common.collect.Iterables
Returns the number of elements in the specified iterable that equal the specified object.
frequency(Iterator<?>, Object) - Static method in class com.google.common.collect.Iterators
Returns the number of elements in the specified iterator that equal the specified object.
frequencyOrder(Multiset<?>) - Static method in class com.google.common.collect.Multisets
Returns a comparator that orders elements according to their increasing frequency in a multiset.
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.
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
Retrieve an instance of the appropriate type.
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(Object) - Method in class com.google.common.collect.ImmutableMap
 
get(Iterable<T>, int) - Static method in class com.google.common.collect.Iterables
Returns the element at the specified position in an Iterable.
get(Iterator