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

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
Ensures that this collection contains the specified element.
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 class com.google.common.collect.ImmutableMultiset
Guaranteed to throw an exception and leave the collection 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
Adds all of the elements in the specified collection to this multiset.
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 if 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 if 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 if 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.ImmutableMultimap
Returns an immutable map that associates each key with its corresponding values in the multimap.
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.ImmutableBiMap.Builder
Returns a newly-created immutable bimap.
build() - Method in class com.google.common.collect.ImmutableMap.Builder
Returns a newly-created immutable map.
build() - Method in class com.google.common.collect.ImmutableMultimap.Builder
 
builder() - Static method in class com.google.common.collect.ImmutableBiMap
Returns a new builder.
builder() - Static method in class com.google.common.collect.ImmutableMap
Returns a new builder.
builder() - Static method in class com.google.common.collect.ImmutableMultimap
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.
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.
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.
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
Removes all of the elements from this multiset.
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.ImmutableMultimap
Guaranteed to throw an exception and leave the multimap unmodified.
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.
Collections2 - Class in com.google.common.collect
Provides static methods for working with Collection instances.
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<? super F, ? extends T>, Supplier<? extends F>) - Static method in class com.google.common.base.Suppliers
Returns a new supplier which is the composition of the provided function and supplier.
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.
ConcurrentMultiset(Collection<? extends E>) - Constructor for class com.google.common.collect.ConcurrentMultiset
Creates an instance that contains the elements in a given collection.
constant(E) - Static method in class com.google.common.base.Functions
Creates 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
Returns true if this collection 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 class com.google.common.collect.ImmutableMultiset
 
contains(Iterable<?>, Object) - Static method in class com.google.common.collect.Iterables
Returns true if iterable contains element; that is, any object for while equals(element) is true.
contains(Iterator<?>, Object) - Static method in class com.google.common.collect.Iterators
Returns true if iterator contains element.
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 all of the elements 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.
containsEntry(Object, Object) - Method in class com.google.common.collect.ForwardingMultimap
 
containsEntry(Object, Object) - Method in class com.google.common.collect.ImmutableMultimap
 
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.ImmutableBiMap
 
containsKey(Object) - Method in class com.google.common.collect.ImmutableMap
 
containsKey(Object) - Method in class com.google.common.collect.ImmutableMultimap
 
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.
containsNull(Iterable<?>) - Static method in class com.google.common.collect.Iterables
Returns true if iterable contains at least one null element.
containsNull(Iterator<?>) - Static method in class com.google.common.collect.Iterators
Returns true if iterator contains at least one null element.
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.ImmutableBiMap
 
containsValue(Object) - Method in class com.google.common.collect.ImmutableMap
 
containsValue(Object) - Method in class com.google.common.collect.ImmutableMultimap
 
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(Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.ImmutableBiMap
Returns an immutable bimap containing the same entries as map.
copyOf(Iterable<? extends E>) - Static method in class com.google.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
copyOf(Iterator<? 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(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.ImmutableMultimap
Returns an immutable multimap containing the same mappings as multimap.
copyOf(Iterable<? extends E>) - Static method in class com.google.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements.
copyOf(Iterator<? extends E>) - Static method in class com.google.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements.
copyOf(Iterable<? extends E>) - Static method in class com.google.common.collect.ImmutableSet
Returns an immutable set containing the given elements, in order.
copyOf(Iterator<? 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(Iterator<? 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(Iterable<? extends E>) - Method in class com.google.common.collect.ImmutableSortedSet.Factory
Returns an immutable sorted set containing the given elements sorted by the factory's comparator.
copyOf(Iterator<? extends E>) - Method in class com.google.common.collect.ImmutableSortedSet.Factory
Returns an immutable sorted set containing the given elements sorted by the factory's 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 class com.google.common.collect.ImmutableMultiset
 
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).
count(Object) - Method in class com.google.common.collect.TreeMultiset
 
create() - Static method in class com.google.common.collect.HashMultiset
Creates a new empty HashMultiset using the default initial capacity.
create(int) - Static method in class com.google.common.collect.HashMultiset
Creates a new empty HashMultiset with the specified expected number of distinct elements.
create(Iterable<? extends E>) - Static method in class com.google.common.collect.HashMultiset
Creates a new HashMultiset containing the specified elements.
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

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 instance that methods are forwarded to.
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 class com.google.common.collect.ImmutableMultiset
 
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.
empty() - Static method in class com.google.common.collect.ImmutableMultimap
Returns the empty multimap.
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.
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.ImmutableMultimap
Returns an immutable collection of all key-value pairs in the multimap.
entries() - Method in class com.google.common.collect.LinkedHashMultimap
Returns a set 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.ImmutableBiMap
 
entrySet() - Method in class com.google.common.collect.ImmutableMap
Returns an immutable set of the mappings in this map.
entrySet() - Method in class com.google.common.collect.ImmutableMultiset
 
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(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.
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.ImmutableBiMap
 
equals(Object) - Method in class com.google.common.collect.ImmutableMap
 
equals(Object) - Method in class com.google.common.collect.ImmutableMultimap
 
equals(Object) - Method in class com.google.common.collect.ImmutableMultiset
 
equals(Object) - Method in class com.google.common.collect.ImmutableSet
 
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(Collection<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Collections2
Returns the elements of unfiltered that satisfy a predicate.
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.
filter(Set<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Sets
Returns the elements of unfiltered that satisfy a predicate.
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 two given parameters that is not null, if either is, or otherwise throws a 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
 
forcePut(K, V) - Method in class com.google.common.collect.ImmutableBiMap
Guaranteed to throw an exception and leave the bimap unmodified.
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.
forIterable(Iterable<T>) - Static method in class com.google.common.collect.Collections2
Returns a limited Collection view of the given Iterable, or the Iterable itself if it is already a Collection (in which case the rest of this documentation does not apply).
forMap(Map<? super A, ? extends B>) - Static method in class com.google.common.base.Functions
Returns a function which performs a map lookup.
forMap(Map<? super A, ? extends B>, B) - Static method in class com.google.common.base.Functions
Returns a function which performs a map lookup with a default value.
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
Creates a function that returns the same boolean output as the given predicate for all inputs.
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() - Constructor for class com.google.common.collect.ForwardingCollection
 
ForwardingConcurrentMap<K,V> - Class in com.google.common.collect
A concurrent map which forwards all its method calls to another concurrent map.
ForwardingConcurrentMap() - Constructor for class com.google.common.collect.ForwardingConcurrentMap
 
ForwardingIterator<T> - Class in com.google.common.collect
An iterator which forwards all its method calls to another iterator.
ForwardingIterator() - 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() - 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() - 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() - 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() - 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() - Constructor for class com.google.common.collect.ForwardingMultimap
 
ForwardingMultiset<E> - Class in com.google.common.collect
A multiset which forwards all its method calls to another multiset.
ForwardingMultiset() - 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() - Constructor for class com.google.common.collect.ForwardingObject
Sole constructor.
ForwardingQueue<E> - Class in com.google.common.collect
A queue which forwards all its method calls to another queue.
ForwardingQueue() - 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() - 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() - 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() - Constructor for class com.google.common.collect.ForwardingSortedSet
 
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 transformation from one object to another.
Functions - Class in com.google.common.base
Useful functions.

G

get() - Method in interface com.google.common.base.Supplier
Retrieves 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.ImmutableBiMap
 
get(Object) - Method in class com.google.common.collect.ImmutableMap
 
get(K) - Method in class com.google.common.collect.ImmutableMultimap
Returns an immutable list of the values for the given key.
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<T>, int) - Static method in class com.google.common.collect.Iterators
Advances iterator position + 1 times, returning the element at the positionth position.
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
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
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.
getCount() - Method in interface com.google.common.collect.Multiset.Entry
Returns the count of the associated element in the underlying 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
 
getLast(Iterable<T>) - Static method in class com.google.common.collect.Iterables
Returns the last element of iterable.
getLast(Iterator<T>) - Static method in class com.google.common.collect.Iterators
Advances iterator to the end, returning the last element.
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 iterable, or defaultValue if the iterable 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<? extends T>) - Static method in class com.google.common.collect.Comparators
Returns a comparator that compares objects according to the order in which they appear in the given list.
givenOrder(T, T...) - Static method in class com.google.common.collect.Comparators
Returns the comparator that compares objects according to 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).
HashBiMap(int) - Constructor for class com.google.common.collect.HashBiMap
Constructs a new empty bimap with the specified expected size.
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 hash code for multiple values.
hashCode() - Method in class com.google.common.collect.AbstractMapEntry
Return this entry's hash code, following the behavior specified in Map.Entry.hashCode().
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
Return this entry's hash code, following the behavior specified in Multiset.Entry.hashCode().
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.ImmutableBiMap
 
hashCode() - Method in class com.google.common.collect.ImmutableMap
 
hashCode() - Method in class com.google.common.collect.ImmutableMultimap
 
hashCode() - Method in class com.google.common.collect.ImmutableMultiset
 
hashCode() - Method in class com.google.common.collect.ImmutableSet
 
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.
hasNext() - Method in class com.google.common.collect.AbstractIterator
 
hasNext() - Method in class com.google.common.collect.ForwardingIterator
 
hasPrevious() - Method in class com.google.common.collect.ForwardingListIterator
 
headMap(K) - Method in class com.google.common.collect.ForwardingSortedMap
 
headSet(E) - Method in class com.google.common.collect.ForwardingSortedSet
 
headSet(E) - Method in class com.google.common.collect.ImmutableSortedSet

I

identity() - Static method in class com.google.common.base.Functions
Returns the identity function.
ImmutableBiMap<K,V> - Class in com.google.common.collect
An immutable BiMap with reliable user-specified iteration order.
ImmutableBiMap() - Constructor for class com.google.common.collect.ImmutableBiMap
 
ImmutableBiMap.Builder<K,V> - Class in com.google.common.collect
A builder for creating immutable bimap instances, especially public static final bimaps ("constant bimaps").
ImmutableBiMap.Builder() - Constructor for class com.google.common.collect.ImmutableBiMap.Builder
Creates a new builder.
ImmutableCollection<E> - Class in com.google.common.collect
An immutable collection.
immutableCopy() - Method in class com.google.common.collect.Sets.SetView
Returns an immutable copy of the current contents of this set view.
immutableEntry(K, V) - Static method in class com.google.common.collect.Maps
Returns an immutable map entry with the specified key and value.
immutableEntry(E, int) - Static method in class com.google.common.collect.Multisets
Returns an immutable multiset entry with the specified element and count.
immutableEnumSet(E, E...) - Static method in class com.google.common.collect.Sets
Returns an immutable set instance containing the given enum elements.
ImmutableList<E> - Class in com.google.common.collect
A high-performance, immutable, random-access List implementation.
ImmutableMap<K,V> - Class in com.google.common.collect
An immutable, hash-based Map with reliable user-specified iteration order.
ImmutableMap.Builder<K,V> - Class in com.google.common.collect
A builder for creating immutable map instances, especially public static final maps ("constant maps").
ImmutableMap.Builder() - Constructor for class com.google.common.collect.ImmutableMap.Builder
Creates a new builder.
ImmutableMultimap<K,V> - Class in com.google.common.collect
An immutable ListMultimap with reliable user-specified key and value iteration order.
ImmutableMultimap.Builder<K,V> - Class in com.google.common.collect
A builder for creating immutable multimap instances, especially public static final multimaps ("constant multimaps").
ImmutableMultimap.Builder() - Constructor for class com.google.common.collect.ImmutableMultimap.Builder
Creates a new builder.
ImmutableMultiset<E> - Class in com.google.common.collect
An immutable hash-based multiset.
ImmutableSet<E> - Class in com.google.common.collect
A high-performance, immutable Set with reliable, user-specified iteration order.
ImmutableSortedSet<E> - Class in com.google.common.collect
An immutable SortedSet that stores its elements in a sorted array.
ImmutableSortedSet.Factory<E> - Class in com.google.common.collect
A factory for creating immutable sorted sets with an explicit comparator.
ImmutableSortedSet.Factory(Comparator<? super E>) - Constructor for class com.google.common.collect.ImmutableSortedSet.Factory
Creates a new factory.
in(Collection<?>) - Static method in class com.google.common.base.Predicates
Returns a predicate that evaluates to true if the object reference being tested is a member of the given collection.
index(Iterable<? extends V>, Function<? super V, ? extends K>) - Static method in class com.google.common.collect.Multimaps
Creates an index ListMultimap that contains the results of applying a specified function to each item in an Iterable of values.
index(Iterable<? extends V>, Function<? super V, ? extends K>, Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Indexes the specified values into a Multimap by applying a specified function to each item in an Iterable of values.
indexOf(Object) - Method in class com.google.common.collect.ForwardingList
 
indexOf(Object) - Method in class com.google.common.collect.ImmutableList
 
intersection(Set<E>, Set<?>) - Static method in class com.google.common.collect.Sets
Returns an unmodifiable view of the intersection of two sets.
inverse() - Method in interface com.google.common.collect.BiMap
Returns the inverse view of this bimap, which maps each of this bimap's values to its associated key.
inverse() - Method in class com.google.common.collect.ImmutableBiMap
Returns the inverse view of this bimap, which maps each of this bimap's values to its associated key.
inverseArrayListMultimap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Creates an ArrayListMultimap that's the inverse of the provided multimap.
inverseHashMultimap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Creates a HashMultimap that's the inverse of the provided multimap.
inverseTreeMultimap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Creates a TreeMultimap that's the inverse of the provided multimap.
isEmpty() - Method in class com.google.common.collect.AbstractMultiset
 
isEmpty() - Method in class com.google.common.collect.ForwardingCollection
 
isEmpty() - Method in class com.google.common.collect.ForwardingMap
 
isEmpty() - Method in class com.google.common.collect.ForwardingMultimap
 
isEmpty() - Method in class com.google.common.collect.ImmutableBiMap
 
isEmpty() - Method in class com.google.common.collect.ImmutableCollection
 
isEmpty() - Method in class com.google.common.collect.ImmutableMultimap
 
isEmpty(Iterable<T>) - Static method in class com.google.common.collect.Iterables
Returns whether the given iterable contains no elements.
isEmpty() - Method in interface com.google.common.collect.Multimap
Returns true if the multimap contains no key-value pairs.
isEmpty() - Method in class com.google.common.collect.ReferenceMap
Returns true if this map contains no key-value mappings.
isEqualTo(T) - Static method in class com.google.common.base.Predicates
Returns a predicate that evaluates to true if the object being tested equals() the given target or both are null.
isNull() - Static method in class com.google.common.base.Predicates
Returns a predicate that evaluates to true if the object reference being tested is null.
isSameAs(Object) - Static method in class com.google.common.base.Predicates
Returns a predicate that evaluates to true if the object being tested refers to the same object as the given target or both are null.
Iterables - Class in com.google.common.collect
This class contains static utility methods that operate on or return objects of type Iterable.
iterator() - Method in class com.google.common.collect.AbstractMultiset
iterator() - Method in class com.google.common.collect.ForwardingCollection
 
iterator() - Method in class com.google.common.collect.ImmutableMultiset
 
Iterators - Class in com.google.common.collect
This class contains static utility methods that operate on or return objects of type Iterator.

J

Join - Class in com.google.common.base
Utility for joining pieces of text separated by a delimiter.
join(String, Iterable<?>) - Static method in class com.google.common.base.Join
Returns a string containing the tokens, converted to strings if necessary, separated by delimiter.
join(String, Object[]) - Static method in class com.google.common.base.Join
Returns a string containing the tokens, converted to strings if necessary, separated by delimiter.
join(String, Object, Object...) - Static method in class com.google.common.base.Join
Returns a string containing the tokens, converted to strings if necessary, separated by delimiter.
join(String, Iterator<?>) - Static method in class com.google.common.base.Join
Returns a string containing the tokens, converted to strings if necessary, separated by delimiter.
join(String, String, Map<?, ?>) - Static method in class com.google.common.base.Join
Returns a string containing the contents of map, with entries separated by entryDelimiter, and keys and values separated with keyValueSeparator.
join(T, String, Iterable<?>) - Static method in class com.google.common.base.Join
Appends each of the tokens to appendable, separated by delimiter.
join(T, String, Object[]) - Static method in class com.google.common.base.Join
Appends each of the tokens to appendable, separated by delimiter.
join(T, String, Object, Object...) - Static method in class com.google.common.base.Join
Appends each of the tokens to appendable, separated by delimiter.
join(T, String, Iterator<?>) - Static method in class com.google.common.base.Join
Appends each of the tokens to appendable, separated by delimiter.
join(T, String, String, Map<?, ?>) - Static method in class com.google.common.base.Join
Appends the contents of map to appendable, with entries separated by entryDelimiter, and keys and values separated with keyValueSeparator.
Join.JoinException - Exception in com.google.common.base
Exception thrown in response to an IOException from the supplied Appendable.

K

keyComparator() - Method in class com.google.common.collect.TreeMultimap
Returns the comparator that orders the multimap keys, with a null indicating that natural ordering is used.
keys() - Method in class com.google.common.collect.ForwardingMultimap
 
keys() - Method in class com.google.common.collect.ImmutableMultimap
Returns a collection, which may contain duplicates, of all keys.
keys() - Method in interface com.google.common.collect.Multimap
Returns a collection, which may contain duplicates, of all keys.
keySet() - Method in class com.google.common.collect.ForwardingMap
keySet() - Method in class com.google.common.collect.ForwardingMultimap
 
keySet() - Method in class com.google.common.collect.ImmutableBiMap
 
keySet() - Method in class com.google.common.collect.ImmutableMap
Returns an immutable set of the keys in this map.
keySet() - Method in class com.google.common.collect.ImmutableMultimap
Returns an immutable set of the distinct keys in this multimap.
keySet() - Method in interface com.google.common.collect.Multimap
Returns the set of all keys, each appearing once in the returned set.
keySet() - Method in class com.google.common.collect.TreeMultimap
Returns the set of all keys, each appearing once in the returned set.
keyType() - Method in class com.google.common.collect.EnumBiMap
Returns the associated key type.
keyType() - Method in class com.google.common.collect.EnumHashBiMap
Returns the associated key type.

L

last() - Method in class com.google.common.collect.ForwardingSortedSet
 
lastIndexOf(Object) - Method in class com.google.common.collect.ForwardingList
 
lastIndexOf(Object) - Method in class com.google.common.collect.ImmutableList
 
lastKey() - Method in class com.google.common.collect.ForwardingSortedMap
 
limit(Iterable<T>, int) - Static method in class com.google.common.collect.Iterables
Creates an iterable with the first limitSize elements of the given iterable.
limit(Iterator<T>, int) - Static method in class com.google.common.collect.Iterators
Creates an iterator returning the first limitSize elements of the given iterator.
LinkedHashMultimap<K,V> - Class in com.google.common.collect
Implementation of Multimap that does not allow duplicate key-value entries and that returns collections whose iterators follow the ordering in which the data was added to the multimap.
LinkedHashMultimap() - Constructor for class com.google.common.collect.LinkedHashMultimap
Constructs an empty LinkedHashMultimap.
LinkedHashMultimap(Multimap<? extends K, ? extends V>) - Constructor for class com.google.common.collect.LinkedHashMultimap
Constructs a LinkedHashMultimap with the same mappings as the specified Multimap.
LinkedHashMultiset<E> - Class in com.google.common.collect
A Multiset implementation with predictable iteration order.
LinkedHashMultiset() - Constructor for class com.google.common.collect.LinkedHashMultiset
Constructs a new empty LinkedHashMultiset using the default initial capacity (16 distinct elements) and load factor (0.75).
LinkedHashMultiset(int) - Constructor for class com.google.common.collect.LinkedHashMultiset
Constructs a new empty LinkedHashMultiset with the specified expected number of distinct elements and the default load factor (0.75).
LinkedHashMultiset(Iterable<? extends E>) - Constructor for class com.google.common.collect.LinkedHashMultiset
Constructs a new LinkedHashMultiset containing the specified elements.
listIterator() - Method in class com.google.common.collect.ForwardingList
 
listIterator(int) - Method in class com.google.common.collect.ForwardingList
 
ListMultimap<K,V> - Interface in com.google.common.collect
A Multimap that can hold duplicate key-value pairs and that maintains the insertion ordering of values for a given key.
Lists - Class in com.google.common.collect
Static utility methods pertaining to List instances.

M

MapConstraint<K,V> - Interface in com.google.common.collect
A constraint on the keys and values that may be added to a Map or Multimap.
MapConstraints - Class in com.google.common.collect
Factory and utilities pertaining to the MapConstraint interface.
Maps - Class in com.google.common.collect
Static utility methods pertaining to Map instances.
max(T, T) - Static method in class com.google.common.collect.Comparators
Returns the larger of the two values, according to their natural ordering.
max(Comparator<? super T>, T, T) - Static method in class com.google.common.collect.Comparators
Returns the larger of the two values according to the specified comparator.
max(Iterable<E>) - Method in class com.google.common.collect.Ordering
Returns the largest of the specified values according to this ordering.
max(E, E, E, E...) - Method in class com.google.common.collect.Ordering
Returns the largest of the specified values according to this ordering.
max(E, E) - Method in class com.google.common.collect.Ordering
Returns the larger of the two values according to this ordering.
memoize(Supplier<T>) - Static method in class com.google.common.base.Suppliers
Returns a supplier which caches the instance retrieved during the first call to get() and returns that value on subsequent calls to get().
min(T, T) - Static method in class com.google.common.collect.Comparators
Returns the smaller of the two values, according to their natural ordering.
min(Comparator<? super T>, T, T) - Static method in class com.google.common.collect.Comparators
Returns the smaller of the two values according to the specified comparator.
min(Iterable<E>) - Method in class com.google.common.collect.Ordering
Returns the smallest of the specified values according to this ordering.
min(E, E, E, E...) - Method in class com.google.common.collect.Ordering
Returns the smallest of the specified values according to this ordering.
min(E, E) - Method in class com.google.common.collect.Ordering
Returns the smaller of the two values according to this ordering.
Multimap<K,V> - Interface in com.google.common.collect
A collection similar to a Map, but which may associate multiple values with a single key.
Multimaps - Class in com.google.common.collect
Provides static methods acting on or generating a Multimap.
Multiset<E> - Interface in com.google.common.collect
A collection that supports order-independent equality, like Set, but may have duplicate elements.
Multiset.Entry<E> - Interface in com.google.common.collect
An unmodifiable element-count pair for a multiset.
Multisets - Class in com.google.common.collect
Provides static utility methods for creating and working with Multiset instances.

N

natural() - Static method in class com.google.common.collect.Ordering
Returns an ordering that uses the natural order of the values.
naturalOrder() - Static method in class com.google.common.collect.Comparators
Returns a comparator that uses the natural ordering of the values.
newArray(Iterable<T>, Class<T>) - Static method in class com.google.common.collect.Iterables
Copies an iterable's elements into an array.
newArray(Iterator<? extends T>, Class<T>) - Static method in class com.google.common.collect.Iterators
Copies an iterator's elements into an array.
newArray(Class<T>, int) - Static method in class com.google.common.collect.ObjectArrays
Returns a new array of the given length with the specified component type.
newArray(T[], int) - Static method in class com.google.common.collect.ObjectArrays
Returns a new array of the given length with the same type as a reference array.
newArrayList() - Static method in class com.google.common.collect.Lists
Creates an empty ArrayList instance.
newArrayList(E...) - Static method in class com.google.common.collect.Lists
Creates an ArrayList instance containing the given elements.
newArrayList(Iterable<? extends E>) - Static method in class com.google.common.collect.Lists
Creates an ArrayList instance containing the given elements.
newArrayList(Iterator<? extends E>) - Static method in class com.google.common.collect.Lists
Creates an ArrayList instance containing the given elements.
newArrayListMultimap() - Static method in class com.google.common.collect.Multimaps
Creates an empty ArrayListMultimap instance.
newArrayListMultimap(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.Multimaps
Creates an ArrayListMultimap instance initialized with all elements from the supplied Multimap.
newArrayListWithExpectedSize(int) - Static method in class com.google.common.collect.Lists
Creates an ArrayList instance with the given expected size.
newClassToInstanceMap() - Static method in class com.google.common.collect.Maps
Returns a new ClassToInstanceMap instance backed by a HashMap using the default initial capacity and load factor.
newClassToInstanceMap(Map<Class<? extends B>, B>) - Static method in class com.google.common.collect.Maps
Returns a new ClassToInstanceMap instance backed by a given empty backingMap.
newConcurrentHashMap() - Static method in class com.google.common.collect.Maps
Creates a ConcurrentHashMap instance.
newConcurrentHashSet() - Static method in class com.google.common.collect.Sets
Creates a thread-safe set backed by a hash map.
newConcurrentHashSet(E...) - Static method in class com.google.common.collect.Sets
Creates a thread-safe set backed by a hash map and containing the given elements.
newConcurrentHashSet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a thread-safe set backed by a hash map and containing the given elements.
newConcurrentHashSet(Iterator<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a thread-safe set backed by a hash map and containing the given elements.
newEnumBiMap(Class<K>, Class<V>) - Static method in class com.google.common.collect.Maps
Returns a new empty EnumBiMap using the specified key and value types.
newEnumHashBiMap(Class<K>) - Static method in class com.google.common.collect.Maps
Returns a new empty EnumHashBiMap using the specified key type.
newEnumMap(Class<K>) - Static method in class com.google.common.collect.Maps
Creates an EnumMap instance.
newEnumMultiset(Class<E>) - Static method in class com.google.common.collect.Multisets
Creates an empty EnumMultiset.
newEnumMultiset(Iterable<E>) - Static method in class com.google.common.collect.Multisets
Creates an EnumMultiset containing the specified elements.
newEnumMultiset(E...) - Static method in class com.google.common.collect.Multisets
Creates an EnumMultiset containing the specified elements.
newEnumSet(Iterable<E>, Class<E>) - Static method in class com.google.common.collect.Sets
Returns a new EnumSet instance containing the given elements.
newHashBiMap() - Static method in class com.google.common.collect.Maps
Returns a new empty HashBiMap with the default initial capacity (16).
newHashMap() - Static method in class com.google.common.collect.Maps
Creates a HashMap instance.
newHashMap(Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.Maps
Creates a HashMap instance with the same mappings as the specified map.
newHashMapWithExpectedSize(int) - Static method in class com.google.common.collect.Maps
Creates a HashMap instance with enough capacity to hold the specified number of elements without rehashing.
newHashMultimap() - Static method in class com.google.common.collect.Multimaps
Creates an empty HashMultimap instance.
newHashMultimap(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.Multimaps
Creates a HashMultimap instance initialized with all elements from the supplied Multimap.
newHashMultiset() - Static method in class com.google.common.collect.Multisets
Creates an empty HashMultiset using the default initial capacity (16 distinct elements).
newHashMultiset(E...) - Static method in class com.google.common.collect.Multisets
Creates a HashMultiset containing the specified elements, using the default initial capacity (16 distinct elements).
newHashMultiset(Iterable<? extends E>) - Static method in class com.google.common.collect.Multisets
Creates a HashMultiset containing the specified elements.
newHashSet() - Static method in class com.google.common.collect.Sets
Creates an empty HashSet instance.
newHashSet(E...) - Static method in class com.google.common.collect.Sets
Creates a HashSet instance containing the given elements.
newHashSet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a HashSet instance containing the given elements.
newHashSet(Iterator<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a HashSet instance containing the given elements.
newHashSetWithExpectedSize(int) - Static method in class com.google.common.collect.Sets
Creates an empty HashSet instance with enough capacity to hold the specified number of elements without rehashing.
newIdentityHashMap() - Static method in class com.google.common.collect.Maps
Creates an IdentityHashMap instance.
newIdentityHashSet(ReferenceType) - Static method in class com.google.common.collect.Sets
Creates an empty Set that uses identity to determine equality.
newLinkedHashMap() - Static method in class com.google.common.collect.Maps
Creates an insertion-ordered LinkedHashMap instance.
newLinkedHashMap(Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.Maps
Creates an insertion-ordered LinkedHashMap instance with the same mappings as the specified map.
newLinkedHashMultimap() - Static method in class com.google.common.collect.Multimaps
Creates an empty LinkedHashMultimap instance.
newLinkedHashMultimap(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.Multimaps
Creates a LinkedHashMultimap instance initialized with all elements from the supplied Multimap.
newLinkedHashSet() - Static method in class com.google.common.collect.Sets
Creates an empty LinkedHashSet instance.
newLinkedHashSet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a LinkedHashSet instance containing the given elements.
newLinkedList() - Static method in class com.google.common.collect.Lists
Creates an empty LinkedList instance.
newLinkedList(Iterable<? extends E>) - Static method in class com.google.common.collect.Lists
Creates a LinkedList instance containing the given elements.
newListMultimap(Map<K, Collection<V>>, Supplier<? extends List<V>>) - Static method in class com.google.common.collect.Multimaps
Creates a new ListMultimap that uses the provided map and factory.
newMultimap(Map<K, Collection<V>>, Supplier<? extends Collection<V>>) - Static method in class com.google.common.collect.Multimaps
Creates a new Multimap that uses the provided map and factory.
newSetFromMap(Map<E, Boolean>) - Static method in class com.google.common.collect.Sets
Returns a set backed by the specified map.
newSetMultimap(Map<K, Collection<V>>, Supplier<? extends Set<V>>) - Static method in class com.google.common.collect.Multimaps
Creates a new SetMultimap that uses the provided map and factory.
newSortedSetMultimap(Map<K, Collection<V>>, Supplier<? extends SortedSet<V>>) - Static method in class com.google.common.collect.Multimaps
Creates a new SortedSetMultimap that uses the provided map and factory.
newTreeMap() - Static method in class com.google.common.collect.Maps
Creates a TreeMap instance using the natural ordering of its elements.
newTreeMap(Comparator<C>) - Static method in class com.google.common.collect.Maps
Creates a TreeMap instance using the given comparator.
newTreeMultimap() - Static method in class com.google.common.collect.Multimaps
Creates an empty TreeMultimap instance using the natural ordering of keys and values.
newTreeMultimap(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.Multimaps
Constructs a TreeMultimap with the same mappings as the specified Multimap.
newTreeMultimap(Comparator<? super K>, Comparator<? super V>) - Static method in class com.google.common.collect.Multimaps
Creates an empty TreeMultimap instance using explicit comparators.
newTreeMultimap(Comparator<? super K>, Comparator<? super V>, Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.Multimaps
Creates a TreeMultimap instance using explicit comparators, initialized with all elements from the supplied Multimap.
newTreeMultiset() - Static method in class com.google.common.collect.Multisets
Creates an empty TreeMultiset instance.
newTreeMultiset(Comparator<? super E>) - Static method in class com.google.common.collect.Multisets
Creates an empty TreeMultiset instance, sorted according to the specified comparator.
newTreeSet() - Static method in class com.google.common.collect.Sets
Creates an empty TreeSet instance sorted by the natural sort ordering of its elements.
newTreeSet(E...) - Static method in class com.google.common.collect.Sets
Creates a TreeSet instance containing the given elements sorted by their natural ordering.
newTreeSet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a TreeSet instance containing the given elements sorted by their natural ordering.
newTreeSet(Iterator<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a TreeSet instance containing the given elements sorted by their natural ordering.
newTreeSet(Comparator<? super E>) - Static method in class com.google.common.collect.Sets
Creates an empty TreeSet instance with the given comparator.
newTreeSet(Comparator<? super E>, E...) - Static method in class com.google.common.collect.Sets
Creates a TreeSet instance containing the given elements sorted by the given comparator.
newTreeSet(Comparator<? super E>, Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a TreeSet instance containing the given elements sorted by the given comparator.
newTreeSet(Comparator<? super E>, Iterator<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a TreeSet instance containing the given elements sorted by the given comparator.
next() - Method in class com.google.common.collect.AbstractIterator
 
next() - Method in class com.google.common.collect.AbstractRemovableIterator
 
next() - Method in class com.google.common.collect.ForwardingIterator
 
nextIndex() - Method in class com.google.common.collect.ForwardingListIterator
 
not(Predicate<? super T>) - Static method in class com.google.common.base.Predicates
Returns a predicate that evaluates to true if the given predicate evaluates to false.
NOT_NULL - Static variable in class com.google.common.collect.MapConstraints
A constraint that verifies that neither the key nor the value is null.
notNull() - Static method in class com.google.common.base.Predicates
Returns a predicate that evaluates to true if the object reference being tested is not null.
notNull() - Static method in class com.google.common.collect.Constraints
Returns a constraint that verifies that the element is not null.
Nullable - Annotation Type in com.google.common.base
The presence of this annotation on a method parameter indicates that null is an acceptable value for that parameter.
nullGreatestOrder(Comparator<T>) - Static method in class com.google.common.collect.Comparators
Returns a comparator that treats null as greater than all other values and uses the given comparator to compare non-null values.
nullGreatestOrder() - Static method in class com.google.common.collect.Comparators
Returns a comparator that uses the natural ordering of the values, but also handles null values, treating them as greater than all other values.
nullLeastOrder(Comparator<T>) - Static method in class com.google.common.collect.Comparators
Returns a comparator that treats null as less than all other values and uses comparator to compare non-null values.
nullLeastOrder() - Static method in class com.google.common.collect.Comparators
Returns a comparator that uses the natural ordering of the values, but also handles null values, treating them as less than all other values.
nullsFirst() - Method in class com.google.common.collect.Ordering
Returns an ordering that treats null as less than all other values and uses this ordering to compare non-null values.
nullsLast() - Method in class com.google.common.collect.Ordering
Returns an ordering that treats null as greater than all other values and uses this ordering to compare non-null values.

O

ObjectArrays - Class in com.google.common.collect
Static utility methods pertaining to object arrays.
Objects - Class in com.google.common.base
Helper functions that can operate on any Object.
of() - Static method in class com.google.common.collect.ImmutableBiMap
Returns the empty bimap.
of(K, V) - Static method in class com.google.common.collect.ImmutableBiMap
Returns an immutable bimap containing a single entry.
of(K, V, K, V) - Static method in class com.google.common.collect.ImmutableBiMap
Returns an immutable map containing the given entries, in order.
of(K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableBiMap
Returns an immutable map containing the given entries, in order.
of(K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableBiMap
Returns an immutable map containing the given entries, in order.
of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableBiMap
Returns an immutable map containing the given entries, in order.
of() - Static method in class com.google.common.collect.ImmutableList
Returns the empty immutable list.
of(E) - Static method in class com.google.common.collect.ImmutableList
Returns an immutable list containing a single element.
of(E, E) - Static method in class com.google.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E) - Static method in class com.google.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E, E) - Static method in class com.google.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E, E, E) - Static method in class com.google.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E...) - Static method in class com.google.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of() - Static method in class com.google.common.collect.ImmutableMap
Returns the empty map.
of(K, V) - Static method in class com.google.common.collect.ImmutableMap
Returns an immutable map containing a single entry.
of(K, V, K, V) - Static method in class com.google.common.collect.ImmutableMap
Returns an immutable map containing the given entries, in order.
of(K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableMap
Returns an immutable map containing the given entries, in order.
of(K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableMap
Returns an immutable map containing the given entries, in order.
of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableMap
Returns an immutable map containing the given entries, in order.
of() - Static method in class com.google.common.collect.ImmutableMultiset
Returns the empty immutable multiset.
of(E...) - Static method in class com.google.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements.
of() - Static method in class com.google.common.collect.ImmutableSet
Returns the empty immutable set.
of(E) - Static method in class com.google.common.collect.ImmutableSet
Returns an immutable set containing a single element.
of(E...) - Static method in class com.google.common.collect.ImmutableSet
Returns an immutable set containing the given elements, in order.
of(E...) - Method in class com.google.common.collect.ImmutableSortedSet.Factory
Returns an immutable sorted set containing the given elements sorted by the factory's comparator.
of() - Static method in class com.google.common.collect.ImmutableSortedSet
Returns the empty immutable sorted set.
of(E) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing a single element.
of(E...) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
offer(E) - Method in class com.google.common.collect.ForwardingQueue
 
ofInstance(T) - Static method in class com.google.common.base.Suppliers
Returns a supplier that always supplies instance.
or(Iterable<? extends Predicate<? super T>>) - Static method in class com.google.common.base.Predicates
Returns a predicate that evaluates to true if any one of its components evaluates to true.
or(Predicate<? super T>...) - Static method in class com.google.common.base.Predicates
Returns a predicate that evaluates to true if any one of its components evaluates to true.
or(Predicate<? super T>, Predicate<? super T>) - Static method in class com.google.common.base.Predicates
Returns a predicate that evaluates to true if either of its components evaluates to true.
orderedBy(Comparator<E>) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns a factory that creates immutable sorted sets with an explicit comparator.
Ordering<T> - Class in com.google.common.collect
A base class for Serializable comparators that provides convenience methods for common uses.
Ordering() - Constructor for class com.google.common.collect.Ordering
 

P

partition(Iterable<? extends T>, int, boolean) - Static method in class com.google.common.collect.Iterables
Partition an iterable into sub-iterables of the given size.
partition(Iterator<? extends T>, int, boolean) - Static method in class com.google.common.collect.Iterators
Partition an iterator into sub-iterators of the given size.
peek() - Method in class com.google.common.collect.AbstractIterator
Returns the next element in the iteration without advancing the iteration, according to the contract of PeekingIterator.peek().
peek() - Method in class com.google.common.collect.ForwardingQueue
 
peek() - Method in interface com.google.common.collect.PeekingIterator
Returns the next element in the iteration without advancing the iteration.
peekingIterator(Iterator<? extends T>) - Static method in class com.google.common.collect.Iterators
Wraps the supplied iterator in a PeekingIterator.
PeekingIterator<E> - Interface in com.google.common.collect
An iterator that supports a one-element lookahead while iterating.
poll() - Method in class com.google.common.collect.ForwardingQueue
 
populateMap(Map<K, V>, ObjectInputStream) - Static method in class com.google.common.collect.Serialization
Populates a map by reading an input stream, as part of deserialization.
populateMultimap(Multimap<K, V>, ObjectInputStream) - Static method in class com.google.common.collect.Serialization
Populates a multimap by reading an input stream, as part of deserialization.
populateMultiset(Multiset<E>, ObjectInputStream) - Static method in class com.google.common.collect.Serialization
Populates a multiset by reading an input stream, as part of deserialization.
Preconditions - Class in com.google.common.base
Simple static methods to be called at the start of your own methods to verify correct arguments and state.
Predicate<T> - Interface in com.google.common.base
Determines a true or false value for a given input.
Predicates - Class in com.google.common.base
Contains static factory methods for creating Predicate instances.
previous() - Method in class com.google.common.collect.ForwardingListIterator
 
previousIndex() - Method in class com.google.common.collect.ForwardingListIterator
 
PrimitiveArrays - Class in com.google.common.collect
Static utility methods pertaining to arrays of Java primitives.
put(K, V) - Method in interface com.google.common.collect.BiMap
put(K, V) - Method in class com.google.common.collect.EnumHashBiMap
 
put(K, V) - Method in class com.google.common.collect.ForwardingMap
 
put(K, V) - Method in class com.google.common.collect.ForwardingMultimap
 
put(K, V) - Method in class com.google.common.collect.HashBiMap
 
put(K, V) - Method in class com.google.common.collect.ImmutableBiMap.Builder
Associates key with value in the built bimap.
put(K, V) - Method in class com.google.common.collect.ImmutableMap.Builder
Associates key with value in the built map.
put(K, V) - Method in class com.google.common.collect.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.
put(K, V) - Method in class com.google.common.collect.ImmutableMultimap.Builder
Adds a key-value mapping to the built multimap.
put(K, V) - Method in class com.google.common.collect.ImmutableMultimap
Guaranteed to throw an exception and leave the multimap unmodified.
put(K, V) - Method in interface com.google.common.collect.Multimap
Stores a key-value pair in the multimap.
put(K, V) - Method in class com.google.common.collect.ReferenceMap
Associates the specified value with the specified key in this map.
putAll(Map<? extends K, ? extends V>) - Method in interface com.google.common.collect.BiMap
putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.ForwardingMap
 
putAll(K, Iterable<? extends V>) - Method in class com.google.common.collect.ForwardingMultimap
 
putAll(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.ForwardingMultimap
 
putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableBiMap.Builder
Associates all of map's keys and values in the built bimap.
putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableMap.Builder
Associates all of map's keys and values in the built map.
putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.
putAll(K, Iterable<? extends V>) - Method in class com.google.common.collect.ImmutableMultimap.Builder
Stores a collection of values with the same key in the built multimap.
putAll(K, V...) - Method in class com.google.common.collect.ImmutableMultimap.Builder
Stores an array of values with the same key in the built multimap.
putAll(K, Iterable<? extends V>) - Method in class com.google.common.collect.ImmutableMultimap
Guaranteed to throw an exception and leave the multimap unmodified.
putAll(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableMultimap
Guaranteed to throw an exception and leave the multimap unmodified.
putAll(K, Iterable<? extends V>) - Method in interface com.google.common.collect.Multimap
Stores a collection of values with the same key.
putAll(Multimap<? extends K, ? extends V>) - Method in interface com.google.common.collect.Multimap
Copies all of another multimap's key-value pairs into this multimap.
putIfAbsent(K, V) - Method in class com.google.common.collect.ForwardingConcurrentMap
 
putIfAbsent(K, V) - Method in class com.google.common.collect.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.
putIfAbsent(K, V) - Method in class com.google.common.collect.ReferenceMap
 
putInstance(Class<T>, T) - Method in interface com.google.common.collect.ClassToInstanceMap
Maps the specified class to the specified value.

R

ReferenceMap<K,V> - Class in com.google.common.collect
A ConcurrentMap implementation that internally utilizes your choice of strong, soft or weak references for its keys and for its values.
ReferenceMap(ReferenceType, ReferenceType) - Constructor for class com.google.common.collect.ReferenceMap
Constructs an empty instance, using the given reference types for keys and values.
ReferenceMap(ReferenceType, ReferenceType, ConcurrentMap<Object, Object>) - Constructor for class com.google.common.collect.ReferenceMap
Constructs an empty instance, using the given backing map and the given reference types for keys and values.
ReferenceType - Enum in com.google.common.base
Reference type.
remove() - Method in class com.google.common.collect.AbstractIterator
This method is not supported.
remove(Object) - Method in class com.google.common.collect.AbstractMultiset
Removes a single instance of the specified element from this collection, if it is present.
remove(Object, int) - Method in class com.google.common.collect.AbstractMultiset
Conditionally removes a number of occurrences of an element from this multiset, provided that at least this many occurrences are present.
remove(T) - Method in class com.google.common.collect.AbstractRemovableIterator
Removes element from the backing data source.
remove() - Method in class com.google.common.collect.AbstractRemovableIterator
Removes from the underlying collection the last element returned by the iterator.
remove(Object, int) - Method in class com.google.common.collect.ConcurrentMultiset
Removes a number of occurrences of the specified element from this multiset.
remove(Object) - Method in class com.google.common.collect.ForwardingCollection
 
remove(Object, Object) - Method in class com.google.common.collect.ForwardingConcurrentMap
 
remove() - Method in class com.google.common.collect.ForwardingIterator
 
remove(int) - Method in class com.google.common.collect.ForwardingList
 
remove(Object) - Method in class com.google.common.collect.ForwardingMap
 
remove(Object, Object) - Method in class com.google.common.collect.ForwardingMultimap
 
remove(Object, int) - Method in class com.google.common.collect.ForwardingMultiset
 
remove() - Method in class com.google.common.collect.ForwardingQueue
 
remove(Object) - Method in class com.google.common.collect.ImmutableCollection
Guaranteed to throw an exception and leave the collection unmodified.
remove(int) - Method in class com.google.common.collect.ImmutableList
Guaranteed to throw an exception and leave the list unmodified.
remove(Object) - Method in class com.google.common.collect.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.
remove(Object, Object) - Method in class com.google.common.collect.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.
remove(Object, Object) - Method in class com.google.common.collect.ImmutableMultimap
Guaranteed to throw an exception and leave the multimap unmodified.
remove(Object, int) - Method in class com.google.common.collect.ImmutableMultiset
Guaranteed to throw an exception and leave the collection unmodified.
remove(Object, Object) - Method in interface com.google.common.collect.Multimap
Removes a key-value pair from the multimap.
remove(Object, int) - Method in interface com.google.common.collect.Multiset
Conditionally removes a number of occurrences of an element from this multiset, provided that at least this many occurrences are present.
remove(Object) - Method in interface com.google.common.collect.Multiset
Removes a single occurrence of the specified element from this multiset, if present.
remove(Object) - Method in class com.google.common.collect.ReferenceMap
Removes the mapping for a key from this map if it is present.
remove(Object, Object) - Method in class com.google.common.collect.ReferenceMap
 
remove() - Method in class com.google.common.collect.UnmodifiableIterator
Guaranteed to throw an exception and leave the underlying data unmodified.
removeAll(Collection<?>) - Method in class com.google.common.collect.AbstractMultiset
Removes all of this multiset's elements that are also contained in the specified collection.
removeAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
removeAll(Object) - Method in class com.google.common.collect.ForwardingMultimap
 
removeAll(Collection<?>) - Method in class com.google.common.collect.ImmutableCollection
Guaranteed to throw an exception and leave the collection unmodified.
removeAll(Object) - Method in class com.google.common.collect.ImmutableMultimap
Guaranteed to throw an exception and leave the multimap unmodified.
removeAll(Iterable<?>, Collection<?>) - Static method in class com.google.common.collect.Iterables
Removes, from an iterable, every element that belongs to the provided collection.
removeAll(Iterator<?>, Collection<?>) - Static method in class com.google.common.collect.Iterators
Traverses an iterator and removes every element that belongs to the provided collection.
removeAll(Object) - Method in interface com.google.common.collect.ListMultimap
Removes all values associated with a given key.
removeAll(Object) - Method in interface com.google.common.collect.Multimap
Removes all values associated with a given key.
removeAll(Collection<?>) - Method in interface com.google.common.collect.Multiset
removeAll(Object) - Method in interface com.google.common.collect.SetMultimap
Removes all values associated with a given key.
removeAll(Object) - Method in interface com.google.common.collect.SortedSetMultimap
Removes all values associated with a given key.
removeAllOccurrences(Object) - Method in class com.google.common.collect.AbstractMultiset
Removes all occurrences of the specified element from this multiset.
removeAllOccurrences(Object) - Method in class com.google.common.collect.ConcurrentMultiset
Removes all occurrences of the specified element from this multiset.
removeAllOccurrences(Object) - Method in class com.google.common.collect.ForwardingMultiset
 
removeAllOccurrences(Object) - Method in class com.google.common.collect.ImmutableMultiset
Guaranteed to throw an exception and leave the collection unmodified.
removeAllOccurrences(Object) - Method in interface com.google.common.collect.Multiset
Removes all occurrences of the specified element from this multiset.
removeAllOccurrences(Object) - Method in class com.google.common.collect.TreeMultiset
 
removeExactly(Object, int) - Method in class com.google.common.collect.ConcurrentMultiset
Removes exactly the specified number of occurrences of element, or makes no change if this is not possible.
replace(K, V) - Method in class com.google.common.collect.ForwardingConcurrentMap
 
replace(K, V, V) - Method in class com.google.common.collect.ForwardingConcurrentMap
 
replace(K, V, V) - Method in class com.google.common.collect.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.
replace(K, V) - Method in class com.google.common.collect.ImmutableMap
Guaranteed to throw an exception and leave the map unmodified.
replace(K, V) - Method in class com.google.common.collect.ReferenceMap
 
replace(K, V, V) - Method in class com.google.common.collect.ReferenceMap
 
replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.ForwardingMultimap
 
replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.ImmutableMultimap
Guaranteed to throw an exception and leave the multimap unmodified.
replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.LinkedHashMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.ListMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.Multimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.SetMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.SortedSetMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
retainAll(Collection<?>) - Method in class com.google.common.collect.AbstractMultiset
Retains only the elements in this multiset that are contained in the specified collection.
retainAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
retainAll(Collection<?>) - Method in class com.google.common.collect.ImmutableCollection
Guaranteed to throw an exception and leave the collection unmodified.
retainAll(Iterable<?>, Collection<?>) - Static method in class com.google.common.collect.Iterables
Removes, from an iterable, every element that does not belong to the provided collection.
retainAll(Iterator<?>, Collection<?>) - Static method in class com.google.common.collect.Iterators
Traverses an iterator and removes every element that does not belong to the provided collection.
retainAll(Collection<?>) - Method in interface com.google.common.collect.Multiset
reverse(List<T>) - Static method in class com.google.common.collect.Iterables
Adapts a list to an iterable with reversed iteration order.
reverseOrder() - Static method in class com.google.common.collect.ImmutableSortedSet
Returns a factory that creates immutable sorted sets whose elements are ordered by the reverse of their natural ordering.
reverseOrder() - Method in class com.google.common.collect.Ordering
Returns the ordering that is the reverse of this ordering.
rotate(List<T>, int) - Static method in class com.google.common.collect.Iterables
Provides a rotated view of a list.

S

Serialization - Class in com.google.common.collect
Provides static method for serializing collection classes.
set(int, E) - Method in class com.google.common.collect.ForwardingList
 
set(E) - Method in class com.google.common.collect.ForwardingListIterator
 
set(int, E) - Method in class com.google.common.collect.ImmutableList
Guaranteed to throw an exception and leave the list unmodified.
setCount(E, int) - Method in class com.google.common.collect.ConcurrentMultiset
Adds or removes occurrences of element such that the ConcurrentMultiset.count(java.lang.Object) of the element becomes count.
setCount(E, int, int) - Method in class com.google.common.collect.ConcurrentMultiset
Sets the number of occurrences of element to newCount, but only if the count is currently oldCount.
setFinalField(Class<T>, T, String, Object) - Static method in class com.google.common.collect.Serialization
Updates the value of a final field, to support field initialization during deserialization.
SetMultimap<K,V> - Interface in com.google.common.collect
A Multimap that cannot hold duplicate key-value pairs.
Sets - Class in com.google.common.collect
Static utility methods pertaining to Set instances.
Sets.SetView<E> - Class in com.google.common.collect
An unmodifiable view of a set which may be backed by other sets; this view will change as the backing sets do.
Sets.SetView() - Constructor for class com.google.common.collect.Sets.SetView
 
setValue(V) - Method in class com.google.common.collect.AbstractMapEntry
setValue(V) - Method in class com.google.common.collect.ForwardingMapEntry
 
size() - Method in class com.google.common.collect.AbstractMultiset
size() - Method in class com.google.common.collect.ConcurrentMultiset
size() - Method in class com.google.common.collect.ForwardingCollection
 
size() - Method in class com.google.common.collect.ForwardingMap
 
size() - Method in class com.google.common.collect.ForwardingMultimap
 
size() - Method in class com.google.common.collect.ImmutableBiMap
 
size() - Method in class com.google.common.collect.ImmutableMultimap
 
size() - Method in class com.google.common.collect.ImmutableMultiset
 
size(Iterable<?>) - Static method in class com.google.common.collect.Iterables
Returns the number of elements in iterable.
size(Iterator<?>) - Static method in class com.google.common.collect.Iterators
Returns the number of elements remaining in iterator.
size() - Method in interface com.google.common.collect.Multimap
Returns the number of key-value pairs in the multimap.
size() - Method in class com.google.common.collect.ReferenceMap
Returns the number of key-value mappings in this map.
skip(Iterable<T>, int) - Static method in class com.google.common.collect.Iterables
Returns a view of iterable that skips its first numberToSkip elements.
skip(Iterator<T>, int) - Static method in class com.google.common.collect.Iterators
Calls next() on iterator, either numberToSkip times or until hasNext() returns false, whichever comes first.
sort(List<? extends T>) - Method in class com.google.common.collect.Ordering
Sorts list according to this ordering.
sortedCopy(Iterable<E>) - Static method in class com.google.common.collect.Lists
Returns a copy of the given iterable sorted by the natural ordering of its elements.
sortedCopy(Iterable<E>, Comparator<? super E>) - Static method in class com.google.common.collect.Lists
Returns a copy of the given iterable sorted by an explicit comparator.
sortedCopy(Iterable<E>) - Method in class com.google.common.collect.Ordering
Returns a copy of the given iterable sorted by this ordering.
SortedSetMultimap<K,V> - Interface in com.google.common.collect
A SetMultimap whose set of values for a given key are kept sorted; that is, they comprise a SortedSet.
STRING_FORM_ORDER - Static variable in class com.google.common.collect.Comparators
A comparator that compares objects by the natural ordering of their string representations as returned by toString().
subList(int, int) - Method in class com.google.common.collect.ForwardingList
 
subList(int, int) - Method in class com.google.common.collect.ImmutableList
Returns an immutable list of the elements between the specified fromIndex, inclusive, and toIndex, exclusive.
subMap(K, K) - Method in class com.google.common.collect.ForwardingSortedMap
 
subSet(E, E) - Method in class com.google.common.collect.ForwardingSortedSet
 
subSet(E, E) - Method in class com.google.common.collect.ImmutableSortedSet
Supplier<T> - Interface in com.google.common.base
A class that can supply objects of a single type.
Suppliers - Class in com.google.common.base
Useful suppliers.
Suppliers.CyclicDependencyException - Exception in com.google.common.base
Exception thrown when a memoizing supplier tries to get its own value.
synchronizedBiMap(BiMap<K, V>) - Static method in class com.google.common.collect.Maps
Returns a synchronized (thread-safe) bimap backed by the specified bimap.
synchronizedListMultimap(ListMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns a synchronized (thread-safe) ListMultimap backed by the specified multimap.
synchronizedMultimap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns a synchronized (thread-safe) multimap backed by the specified multimap.
synchronizedMultiset(Multiset<E>) - Static method in class com.google.common.collect.Multisets
Returns a synchronized (thread-safe) multiset backed by the specified multiset.
synchronizedSetMultimap(SetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns a synchronized (thread-safe) SetMultimap backed by the specified multimap.
synchronizedSortedSetMultimap(SortedSetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns a synchronized (thread-safe) SortedSetMultimap backed by the specified multimap.

T

tailMap(K) - Method in class com.google.common.collect.ForwardingSortedMap
 
tailSet(E) - Method in class com.google.common.collect.ForwardingSortedSet
 
tailSet(E) - Method in class com.google.common.collect.ImmutableSortedSet
TO_STRING - Static variable in class com.google.common.base.Functions
A function that calls toString() on its argument.
toArray() - Method in class com.google.common.collect.ConcurrentMultiset
 
toArray(T[]) - Method in class com.google.common.collect.ConcurrentMultiset
 
toArray() - Method in class com.google.common.collect.ForwardingCollection
 
toArray(T[]) - Method in class com.google.common.collect.ForwardingCollection
 
toArray() - Method in class com.google.common.collect.ImmutableCollection
 
toArray(T[]) - Method in class com.google.common.collect.ImmutableCollection
 
toBooleanArray(Collection<Boolean>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a collection of Boolean instances into a new array of primitive booleans.
toByteArray(Collection<Byte>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a collection of Byte instances into a new array of primitive bytes.
toCharArray(Collection<Character>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a collection of Character instances into a new array of primitive chars.
toDoubleArray(Collection<Double>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a collection of Double instances into a new array of primitive doubles.
toFloatArray(Collection<Float>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a collection of Float instances into a new array of primitive floats.
toHashCode() - Static method in class com.google.common.base.Functions
Returns a function that determines the hash code of its argument.
toIntArray(Collection<Integer>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a collection of Integer instances into a new array of primitive ints.
toLongArray(Collection<Long>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a collection of Long instances into a new array of primitive longs.
toShortArray(Collection<Short>) - Static method in class com.google.common.collect.PrimitiveArrays
Converts a collection of Short instances into a new array of primitive shorts.
toString() - Method in class com.google.common.collect.AbstractIterable
Returns a string representation of this iterable.
toString() - Method in class com.google.common.collect.AbstractMapEntry
Returns a string representation of the form {key}={value}.
toString() - Method in class com.google.common.collect.AbstractMultiset
toString() - Method in class com.google.common.collect.AbstractMultisetEntry
Returns a string representation of this multiset entry.
toString() - Method in interface com.google.common.collect.Constraint
Returns a brief human readable description of this constraint, such as "Not null" or "Positive number".
toString() - Method in class com.google.common.collect.ForwardingObject
Returns the string representation generated by the delegate's toString method.
toString() - Method in class com.google.common.collect.ImmutableBiMap
 
toString() - Method in class com.google.common.collect.ImmutableCollection
 
toString() - Method in class com.google.common.collect.ImmutableMap
 
toString() - Method in class com.google.common.collect.ImmutableMultimap
 
toString() - Method in class com.google.common.collect.ImmutableMultiset
 
toString() - Method in class com.google.common.collect.ImmutableSet
 
toString(Iterable<?>) - Static method in class com.google.common.collect.Iterables
Returns a string representation of iterable, with the format [e1, e2, ..., en].
toString(Iterator<?>) - Static method in class com.google.common.collect.Iterators
Returns a string representation of iterator, with the format [e1, e2, ..., en].
toString() - Method in interface com.google.common.collect.MapConstraint
Returns a brief human readable description of this constraint, such as "Not null".
toString() - Method in interface com.google.common.collect.Multiset.Entry
Returns the canonical string representation of this entry, defined as follows.
toString() - Method in interface com.google.common.collect.Multiset
toStringFunction() - Static method in class com.google.common.base.Functions
Returns a function that calls toString() on its argument.
toStringOrder() - Static method in class com.google.common.collect.Comparators
Returns a comparator that compares objects by the natural ordering of their string representations as returned by toString().
transform(Iterable<F>, Function<? super F, ? extends T>) - Static method in class com.google.common.collect.Iterables
Returns an iterable that applies function to each element of fromIterable.
transform(Iterator<F>, Function<? super F, ? extends T>) - Static method in class com.google.common.collect.Iterators
Returns an iterator that applies function to each element of fromIterator.
transform(List<F>, Function<? super F, ? extends T>) - Static method in class com.google.common.collect.Lists
Returns a list that applies function to each element of fromList.
TreeMultimap<K,V> - Class in com.google.common.collect
Implementation of Multimap whose keys and values are ordered by their natural ordering or by supplied comparators.
TreeMultimap() - Constructor for class com.google.common.collect.TreeMultimap
Constructs an empty TreeMultimap using the natural ordering of the key and value classes.
TreeMultimap(Comparator<? super K>, Comparator<? super V>) - Constructor for class com.google.common.collect.TreeMultimap
Constructs an empty TreeMultimap with explicit comparators.
TreeMultimap(Multimap<? extends K, ? extends V>) - Constructor for class com.google.common.collect.TreeMultimap
Constructs a TreeMultimap with the same mappings as the specified multimap.
TreeMultimap(Comparator<? super K>, Comparator<? super V>, Multimap<? extends K, ? extends V>) - Constructor for class com.google.common.collect.TreeMultimap
Constructs a TreeMultimap with explicit comparators and the same mappings as the specified multimap.
TreeMultiset<E> - Class in com.google.common.collect
Multiset implementation backed by a TreeMap.
TreeMultiset() - Constructor for class com.google.common.collect.TreeMultiset
Constructs a new, empty multiset, sorted according to the elements' natural order.
TreeMultiset(Comparator<? super E>) - Constructor for class com.google.common.collect.TreeMultiset
Constructs a new, empty multiset, sorted according to the specified comparator.
TreeMultiset(Iterable<? extends E>) - Constructor for class com.google.common.collect.TreeMultiset
Constructs an empty multiset containing the given initial elements, sorted according to the elements' natural order.
trimToSize() - Method in class com.google.common.collect.ArrayListMultimap
Reduces the memory used by this ArrayListMultimap, if feasible.

U

union(Set<? extends E>, Set<? extends E>) - Static method in class com.google.common.collect.Sets
Returns an unmodifiable view of the union of two sets.
uniqueIndex(Iterable<V>, Function<? super V, K>) - Static method in class com.google.common.collect.Maps
Returns an immutable map for which the Map.values() are the given elements in the given order, and each key is the product of invoking a supplied function on its corresponding value.
unmodifiableBiMap(BiMap<K, V>) - Static method in class com.google.common.collect.Maps
Returns an unmodifiable view of the specified bimap.
unmodifiableIterable(Iterable<T>) - Static method in class com.google.common.collect.Iterables
Returns an unmodifiable view of iterable.
unmodifiableIterator(Iterator<T>) - Static method in class com.google.common.collect.Iterators
Returns an unmodifiable view of iterator.
UnmodifiableIterator<E> - Class in com.google.common.collect
An iterator that does not support remove().
UnmodifiableIterator() - Constructor for class com.google.common.collect.UnmodifiableIterator
 
unmodifiableListMultimap(ListMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns an unmodifiable view of the specified ListMultimap.
unmodifiableMultimap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns an unmodifiable view of the specified multimap.
unmodifiableMultiset(Multiset<E>) - Static method in class com.google.common.collect.Multisets
Returns an unmodifiable view of the specified multiset.
unmodifiableSetMultimap(SetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns an unmodifiable view of the specified SetMultimap.
unmodifiableSortedSetMultimap(SortedSetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns an unmodifiable view of the specified SortedSetMultimap.

V

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

W

writeMap(Map<K, V>, ObjectOutputStream) - Static method in class com.google.common.collect.Serialization
Stores the contents of a map in an output stream, as part of serialization.
writeMultimap(Multimap<K, V>, ObjectOutputStream) - Static method in class com.google.common.collect.Serialization
Stores the contents of a multimap in an output stream, as part of serialization.
writeMultiset(Multiset<E>, ObjectOutputStream) - Static method in class com.google.common.collect.Serialization
Stores the contents of a multiset in an output stream, as part of serialization.

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