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

A

absent() - Static method in class com.google.common.base.Optional
Returns an Optional instance with no contained reference.
AbstractCache<K,V> - Class in com.google.common.cache
This class provides a skeletal implementation of the Cache interface to minimize the effort required to implement this interface.
AbstractCache() - Constructor for class com.google.common.cache.AbstractCache
Constructor for use by subclasses.
AbstractCache.SimpleStatsCounter - Class in com.google.common.cache
A thread-safe AbstractCache.StatsCounter implementation for use by Cache implementors.
AbstractCache.SimpleStatsCounter() - Constructor for class com.google.common.cache.AbstractCache.SimpleStatsCounter
 
AbstractCache.StatsCounter - Interface in com.google.common.cache
Accumulates statistics during the operation of a Cache for presentation by Cache.stats().
AbstractCheckedFuture<V,X extends Exception> - Class in com.google.common.util.concurrent
A delegating wrapper around a ListenableFuture that adds support for the AbstractCheckedFuture.checkedGet() and AbstractCheckedFuture.checkedGet(long, TimeUnit) methods.
AbstractCheckedFuture(ListenableFuture<V>) - Constructor for class com.google.common.util.concurrent.AbstractCheckedFuture
Constructs an AbstractCheckedFuture that wraps a delegate.
AbstractExecutionThreadService - Class in com.google.common.util.concurrent
Base class for services that can implement AbstractExecutionThreadService.startUp(), AbstractExecutionThreadService.run() and AbstractExecutionThreadService.shutDown() methods.
AbstractExecutionThreadService() - Constructor for class com.google.common.util.concurrent.AbstractExecutionThreadService
 
AbstractFuture<V> - Class in com.google.common.util.concurrent
An abstract implementation of the ListenableFuture interface.
AbstractFuture() - Constructor for class com.google.common.util.concurrent.AbstractFuture
 
AbstractIdleService - Class in com.google.common.util.concurrent
Base class for services that do not need a thread while "running" but may need one during startup and shutdown.
AbstractIdleService() - Constructor for class com.google.common.util.concurrent.AbstractIdleService
 
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
Constructor for use by subclasses.
AbstractLinkedIterator<T> - Class in com.google.common.collect
This class provides a skeletal implementation of the Iterator interface for sequences whose next element can always be derived from the previous element.
AbstractLinkedIterator(T) - Constructor for class com.google.common.collect.AbstractLinkedIterator
Creates a new iterator with the given first element, or, if firstOrNull is null, creates a new empty iterator.
AbstractListenableFuture<V> - Class in com.google.common.util.concurrent
Deprecated. Use AbstractFuture. This class is scheduled for deletion from Guava in Guava release 11.0.
AbstractListenableFuture() - Constructor for class com.google.common.util.concurrent.AbstractListenableFuture
Deprecated.  
AbstractService - Class in com.google.common.util.concurrent
Base class for implementing services that can handle AbstractService.doStart() and AbstractService.doStop() requests, responding to them with AbstractService.notifyStarted() and AbstractService.notifyStopped() callbacks.
AbstractService() - Constructor for class com.google.common.util.concurrent.AbstractService
 
accept(File, String) - Method in class com.google.common.io.PatternFilenameFilter
 
ACK - Static variable in class com.google.common.base.Ascii
Acknowledge: A communication control character transmitted by a receiver as an affirmative response to a sender.
add(String, Object) - Method in class com.google.common.base.Objects.ToStringHelper
Adds a name/value pair to the formatted output in name=value format.
add(E, int) - Method in class com.google.common.collect.ConcurrentHashMultiset
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(E) - Method in class com.google.common.collect.ImmutableCollection.Builder
Adds element to the ImmutableCollection being built.
add(E...) - Method in class com.google.common.collect.ImmutableCollection.Builder
Adds each element of elements to the ImmutableCollection being built.
add(int, E) - Method in class com.google.common.collect.ImmutableList
Guaranteed to throw an exception and leave the list unmodified.
add(E) - Method in class com.google.common.collect.ImmutableList.Builder
Adds element to the ImmutableList.
add(E...) - Method in class com.google.common.collect.ImmutableList.Builder
Adds each element of elements to the ImmutableList.
add(E, int) - Method in class com.google.common.collect.ImmutableMultiset
Guaranteed to throw an exception and leave the collection unmodified.
add(E) - Method in class com.google.common.collect.ImmutableMultiset.Builder
Adds element to the ImmutableMultiset.
add(E...) - Method in class com.google.common.collect.ImmutableMultiset.Builder
Adds each element of elements to the ImmutableMultiset.
add(E) - Method in class com.google.common.collect.ImmutableSet.Builder
Adds element to the ImmutableSet.
add(E...) - Method in class com.google.common.collect.ImmutableSet.Builder
Adds each element of elements to the ImmutableSet, ignoring duplicate elements (only the first duplicate element is added).
add(E) - Method in class com.google.common.collect.ImmutableSortedSet.Builder
Adds element to the ImmutableSortedSet.
add(E...) - Method in class com.google.common.collect.ImmutableSortedSet.Builder
Adds each element of elements to the ImmutableSortedSet, ignoring duplicate elements (only the first duplicate element is added).
add(E) - Method in class com.google.common.collect.MinMaxPriorityQueue
Adds the given element to this queue.
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.
add(E, int) - Method in class com.google.common.collect.TreeMultiset
 
add(E) - Method in class com.google.common.collect.UnmodifiableListIterator
Guaranteed to throw an exception and leave the underlying data unmodified.
add(Runnable, Executor) - Method in class com.google.common.util.concurrent.ExecutionList
Adds the Runnable and accompanying Executor to the list of listeners to execute.
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(Iterable<? extends E>) - Method in class com.google.common.collect.ImmutableCollection.Builder
Adds each element of elements to the ImmutableCollection being built.
addAll(Iterator<? extends E>) - Method in class com.google.common.collect.ImmutableCollection.Builder
Adds each element of elements to the ImmutableCollection being built.
addAll(int, Collection<? extends E>) - Method in class com.google.common.collect.ImmutableList
Guaranteed to throw an exception and leave the list unmodified.
addAll(Iterable<? extends E>) - Method in class com.google.common.collect.ImmutableList.Builder
Adds each element of elements to the ImmutableList.
addAll(Iterator<? extends E>) - Method in class com.google.common.collect.ImmutableList.Builder
Adds each element of elements to the ImmutableList.
addAll(Iterable<? extends E>) - Method in class com.google.common.collect.ImmutableMultiset.Builder
Adds each element of elements to the ImmutableMultiset.
addAll(Iterator<? extends E>) - Method in class com.google.common.collect.ImmutableMultiset.Builder
Adds each element of elements to the ImmutableMultiset.
addAll(Iterable<? extends E>) - Method in class com.google.common.collect.ImmutableSet.Builder
Adds each element of elements to the ImmutableSet, ignoring duplicate elements (only the first duplicate element is added).
addAll(Iterator<? extends E>) - Method in class com.google.common.collect.ImmutableSet.Builder
Adds each element of elements to the ImmutableSet, ignoring duplicate elements (only the first duplicate element is added).
addAll(Iterable<? extends E>) - Method in class com.google.common.collect.ImmutableSortedSet.Builder
Adds each element of elements to the ImmutableSortedSet, ignoring duplicate elements (only the first duplicate element is added).
addAll(Iterator<? extends E>) - Method in class com.google.common.collect.ImmutableSortedSet.Builder
Adds each element of elements to the ImmutableSortedSet, ignoring duplicate elements (only the first duplicate element is added).
addAll(Collection<T>, Iterable<? extends T>) - Static method in class com.google.common.collect.Iterables
Adds all elements in iterable to collection.
addAll(Collection<T>, Iterator<? extends T>) - Static method in class com.google.common.collect.Iterators
Adds all elements in iterator to collection.
addAll(Collection<? extends E>) - Method in class com.google.common.collect.MinMaxPriorityQueue
 
addCallback(ListenableFuture<V>, FutureCallback<? super V>) - Static method in class com.google.common.util.concurrent.Futures
Registers separate success and failure callbacks to be run when the Future's computation is complete or, if the computation is already complete, immediately.
addCallback(ListenableFuture<V>, FutureCallback<? super V>, Executor) - Static method in class com.google.common.util.concurrent.Futures
Registers separate success and failure callbacks to be run when the Future's computation is complete or, if the computation is already complete, immediately.
addCopies(E, int) - Method in class com.google.common.collect.ImmutableMultiset.Builder
Adds a number of occurrences of an element to this ImmutableMultiset.
addDelayedShutdownHook(ExecutorService, long, TimeUnit) - Static method in class com.google.common.util.concurrent.MoreExecutors
Add a shutdown hook to wait for thread completion in the given service.
addListener(Runnable, Executor) - Method in class com.google.common.util.concurrent.AbstractFuture
Registers a listener to be run on the given executor.
addListener(Runnable, Executor) - Method in class com.google.common.util.concurrent.ForwardingListenableFuture
 
addListener(Runnable, Executor) - Method in interface com.google.common.util.concurrent.ListenableFuture
Registers a listener to be run on the given executor.
addListener(Runnable, Executor) - Method in class com.google.common.util.concurrent.ListenableFutureTask
 
addValue(Object) - Method in class com.google.common.base.Objects.ToStringHelper
Adds a value to the formatted output in value format.
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.
all() - Static method in class com.google.common.collect.Ranges
Returns a range that contains every value of type C.
allAsList(ListenableFuture<? extends V>...) - Static method in class com.google.common.util.concurrent.Futures
Creates a new ListenableFuture whose value is a list containing the values of all its input futures, if all succeed.
allAsList(Iterable<? extends ListenableFuture<? extends V>>) - Static method in class com.google.common.util.concurrent.Futures
Creates a new ListenableFuture whose value is a list containing the values of all its input futures, if all succeed.
AllowConcurrentEvents - Annotation Type in com.google.common.eventbus
Marks an event handling method as being thread-safe.
allPrimitiveTypes() - Static method in class com.google.common.primitives.Primitives
Returns an immutable set of all nine primitive types (including void).
allWrapperTypes() - Static method in class com.google.common.primitives.Primitives
Returns an immutable set of all nine primitive-wrapper types (including Void).
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(CharMatcher) - Method in class com.google.common.base.CharMatcher
Returns a matcher that matches any character matched by both this matcher and other.
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 - Static variable in class com.google.common.base.CharMatcher
Matches any character.
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.
anyOf(CharSequence) - Static method in class com.google.common.base.CharMatcher
Returns a char matcher that matches any character present in the given character sequence.
append(CharSequence, File, Charset) - Static method in class com.google.common.io.Files
Appends a character sequence (such as a string) to a file using the given character set.
appendTo(A, Iterable<?>) - Method in class com.google.common.base.Joiner
Appends the string representation of each of parts, using the previously configured separator between each, to appendable.
appendTo(A, Object[]) - Method in class com.google.common.base.Joiner
Appends the string representation of each of parts, using the previously configured separator between each, to appendable.
appendTo(A, Object, Object, Object...) - Method in class com.google.common.base.Joiner
Appends to appendable the string representation of each of the remaining arguments.
appendTo(StringBuilder, Iterable<?>) - Method in class com.google.common.base.Joiner
Appends the string representation of each of parts, using the previously configured separator between each, to builder.
appendTo(StringBuilder, Object[]) - Method in class com.google.common.base.Joiner
Appends the string representation of each of parts, using the previously configured separator between each, to builder.
appendTo(StringBuilder, Object, Object, Object...) - Method in class com.google.common.base.Joiner
Appends to builder the string representation of each of the remaining arguments.
appendTo(A, Map<?, ?>) - Method in class com.google.common.base.Joiner.MapJoiner
Appends the string representation of each entry of map, using the previously configured separator and key-value separator, to appendable.
appendTo(StringBuilder, Map<?, ?>) - Method in class com.google.common.base.Joiner.MapJoiner
Appends the string representation of each entry of map, using the previously configured separator and key-value separator, to builder.
appendTo(A, Iterable<? extends Map.Entry<?, ?>>) - Method in class com.google.common.base.Joiner.MapJoiner
Appends the string representation of each entry in entries, using the previously configured separator and key-value separator, to appendable.
appendTo(StringBuilder, Iterable<? extends Map.Entry<?, ?>>) - Method in class com.google.common.base.Joiner.MapJoiner
Appends the string representation of each entry in entries, using the previously configured separator and key-value separator, to builder.
apply(Character) - Method in class com.google.common.base.CharMatcher
Returns true if this matcher matches the given character.
apply(F) - Method in interface com.google.common.base.Function
Returns the result of applying this function to input.
apply(T) - Method in interface com.google.common.base.Predicate
Returns the result of applying this predicate to input.
apply(K) - Method in class com.google.common.cache.AbstractCache
 
apply(K) - Method in interface com.google.common.cache.Cache
Discouraged.
apply(K) - Method in class com.google.common.cache.ForwardingCache
Deprecated. 
apply(C) - Method in class com.google.common.collect.Range
Equivalent to Range.contains(C); provided only to satisfy the Predicate interface.
arbitrary() - Static method in class com.google.common.collect.Ordering
Returns an arbitrary ordering over all objects, for which compare(a, b) == 0 implies a == b (identity equality).
areEqual() - Method in interface com.google.common.collect.MapDifference
Returns true if there are no differences between the two maps; that is, if the maps are equal.
ArrayListMultimap<K,V> - Class in com.google.common.collect
Implementation of Multimap that uses an ArrayList to store the values for a given key.
ArrayTable<R,C,V> - Class in com.google.common.collect
Fixed-size Table implementation backed by a two-dimensional array.
Ascii - Class in com.google.common.base
Static methods pertaining to ASCII characters (those in the range of values 0x00 through 0x7F), and to strings containing such characters.
ASCII - Static variable in class com.google.common.base.CharMatcher
Determines whether a character is ASCII, meaning that its code point is less than 128.
asEnumeration(Iterator<T>) - Static method in class com.google.common.collect.Iterators
Adapts an Iterator to the Enumeration interface.
asFunction(Interner<E>) - Static method in class com.google.common.collect.Interners
Returns a function that delegates to the Interner.intern(E) method of the given interner.
asList() - Method in class com.google.common.collect.ImmutableCollection
Returns a list view of the collection.
asList() - Method in class com.google.common.collect.ImmutableList
Returns this list instance.
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(boolean...) - Static method in class com.google.common.primitives.Booleans
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).
asList(byte...) - Static method in class com.google.common.primitives.Bytes
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).
asList(char...) - Static method in class com.google.common.primitives.Chars
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).
asList(double...) - Static method in class com.google.common.primitives.Doubles
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).
asList(float...) - Static method in class com.google.common.primitives.Floats
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).
asList(int...) - Static method in class com.google.common.primitives.Ints
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).
asList(long...) - Static method in class com.google.common.primitives.Longs
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).
asList(short...) - Static method in class com.google.common.primitives.Shorts
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).
asMap() - Method in class com.google.common.cache.AbstractCache
 
asMap() - Method in interface com.google.common.cache.Cache
Returns a view of the entries stored in this cache as a thread-safe map.
asMap() - Method in class com.google.common.cache.ForwardingCache
 
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 class com.google.common.collect.LinkedListMultimap
 
asMap() - Method in interface com.google.common.collect.ListMultimap
Returns a map view that associates each key with the corresponding values in the multimap.
asMap() - Method in interface com.google.common.collect.Multimap
Returns a map view that associates each key with the corresponding values in the multimap.
asMap() - Method in interface com.google.common.collect.SetMultimap
Returns a map view that associates each key with the corresponding values in the multimap.
asMap() - Method in interface com.google.common.collect.SortedSetMultimap
Returns a map view that associates each key with the corresponding values in the multimap.
asMap() - Method in class com.google.common.collect.TreeMultimap
Returns a map view that associates each key with the corresponding values in the multimap.
asSet(DiscreteDomain<C>) - Method in class com.google.common.collect.Range
Returns an ImmutableSortedSet containing the same values in the given domain contained by this range.
assignableFrom(Class<?>) - Static method in class com.google.common.base.Predicates
Returns a predicate that evaluates to true if the class being tested is assignable from the given class.
asWriter(Appendable) - Static method in class com.google.common.io.CharStreams
Returns a Writer that sends all output to the given Appendable target.
AsyncEventBus - Class in com.google.common.eventbus
An EventBus that takes the Executor of your choice and uses it to dispatch events, allowing dispatch to occur asynchronously.
AsyncEventBus(String, Executor) - Constructor for class com.google.common.eventbus.AsyncEventBus
Creates a new AsyncEventBus that will use executor to dispatch events.
AsyncEventBus(Executor) - Constructor for class com.google.common.eventbus.AsyncEventBus
Creates a new AsyncEventBus that will use executor to dispatch events.
asynchronous(RemovalListener<K, V>, Executor) - Static method in class com.google.common.cache.RemovalListeners
Returns an asynchronous RemovalListener which processes all eviction notifications asynchronously, using executor.
asynchronous(MapEvictionListener<K, V>, Executor) - Static method in class com.google.common.collect.EvictionListeners
Deprecated. Caching functionality in MapMaker is being moved to CacheBuilder. Functionality similar to EvictionListeners#asynchronous is provided by RemovalListeners.asynchronous(com.google.common.cache.RemovalListener, java.util.concurrent.Executor). This method is scheduled for deletion from Guava in Guava release 11.0.
AsynchronousComputationException - Exception in com.google.common.collect
Deprecated. this class is unused by com.google.common.collect. This class is scheduled for deletion in November 2012.
AsynchronousComputationException(Throwable) - Constructor for exception com.google.common.collect.AsynchronousComputationException
Deprecated. Creates a new instance with the given cause.
at(int, int) - Method in class com.google.common.collect.ArrayTable
Returns the value corresponding to the specified row and column indices.
atLeast(C) - Static method in class com.google.common.collect.Ranges
Returns a range that contains all values greater than or equal to endpoint.
atMost(C) - Static method in class com.google.common.collect.Ranges
Returns a range that contains all values less than or equal to endpoint.
Atomics - Class in com.google.common.util.concurrent
Static utility methods pertaining to classes in the java.util.concurrent.atomic package.
available() - Method in class com.google.common.io.LimitInputStream
 
averageLoadPenalty() - Method in class com.google.common.cache.CacheStats
Returns the average time spent loading new values.
awaitTermination(long, TimeUnit) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
 
awaitUninterruptibly(CountDownLatch) - Static method in class com.google.common.util.concurrent.Uninterruptibles
Invokes latch.await() uninterruptibly.
awaitUninterruptibly(CountDownLatch, long, TimeUnit) - Static method in class com.google.common.util.concurrent.Uninterruptibles
Invokes latch.await(timeout, unit) uninterruptibly.

B

BEL - Static variable in class com.google.common.base.Ascii
Bell ('\a'): A character for use when there is a need to call for human attention.
Beta - Annotation Type in com.google.common.annotations
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.
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.
Booleans - Class in com.google.common.primitives
Static utility methods pertaining to boolean primitives, that are not already found in either Boolean or Arrays.
BoundType - Enum in com.google.common.collect
Indicates whether an endpoint of some range is contained in the range itself ("closed") or not ("open").
BREAKING_WHITESPACE - Static variable in class com.google.common.base.CharMatcher
Determines whether a character is a breaking whitespace (that is, a whitespace which can be interpreted as a break between words for formatting purposes).
BS - Static variable in class com.google.common.base.Ascii
Backspace ('\b'): A format effector which controls the movement of the printing position one printing space backward on the same printing line.
build(CacheLoader<? super K1, V1>) - Method in class com.google.common.cache.CacheBuilder
Builds a cache, which either returns an already-loaded value for a given key or atomically computes or retrieves it using the supplied CacheLoader.
build() - Method in class com.google.common.collect.ImmutableBiMap.Builder
Returns a newly-created immutable bimap.
build() - Method in class com.google.common.collect.ImmutableClassToInstanceMap.Builder
Returns a new immutable class-to-instance map containing the entries provided to this builder.
build() - Method in class com.google.common.collect.ImmutableCollection.Builder
Returns a newly-created ImmutableCollection of the appropriate type, containing the elements provided to this builder.
build() - Method in class com.google.common.collect.ImmutableList.Builder
Returns a newly-created ImmutableList based on the contents of the Builder.
build() - Method in class com.google.common.collect.ImmutableListMultimap.Builder
Returns a newly-created immutable list multimap.
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
Returns a newly-created immutable multimap.
build() - Method in class com.google.common.collect.ImmutableMultiset.Builder
Returns a newly-created ImmutableMultiset based on the contents of the Builder.
build() - Method in class com.google.common.collect.ImmutableSet.Builder
Returns a newly-created ImmutableSet based on the contents of the Builder.
build() - Method in class com.google.common.collect.ImmutableSetMultimap.Builder
Returns a newly-created immutable set multimap.
build() - Method in class com.google.common.collect.ImmutableSortedMap.Builder
Returns a newly-created immutable sorted map.
build() - Method in class com.google.common.collect.ImmutableSortedSet.Builder
Returns a newly-created ImmutableSortedSet based on the contents of the Builder and its comparator.
build() - Method in class com.google.common.util.concurrent.ThreadFactoryBuilder
Returns a new thread factory using the options supplied during the building process.
builder() - Static method in class com.google.common.collect.ImmutableBiMap
Returns a new builder.
builder() - Static method in class com.google.common.collect.ImmutableClassToInstanceMap
Returns a new builder.
builder() - Static method in class com.google.common.collect.ImmutableList
Returns a new builder.
builder() - Static method in class com.google.common.collect.ImmutableListMultimap
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.
builder() - Static method in class com.google.common.collect.ImmutableMultiset
Returns a new builder.
builder() - Static method in class com.google.common.collect.ImmutableSet
Returns a new builder.
builder() - Static method in class com.google.common.collect.ImmutableSetMultimap
Returns a new ImmutableSetMultimap.Builder.
ByteArrayDataInput - Interface in com.google.common.io
An extension of DataInput for reading from in-memory byte arrays; its methods offer identical functionality but do not throw IOException.
ByteArrayDataOutput - Interface in com.google.common.io
An extension of DataOutput for writing to in-memory byte arrays; its methods offer identical functionality but do not throw IOException.
ByteProcessor<T> - Interface in com.google.common.io
A callback interface to process bytes from a stream.
Bytes - Class in com.google.common.primitives
Static utility methods pertaining to byte primitives, that are not already found in either Byte or Arrays, and interpret bytes as neither signed nor unsigned.
BYTES - Static variable in class com.google.common.primitives.Chars
The number of bytes required to represent a primitive char value.
BYTES - Static variable in class com.google.common.primitives.Doubles
The number of bytes required to represent a primitive double value.
BYTES - Static variable in class com.google.common.primitives.Floats
The number of bytes required to represent a primitive float value.
BYTES - Static variable in class com.google.common.primitives.Ints
The number of bytes required to represent a primitive int value.
BYTES - Static variable in class com.google.common.primitives.Longs
The number of bytes required to represent a primitive long value.
BYTES - Static variable in class com.google.common.primitives.Shorts
The number of bytes required to represent a primitive short value.
ByteStreams - Class in com.google.common.io
Provides utility methods for working with byte arrays and I/O streams.

C

Cache<K,V> - Interface in com.google.common.cache
A semi-persistent mapping from keys to values.
CacheBuilder<K,V> - Class in com.google.common.cache
A builder of Cache instances having any combination of the following features: least-recently-used eviction when a maximum size is exceeded time-based expiration of entries, measured since last access or last write keys automatically wrapped in weak references values automatically wrapped in weak or soft references notification of evicted (or otherwise removed) entries
CacheLoader<K,V> - Class in com.google.common.cache
Computes or retrieves values, based on a key, for use in populating a Cache.
CacheLoader() - Constructor for class com.google.common.cache.CacheLoader
 
CacheStats - Class in com.google.common.cache
Statistics about the performance of a Cache.
CacheStats(long, long, long, long, long, long) - Constructor for class com.google.common.cache.CacheStats
Constructs a new CacheStats instance.
Callables - Class in com.google.common.util.concurrent
Static utility methods pertaining to the Callable interface.
callWithTimeout(Callable<T>, long, TimeUnit, boolean) - Method in class com.google.common.util.concurrent.FakeTimeLimiter
 
callWithTimeout(Callable<T>, long, TimeUnit, boolean) - Method in class com.google.common.util.concurrent.SimpleTimeLimiter
 
callWithTimeout(Callable<T>, long, TimeUnit, boolean) - Method in interface com.google.common.util.concurrent.TimeLimiter
Invokes a specified Callable, timing out after the specified time limit.
CAN - Static variable in class com.google.common.base.Ascii
Cancel: A control character used to indicate that the data with which it is sent is in error or is to be disregarded.
cancel(boolean) - Method in class com.google.common.util.concurrent.AbstractFuture
 
cancel() - Method in class com.google.common.util.concurrent.AbstractFuture
Deprecated. Most implementations will be satisfied with the default implementation of AbstractFuture.cancel(boolean) and not need to call this method at all. Those that are not can delegate to super.cancel(mayInterruptIfRunning) or, to get behavior exactly equivalent to this method, super.cancel(false). This method will be removed from Guava in Guava release 11.0.
cancel(boolean) - Method in class com.google.common.util.concurrent.ForwardingFuture
 
canonical(DiscreteDomain<C>) - Method in class com.google.common.collect.Range
Returns the canonical form of this range in the given domain.
cartesianProduct(List<? extends Set<? extends B>>) - Static method in class com.google.common.collect.Sets
Returns every possible list that can be formed by choosing one element from each of the given sets in order; the "n-ary Cartesian product" of the sets.
cartesianProduct(Set<? extends B>...) - Static method in class com.google.common.collect.Sets
Returns every possible list that can be formed by choosing one element from each of the given sets in order; the "n-ary Cartesian product" of the sets.
CaseFormat - Enum in com.google.common.base
Utility class for converting between various ASCII case formats.
cellSet() - Method in class com.google.common.collect.ArrayTable
Returns an unmodifiable set of all row key / column key / value triplets.
cellSet() - Method in class com.google.common.collect.ForwardingTable
 
cellSet() - Method in interface com.google.common.collect.Table
Returns a set of all row key / column key / value triplets.
chain(ListenableFuture<I>, Function<? super I, ? extends ListenableFuture<? extends O>>) - Static method in class com.google.common.util.concurrent.Futures
Returns a new ListenableFuture whose result is asynchronously derived from the result of the given Future.
chain(ListenableFuture<I>, Function<? super I, ? extends ListenableFuture<? extends O>>, Executor) - Static method in class com.google.common.util.concurrent.Futures
Returns a new ListenableFuture whose result is asynchronously derived from the result of the given Future.
charactersOf(String) - Static method in class com.google.common.collect.Lists
Returns a view of the specified string as an immutable list of Character values.
charactersOf(CharSequence) - Static method in class com.google.common.collect.Lists
Returns a view of the specified CharSequence as a List<Character>, viewing sequence as a sequence of Unicode code units.
CharMatcher - Class in com.google.common.base
Determines a true or false value for any Java char value, just as Predicate does for any Object.
CharMatcher() - Constructor for class com.google.common.base.CharMatcher
 
Chars - Class in com.google.common.primitives
Static utility methods pertaining to char primitives, that are not already found in either Character or Arrays.
Charsets - Class in com.google.common.base
Contains constant definitions for the six standard Charset instances, which are guaranteed to be supported by all Java platform implementations.
CharStreams - Class in com.google.common.io
Provides utility methods for working with character streams.
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.
checkedCast(long) - Static method in class com.google.common.primitives.Chars
Returns the char value that is equal to value, if possible.
checkedCast(long) - Static method in class com.google.common.primitives.Ints
Returns the int value that is equal to value, if possible.
checkedCast(long) - Static method in class com.google.common.primitives.Shorts
Returns the short value that is equal to value, if possible.
checkedCast(long) - Static method in class com.google.common.primitives.SignedBytes
Returns the byte value that is equal to value, if possible.
checkedCast(long) - Static method in class com.google.common.primitives.UnsignedBytes
Returns the byte value that, when treated as unsigned, is equal to value, if possible.
CheckedFuture<V,X extends Exception> - Interface in com.google.common.util.concurrent
A CheckedFuture is a ListenableFuture that includes versions of the get methods that can throw a checked exception.
checkedGet() - Method in class com.google.common.util.concurrent.AbstractCheckedFuture
Exception checking version of Future.get() that will translate InterruptedException, CancellationException and ExecutionException into application-specific exceptions.
checkedGet(long, TimeUnit) - Method in class com.google.common.util.concurrent.AbstractCheckedFuture
Exception checking version of Future.get(long, TimeUnit) that will translate InterruptedException, CancellationException and ExecutionException into application-specific exceptions.
checkedGet() - Method in interface com.google.common.util.concurrent.CheckedFuture
Exception checking version of Future.get() that will translate InterruptedException, CancellationException and ExecutionException into application-specific exceptions.
checkedGet(long, TimeUnit) - Method in interface com.google.common.util.concurrent.CheckedFuture
Exception checking version of Future.get(long, TimeUnit) that will translate InterruptedException, CancellationException and ExecutionException into application-specific exceptions.
checkedGet() - Method in class com.google.common.util.concurrent.ForwardingCheckedFuture
 
checkedGet(long, TimeUnit) - Method in class com.google.common.util.concurrent.ForwardingCheckedFuture
 
checkElement(E) - Method in interface com.google.common.collect.Constraint
Throws a suitable RuntimeException if the specified element is illegal.
checkElementIndex(int, int) - Static method in class com.google.common.base.Preconditions
Ensures that index specifies a valid element in an array, list or string of size size.
checkElementIndex(int, int, String) - Static method in class com.google.common.base.Preconditions
Ensures that index specifies a valid element in an array, list or string of size size.
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.
checkPositionIndex(int, int) - Static method in class com.google.common.base.Preconditions
Ensures that index specifies a valid position in an array, list or string of size size.
checkPositionIndex(int, int, String) - Static method in class com.google.common.base.Preconditions
Ensures that index specifies a valid position in an array, list or string of size size.
checkPositionIndexes(int, int, int) - Static method in class com.google.common.base.Preconditions
Ensures that start and end specify a valid positions in an array, list or string of size size, and are in order.
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.
child(String) - Method in class com.google.common.net.InternetDomainName
Creates and returns a new InternetDomainName by prepending the argument and a dot to the current name.
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.
cleanUp() - Method in class com.google.common.cache.AbstractCache
 
cleanUp() - Method in interface com.google.common.cache.Cache
Performs any pending maintenance operations needed by the cache.
cleanUp() - Method in class com.google.common.cache.ForwardingCache
 
clear() - Method in class com.google.common.collect.ArrayTable
Deprecated. Use ArrayTable.eraseAll()
clear() - Method in class com.google.common.collect.ConcurrentHashMultiset
 
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.ForwardingTable
 
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 class com.google.common.collect.LinkedListMultimap
 
clear() - Method in class com.google.common.collect.MinMaxPriorityQueue
 
clear() - Method in interface com.google.common.collect.Multimap
Removes all key-value pairs from the multimap.
clear() - Method in interface com.google.common.collect.Table
Removes all mappings from the table.
close(Closeable, boolean) - Static method in class com.google.common.io.Closeables
Closes a Closeable, with control over whether an IOException may be thrown.
close() - Method in class com.google.common.io.FileBackedOutputStream
 
Closeables - Class in com.google.common.io
Utility methods for working with Closeable objects.
closed(C, C) - Static method in class com.google.common.collect.Ranges
Returns a range that contains all values greater than or equal to lower and less than or equal to upper.
closedOpen(C, C) - Static method in class com.google.common.collect.Ranges
Returns a range that contains all values greater than or equal to lower and strictly less than upper.
closeQuietly(Closeable) - Static method in class com.google.common.io.Closeables
Equivalent to calling close(closeable, true), but with no IOException in the signature.
coerceToInteger(InetAddress) - Static method in class com.google.common.net.InetAddresses
Returns an integer representing an IPv4 address regardless of whether the supplied argument is an IPv4 address or not.
collapseFrom(CharSequence, char) - Method in class com.google.common.base.CharMatcher
Returns a string copy of the input character sequence, with each group of consecutive characters that match this matcher replaced by a single replacement character.
Collections2 - Class in com.google.common.collect
Provides static methods for working with Collection instances.
column(C) - Method in class com.google.common.collect.ArrayTable
Returns a view of all mappings that have the given column key.
column(C) - Method in class com.google.common.collect.ForwardingTable
 
column(C) - Method in interface com.google.common.collect.Table
Returns a view of all mappings that have the given column key.
columnComparator() - Method in class com.google.common.collect.TreeBasedTable
Returns the comparator that orders the columns.
columnKeyList() - Method in class com.google.common.collect.ArrayTable
Returns, as an immutable list, the column keys provided when the table was constructed, including those that are mapped to null values only.
columnKeySet() - Method in class com.google.common.collect.ArrayTable
Returns an immutable set of the valid column keys, including those that are associated with null values only.
columnKeySet() - Method in class com.google.common.collect.ForwardingTable
 
columnKeySet() - Method in interface com.google.common.collect.Table
Returns a set of column keys that have one or more values in the table.
columnMap() - Method in class com.google.common.collect.ArrayTable
 
columnMap() - Method in class com.google.common.collect.ForwardingTable
 
columnMap() - Method in interface com.google.common.collect.Table
Returns a view that associates each column key with the corresponding map from row keys to values.
com.google.common.annotations - package com.google.common.annotations
Common annotation types.
com.google.common.base - package com.google.common.base
Basic utility libraries and interfaces.
com.google.common.base.internal - package com.google.common.base.internal
 
com.google.common.cache - package com.google.common.cache
This package contains caching utilities.
com.google.common.collect - package com.google.common.collect
This package contains generic collection interfaces and implementations, and other utilities for working with collections.
com.google.common.eventbus - package com.google.common.eventbus
The EventBus allows publish-subscribe-style communication between components without requiring the components to explicitly register with one another (and thus be aware of each other).
com.google.common.io - package com.google.common.io
This package contains utility methods and classes for working with Java I/O, for example input streams, output streams, readers, writers, and files.
com.google.common.net - package com.google.common.net
This package contains utility methods and classes for working with net addresses (numeric IP and domain names).
com.google.common.primitives - package com.google.common.primitives
Static utilities for working with the eight primitive types and void.
com.google.common.util.concurrent - package com.google.common.util.concurrent
Concurrency utilities.
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.ImmutableSortedMap
Returns the comparator that orders the keys, which is Ordering.natural() when the natural ordering of the keys is used.
comparator() - Method in class com.google.common.collect.ImmutableSortedSet
Returns the comparator that orders the elements, which is Ordering.natural() when the natural ordering of the elements is used.
comparator() - Method in class com.google.common.collect.MinMaxPriorityQueue
Returns the comparator used to order the elements in this queue.
comparator() - Method in class com.google.common.collect.TreeMultiset
Returns the comparator associated with this multiset.
compare(Comparable<?>, Comparable<?>) - Method in class com.google.common.collect.ComparisonChain
Compares two comparable objects as specified by Comparable.compareTo(T), if the result of this comparison chain has not already been determined.
compare(T, T, Comparator<T>) - Method in class com.google.common.collect.ComparisonChain
Compares two objects using a comparator, if the result of this comparison chain has not already been determined.
compare(int, int) - Method in class com.google.common.collect.ComparisonChain
Compares two int values as specified by Ints.compare(int, int), if the result of this comparison chain has not already been determined.
compare(long, long) - Method in class com.google.common.collect.ComparisonChain
Compares two long values as specified by Longs.compare(long, long), if the result of this comparison chain has not already been determined.
compare(float, float) - Method in class com.google.common.collect.ComparisonChain
Compares two float values as specified by Float.compare(float, float), if the result of this comparison chain has not already been determined.
compare(double, double) - Method in class com.google.common.collect.ComparisonChain
Compares two double values as specified by Double.compare(double, double), if the result of this comparison chain has not already been determined.
compare(boolean, boolean) - Method in class com.google.common.collect.ComparisonChain
Compares two boolean values as specified by Booleans.compare(boolean, boolean), if the result of this comparison chain has not already been determined.
compare(T, T) - Method in class com.google.common.collect.Ordering
 
compare(boolean, boolean) - Static method in class com.google.common.primitives.Booleans
Compares the two specified boolean values in the standard way (false is considered less than true).
compare(char, char) - Static method in class com.google.common.primitives.Chars
Compares the two specified char values.
compare(double, double) - Static method in class com.google.common.primitives.Doubles
Compares the two specified double values.
compare(float, float) - Static method in class com.google.common.primitives.Floats
Compares the two specified float values using Float.compare(float, float).
compare(int, int) - Static method in class com.google.common.primitives.Ints
Compares the two specified int values.
compare(long, long) - Static method in class com.google.common.primitives.Longs
Compares the two specified long values.
compare(short, short) - Static method in class com.google.common.primitives.Shorts
Compares the two specified short values.
compare(byte, byte) - Static method in class com.google.common.primitives.SignedBytes
Compares the two specified byte values.
compare(byte, byte) - Static method in class com.google.common.primitives.UnsignedBytes
Compares the two specified byte values, treating them as unsigned values between 0 and 255 inclusive.
compare(long, long) - Static method in class com.google.common.primitives.UnsignedLongs
Compares the two specified long values, treating them as unsigned values between 0 and 2^64 - 1 inclusive.
ComparisonChain - Class in com.google.common.collect
A utility for performing a "lazy" chained comparison statement, which performs comparisons only until it finds a nonzero result.
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<B, C>, Function<A, ? extends B>) - Static method in class com.google.common.base.Functions
Returns the composition of two functions.
compose(Predicate<B>, Function<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, T>, Supplier<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(Iterable<? extends Comparator<? super T>>) - Static method in class com.google.common.collect.Ordering
Returns an ordering 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(Comparator<? super U>) - Method in class com.google.common.collect.Ordering
Returns an ordering which first uses the ordering this, but which in the event of a "tie", then delegates to secondaryComparator.
ComputationException - Exception in com.google.common.collect
Wraps an exception that occurred during a computation.
ComputationException(Throwable) - Constructor for exception com.google.common.collect.ComputationException
Creates a new instance with the given cause.
computeNext() - Method in class com.google.common.collect.AbstractIterator
Returns the next element.
computeNext(T) - Method in class com.google.common.collect.AbstractLinkedIterator
Returns the element that follows previous, or returns null if no elements remain.
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>, Iterable<? extends T>, Iterable<? extends T>) - Static method in class com.google.common.collect.Iterables
Combines three iterables into a single iterable.
concat(Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>) - Static method in class com.google.common.collect.Iterables
Combines four 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>, Iterator<? extends T>, Iterator<? extends T>) - Static method in class com.google.common.collect.Iterators
Combines three iterators into a single iterator.
concat(Iterator<? extends T>, Iterator<? extends T>, Iterator<? extends T>, Iterator<? extends T>) - Static method in class com.google.common.collect.Iterators
Combines four 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.
concat(T, T[]) - Static method in class com.google.common.collect.ObjectArrays
Returns a new array that prepends element to array.
concat(T[], T) - Static method in class com.google.common.collect.ObjectArrays
Returns a new array that appends element to array.
concat(boolean[]...) - Static method in class com.google.common.primitives.Booleans
Returns the values from each provided array combined into a single array.
concat(byte[]...) - Static method in class com.google.common.primitives.Bytes
Returns the values from each provided array combined into a single array.
concat(char[]...) - Static method in class com.google.common.primitives.Chars
Returns the values from each provided array combined into a single array.
concat(double[]...) - Static method in class com.google.common.primitives.Doubles
Returns the values from each provided array combined into a single array.
concat(float[]...) - Static method in class com.google.common.primitives.Floats
Returns the values from each provided array combined into a single array.
concat(int[]...) - Static method in class com.google.common.primitives.Ints
Returns the values from each provided array combined into a single array.
concat(long[]...) - Static method in class com.google.common.primitives.Longs
Returns the values from each provided array combined into a single array.
concat(short[]...) - Static method in class com.google.common.primitives.Shorts
Returns the values from each provided array combined into a single array.
concurrencyLevel(int) - Method in class com.google.common.cache.CacheBuilder
Guides the allowed concurrency among update operations.
concurrencyLevel(int) - Method in class com.google.common.collect.GenericMapMaker
See MapMaker.concurrencyLevel.
concurrencyLevel(int) - Method in class com.google.common.collect.MapMaker
Guides the allowed concurrency among update operations.
ConcurrentHashMultiset<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).
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.
consumingIterable(Iterable<T>) - Static method in class com.google.common.collect.Iterables
Returns a view of the supplied iterable that wraps each generated Iterator through Iterators.consumingIterator(Iterator).
consumingIterator(Iterator<T>) - Static method in class com.google.common.collect.Iterators
Returns a view of the supplied iterator that removes each element from the supplied iterator as it is returned.
contains(Pattern) - Static method in class com.google.common.base.Predicates
Returns a predicate that evaluates to true if the CharSequence being tested contains any match for the given regular expression pattern.
contains(Object, Object) - Method in class com.google.common.collect.ArrayTable
Returns true if the provided keys are among the keys provided when the table was constructed.
contains(Object) - Method in class com.google.common.collect.ForwardingCollection
 
contains(Object, Object) - Method in class com.google.common.collect.ForwardingTable
 
contains(Object, Object) - Method in class com.google.common.collect.HashBasedTable
 
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 which 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.
contains(C) - Method in class com.google.common.collect.Range
Returns true if value is within the bounds of this range.
contains(Object, Object) - Method in interface com.google.common.collect.Table
Returns true if the table contains a mapping with the specified row and column keys.
contains(Object, Object) - Method in class com.google.common.collect.TreeBasedTable
 
contains(boolean[], boolean) - Static method in class com.google.common.primitives.Booleans
Returns true if target is present as an element anywhere in array.
contains(byte[], byte) - Static method in class com.google.common.primitives.Bytes
Returns true if target is present as an element anywhere in array.
contains(char[], char) - Static method in class com.google.common.primitives.Chars
Returns true if target is present as an element anywhere in array.
contains(double[], double) - Static method in class com.google.common.primitives.Doubles
Returns true if target is present as an element anywhere in array.
contains(float[], float) - Static method in class com.google.common.primitives.Floats
Returns true if target is present as an element anywhere in array.
contains(int[], int) - Static method in class com.google.common.primitives.Ints
Returns true if target is present as an element anywhere in array.
contains(long[], long) - Static method in class com.google.common.primitives.Longs
Returns true if target is present as an element anywhere in array.
contains(short[], short) - Static method in class com.google.common.primitives.Shorts
Returns true if target is present as an element anywhere in array.
containsAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
 
containsAll(Collection<?>) - Method in class com.google.common.collect.ImmutableCollection
 
containsAll(Collection<?>) - Method in class com.google.common.collect.ImmutableMultiset
 
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.
containsAll(Iterable<? extends C>) - Method in class com.google.common.collect.Range
Returns true if every element in values is contained in this range.
containsColumn(Object) - Method in class com.google.common.collect.ArrayTable
Returns true if the provided column key is among the column keys provided when the table was constructed.
containsColumn(Object) - Method in class com.google.common.collect.ForwardingTable
 
containsColumn(Object) - Method in class com.google.common.collect.HashBasedTable
 
containsColumn(Object) - Method in interface com.google.common.collect.Table
Returns true if the table contains a mapping with the specified column.
containsColumn(Object) - Method in class com.google.common.collect.TreeBasedTable
 
containsEntry(Object, Object) - Method in class com.google.common.collect.ForwardingMultimap
 
containsEntry(Object, Object) - Method in class com.google.common.collect.ImmutableMultimap
 
containsEntry(Object, Object) - Method in class com.google.common.collect.LinkedListMultimap
 
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 class com.google.common.collect.LinkedListMultimap
 
containsKey(Object) - Method in interface com.google.common.collect.Multimap
Returns true if the multimap contains any values for the specified key.
containsOccurrences(Multiset<?>, Multiset<?>) - Static method in class com.google.common.collect.Multisets
Returns true if subMultiset.count(o) <= superMultiset.count(o) for all o.
containsPattern(String) - Static method in class com.google.common.base.Predicates
Returns a predicate that evaluates to true if the CharSequence being tested contains any match for the given regular expression pattern.
containsRow(Object) - Method in class com.google.common.collect.ArrayTable
Returns true if the provided row key is among the row keys provided when the table was constructed.
containsRow(Object) - Method in class com.google.common.collect.ForwardingTable
 
containsRow(Object) - Method in class com.google.common.collect.HashBasedTable
 
containsRow(Object) - Method in interface com.google.common.collect.Table
Returns true if the table contains a mapping with the specified row key.
containsRow(Object) - Method in class com.google.common.collect.TreeBasedTable
 
containsValue(Object) - Method in class com.google.common.collect.ArrayTable
 
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.ForwardingTable
 
containsValue(Object) - Method in class com.google.common.collect.HashBasedTable
 
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 class com.google.common.collect.ImmutableSortedMap
 
containsValue(Object) - Method in class com.google.common.collect.LinkedListMultimap
 
containsValue(Object) - Method in interface com.google.common.collect.Multimap
Returns true if the multimap contains the specified value for any key.
containsValue(Object) - Method in interface com.google.common.collect.Table
Returns true if the table contains a mapping with the specified value.
containsValue(Object) - Method in class com.google.common.collect.TreeBasedTable
 
ContiguousSet<C extends Comparable> - Class in com.google.common.collect
A sorted set of contiguous values in a given DiscreteDomain.
copy(InputSupplier<? extends InputStream>, OutputSupplier<? extends OutputStream>) - Static method in class com.google.common.io.ByteStreams
Opens input and output streams from the given suppliers, copies all bytes from the input to the output, and closes the streams.
copy(InputSupplier<? extends InputStream>, OutputStream) - Static method in class com.google.common.io.ByteStreams
Opens an input stream from the supplier, copies all bytes from the input to the output, and closes the input stream.
copy(InputStream, OutputSupplier<? extends OutputStream>) - Static method in class com.google.common.io.ByteStreams
Opens an output stream from the supplier, copies all bytes from the input to the output, and closes the output stream.
copy(InputStream, OutputStream) - Static method in class com.google.common.io.ByteStreams
Copies all bytes from the input stream to the output stream.
copy(ReadableByteChannel, WritableByteChannel) - Static method in class com.google.common.io.ByteStreams
Copies all bytes from the readable channel to the writable channel.
copy(InputSupplier<R>, OutputSupplier<W>) - Static method in class com.google.common.io.CharStreams
Opens Readable and Appendable objects from the given factories, copies all characters between the two, and closes them.
copy(InputSupplier<R>, Appendable) - Static method in class com.google.common.io.CharStreams
Opens a Readable object from the supplier, copies all characters to the Appendable object, and closes the input.
copy(Readable, Appendable) - Static method in class com.google.common.io.CharStreams
Copies all characters between the Readable and Appendable objects.
copy(InputSupplier<? extends InputStream>, File) - Static method in class com.google.common.io.Files
Copies to a file all bytes from an InputStream supplied by a factory.
copy(File, OutputSupplier<? extends OutputStream>) - Static method in class com.google.common.io.Files
Copies all bytes from a file to an OutputStream supplied by a factory.
copy(File, OutputStream) - Static method in class com.google.common.io.Files
Copies all bytes from a file to an output stream.
copy(File, File) - Static method in class com.google.common.io.Files
Copies all the bytes from one file to another.
copy(InputSupplier<R>, File, Charset) - Static method in class com.google.common.io.Files
Copies to a file all characters from a Readable and Closeable object supplied by a factory, using the given character set.
copy(File, Charset, OutputSupplier<W>) - Static method in class com.google.common.io.Files
Copies all characters from a file to a Appendable & Closeable object supplied by a factory, using the given character set.
copy(File, Charset, Appendable) - Static method in class com.google.common.io.Files
Copies all characters from a file to an appendable object, using the given character set.
copy(URL, OutputStream) - Static method in class com.google.common.io.Resources
Copies all bytes from a URL to an output stream.
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(Map<? extends Class<? extends S>, ? extends S>) - Static method in class com.google.common.collect.ImmutableClassToInstanceMap
Returns an immutable map 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(Collection<? 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(E[]) - Static method in class com.google.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
copyOf(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.ImmutableListMultimap
Returns an immutable multimap containing the same mappings as multimap.
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(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.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(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.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(Collection<? extends E>) - Static method in class com.google.common.collect.ImmutableSet
Returns an immutable set containing the given elements, in order.
copyOf(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.ImmutableSetMultimap
Returns an immutable set multimap containing the same mappings as multimap.
copyOf(Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.ImmutableSortedMap
Returns an immutable map containing the same entries as map, sorted by the natural ordering of the keys.
copyOf(Map<? extends K, ? extends V>, Comparator<? super K>) - Static method in class com.google.common.collect.ImmutableSortedMap
Returns an immutable map containing the same entries as map, with keys sorted by the provided comparator.
copyOf(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>) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
copyOf(Collection<? 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(Comparator<? super E>, Iterator<? extends E>) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by the given Comparator.
copyOf(Comparator<? super E>, Iterable<? extends E>) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by the given Comparator.
copyOf(Comparator<? super E>, Collection<? extends E>) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by the given Comparator.
copyOfSorted(SortedMap<K, ? extends V>) - Static method in class com.google.common.collect.ImmutableSortedMap
Returns an immutable map containing the same entries as the provided sorted map, with the same ordering.
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.ConcurrentHashMultiset
Returns the number of occurrences of element in this multiset.
count(Object) - Method in class com.google.common.collect.ForwardingMultiset
 
count(Object) - Method in interface com.google.common.collect.Multiset
Returns the number of occurrences of an element in this multiset (the count of the element).
count(Object) - Method in class com.google.common.collect.TreeMultiset
 
countIn(CharSequence) - Method in class com.google.common.base.CharMatcher
Returns the number of matching characters found in a character sequence.
CountingInputStream - Class in com.google.common.io
An InputStream that counts the number of bytes read.
CountingInputStream(InputStream) - Constructor for class com.google.common.io.CountingInputStream
Wraps another input stream, counting the number of bytes read.
CountingOutputStream - Class in com.google.common.io
An OutputStream that counts the number of bytes written.
CountingOutputStream(OutputStream) - Constructor for class com.google.common.io.CountingOutputStream
Wraps another output stream, counting the number of bytes written.
CR - Static variable in class com.google.common.base.Ascii
Carriage Return ('\r'): A format effector which controls the movement of the printing position to the first printing position on the same printing line.
create() - Static method in class com.google.common.collect.ArrayListMultimap
Creates a new, empty ArrayListMultimap with the default initial capacities.
create(int, int) - Static method in class com.google.common.collect.ArrayListMultimap
Constructs an empty ArrayListMultimap with enough capacity to hold the specified numbers of keys and values without resizing.
create(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.ArrayListMultimap
Constructs an ArrayListMultimap with the same mappings as the specified multimap.
create(Iterable<? extends R>, Iterable<? extends C>) - Static method in class com.google.common.collect.ArrayTable
Creates an empty ArrayTable.
create(Table<R, C, V>) - Static method in class com.google.common.collect.ArrayTable
Creates an ArrayTable with the mappings in the provided table.
create(ArrayTable<R, C, V>) - Static method in class com.google.common.collect.ArrayTable
Creates an ArrayTable with the same mappings, allowed keys, and iteration ordering as the provided ArrayTable.
create() - Static method in class com.google.common.collect.ConcurrentHashMultiset
Creates a new, empty ConcurrentHashMultiset using the default initial capacity, load factor, and concurrency settings.
create(Iterable<? extends E>) - Static method in class com.google.common.collect.ConcurrentHashMultiset
Creates a new ConcurrentHashMultiset containing the specified elements, using the default initial capacity, load factor, and concurrency settings.
create(GenericMapMaker<? super E, ? super Number>) - Static method in class com.google.common.collect.ConcurrentHashMultiset
Creates a new, empty ConcurrentHashMultiset using mapMaker to construct the internal backing map.
create(Class<K>, Class<V>) - Static method in class com.google.common.collect.EnumBiMap
Returns a new, empty EnumBiMap using the specified key and value types.
create(Map<K, V>) - Static method in class com.google.common.collect.EnumBiMap
Returns a new bimap with the same mappings as the specified map.
create(Class<K>) - Static method in class com.google.common.collect.EnumHashBiMap
Returns a new, empty EnumHashBiMap using the specified key type.
create(Map<K, ? extends V>) - Static method in class com.google.common.collect.EnumHashBiMap
Constructs a new bimap with the same mappings as the specified map.
create(Class<E>) - Static method in class com.google.common.collect.EnumMultiset
Creates an empty EnumMultiset.
create(Iterable<E>) - Static method in class com.google.common.collect.EnumMultiset
Creates a new EnumMultiset containing the specified elements.
create() - Static method in class com.google.common.collect.HashBasedTable
Creates an empty HashBasedTable.
create(int, int) - Static method in class com.google.common.collect.HashBasedTable
Creates an empty HashBasedTable with the specified map sizes.
create(Table<? extends R, ? extends C, ? extends V>) - Static method in class com.google.common.collect.HashBasedTable
Creates a HashBasedTable with the same mappings as the specified table.
create() - Static method in class com.google.common.collect.HashBiMap
Returns a new, empty HashBiMap with the default initial capacity (16).
create(int) - Static method in class com.google.common.collect.HashBiMap
Constructs a new, empty bimap with the specified expected size.
create(Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.HashBiMap
Constructs a new bimap containing initial values from map.
create() - Static method in class com.google.common.collect.HashMultimap
Creates a new, empty HashMultimap with the default initial capacities.
create(int, int) - Static method in class com.google.common.collect.HashMultimap
Constructs an empty HashMultimap with enough capacity to hold the specified numbers of keys and values without rehashing.
create(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.HashMultimap
Constructs a HashMultimap with the same mappings as the specified multimap.
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.
create() - Static method in class com.google.common.collect.LinkedHashMultimap
Creates a new, empty LinkedHashMultimap with the default initial capacities.
create(int, int) - Static method in class com.google.common.collect.LinkedHashMultimap
Constructs an empty LinkedHashMultimap with enough capacity to hold the specified numbers of keys and values without rehashing.
create(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.LinkedHashMultimap
Constructs a LinkedHashMultimap with the same mappings as the specified multimap.
create() - Static method in class com.google.common.collect.LinkedHashMultiset
Creates a new, empty LinkedHashMultiset using the default initial capacity.
create(int) - Static method in class com.google.common.collect.LinkedHashMultiset
Creates a new, empty LinkedHashMultiset with the specified expected number of distinct elements.
create(Iterable<? extends E>) - Static method in class com.google.common.collect.LinkedHashMultiset
Creates a new LinkedHashMultiset containing the specified elements.
create() - Static method in class com.google.common.collect.LinkedListMultimap
Creates a new, empty LinkedListMultimap with the default initial capacity.
create(int) - Static method in class com.google.common.collect.LinkedListMultimap
Constructs an empty LinkedListMultimap with enough capacity to hold the specified number of keys without rehashing.
create(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.LinkedListMultimap
Constructs a LinkedListMultimap with the same mappings as the specified Multimap.
create() - Method in class com.google.common.collect.MinMaxPriorityQueue.Builder
Builds a new min-max priority queue using the previously specified options, and having no initial contents.
create(Iterable<? extends T>) - Method in class com.google.common.collect.MinMaxPriorityQueue.Builder
Builds a new min-max priority queue using the previously specified options, and having the given initial elements.
create() - Static method in class com.google.common.collect.MinMaxPriorityQueue
Creates a new min-max priority queue with default settings: natural order, no maximum size, no initial contents, and an initial expected size of 11.
create(Iterable<? extends E>) - Static method in class com.google.common.collect.MinMaxPriorityQueue
Creates a new min-max priority queue using natural order, no maximum size, and initially containing the given elements.
create() - Static method in class com.google.common.collect.MutableClassToInstanceMap
Returns a new MutableClassToInstanceMap instance backed by a HashMap using the default initial capacity and load factor.
create(Map<Class<? extends B>, B>) - Static method in class com.google.common.collect.MutableClassToInstanceMap
Returns a new MutableClassToInstanceMap instance backed by a given empty backingMap.
create() - Static method in class com.google.common.collect.TreeBasedTable
Creates an empty TreeBasedTable that uses the natural orderings of both row and column keys.
create(Comparator<? super R>, Comparator<? super C>) - Static method in class com.google.common.collect.TreeBasedTable
Creates an empty TreeBasedTable that is ordered by the specified comparators.
create(TreeBasedTable<R, C, ? extends V>) - Static method in class com.google.common.collect.TreeBasedTable
Creates a TreeBasedTable with the same mappings and sort order as the specified TreeBasedTable.
create() - Static method in class com.google.common.collect.TreeMultimap
Creates an empty TreeMultimap ordered by the natural ordering of its keys and values.
create(Comparator<? super K>, Comparator<? super V>) - Static method in class com.google.common.collect.TreeMultimap
Creates an empty TreeMultimap instance using explicit comparators.
create(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.TreeMultimap
Constructs a TreeMultimap, ordered by the natural ordering of its keys and values, with the same mappings as the specified multimap.
create() - Static method in class com.google.common.collect.TreeMultiset
Creates a new, empty multiset, sorted according to the elements' natural order.
create(Comparator<? super E>) - Static method in class com.google.common.collect.TreeMultiset
Creates a new, empty multiset, sorted according to the specified comparator.
create(Iterable<? extends E>) - Static method in class com.google.common.collect.TreeMultiset
Creates an empty multiset containing the given initial elements, sorted according to the elements' natural order.
create(Callable<V>) - Static method in class com.google.common.util.concurrent.ListenableFutureTask
Creates a ListenableFutureTask that will upon running, execute the given Callable.
create(Runnable, V) - Static method in class com.google.common.util.concurrent.ListenableFutureTask
Creates a ListenableFutureTask that will upon running, execute the given Runnable, and arrange that get will return the given result on successful completion.
create() - Static method in class com.google.common.util.concurrent.SettableFuture
Creates a new SettableFuture in the default state.
createParentDirs(File) - Static method in class com.google.common.io.Files
Creates any necessary but nonexistent parent directories of the specified file.
createTempDir() - Static method in class com.google.common.io.Files
Atomically creates a new directory somewhere beneath the system's temporary directory (as defined by the java.io.tmpdir system property), and returns its name.
cycle(Iterable<T>) - Static method in class com.google.common.collect.Iterables
Returns an iterable whose iterators cycle indefinitely over the elements of iterable.
cycle(T...) - Static method in class com.google.common.collect.Iterables
Returns an iterable whose iterators cycle 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

DC1 - Static variable in class com.google.common.base.Ascii
Device Controls: Characters for the control of ancillary devices associated with data processing or telecommunication systems, more especially switching devices "on" or "off." (If a single "stop" control is required to interrupt or turn off ancillary devices, DC4 is the preferred assignment.)
DC2 - Static variable in class com.google.common.base.Ascii
 
DC3 - Static variable in class com.google.common.base.Ascii
 
DC4 - Static variable in class com.google.common.base.Ascii
 
DeadEvent - Class in com.google.common.eventbus
Wraps an event that was posted, but which had no subscribers and thus could not be delivered.
DeadEvent(Object, Object) - Constructor for class com.google.common.eventbus.DeadEvent
Creates a new DeadEvent.
Defaults - Class in com.google.common.base
This class provides default values for all Java types, as defined by the JLS.
defaultValue(Class<T>) - Static method in class com.google.common.base.Defaults
Returns the default value of type as defined by JLS --- 0 for numbers, false for boolean and '\0' for char.
DEL - Static variable in class com.google.common.base.Ascii
Delete: This character is used primarily to "erase" or "obliterate" erroneous or unwanted characters in perforated tape.
delegate() - Method in class com.google.common.cache.ForwardingCache
 
delegate() - Method in class com.google.common.cache.ForwardingCache.SimpleForwardingCache
 
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.ForwardingListMultimap
 
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.ForwardingSetMultimap
 
delegate() - Method in class com.google.common.collect.ForwardingSortedMap
 
delegate() - Method in class com.google.common.collect.ForwardingSortedSet
 
delegate() - Method in class com.google.common.collect.ForwardingSortedSetMultimap
 
delegate() - Method in class com.google.common.collect.ForwardingTable
 
delegate() - Method in class com.google.common.collect.ImmutableClassToInstanceMap
 
delegate() - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
 
delegate() - Method in class com.google.common.util.concurrent.ForwardingCheckedFuture
 
delegate() - Method in class com.google.common.util.concurrent.ForwardingCheckedFuture.SimpleForwardingCheckedFuture
 
delegate() - Method in class com.google.common.util.concurrent.ForwardingExecutorService
 
delegate() - Method in class com.google.common.util.concurrent.ForwardingFuture
 
delegate() - Method in class com.google.common.util.concurrent.ForwardingFuture.SimpleForwardingFuture
 
delegate() - Method in class com.google.common.util.concurrent.ForwardingListenableFuture
 
delegate() - Method in class com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture
 
delegate() - Method in class com.google.common.util.concurrent.ForwardingListeningExecutorService
 
delegate() - Method in class com.google.common.util.concurrent.ForwardingService
 
deleteDirectoryContents(File) - Static method in class com.google.common.io.Files
Deprecated. 
deleteRecursively(File) - Static method in class com.google.common.io.Files
Deprecated. 
difference(Map<? extends K, ? extends V>, Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.Maps
Computes the difference between two maps.
difference(Map<? extends K, ? extends V>, Map<? extends K, ? extends V>, Equivalence<? super V>) - Static method in class com.google.common.collect.Maps
Computes the difference between two maps.
difference(Set<E>, Set<?>) - Static method in class com.google.common.collect.Sets
Returns an unmodifiable view of the difference of two sets.
difference(SortedMap<K, ? extends V>, Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.SortedMaps
Computes the difference between two sorted maps, using the comparator of the left map, or Ordering.natural() if the left map uses the natural ordering of its elements.
DIGIT - Static variable in class com.google.common.base.CharMatcher
Determines whether a character is a digit according to Unicode.
DiscreteDomain<C extends Comparable> - Class in com.google.common.collect
A descriptor for a discrete Comparable domain such as all Integers.
DiscreteDomain() - Constructor for class com.google.common.collect.DiscreteDomain
Constructor for use by subclasses.
DiscreteDomains - Class in com.google.common.collect
Factories for common DiscreteDomain instances.
dispatch(Object, EventHandler) - Method in class com.google.common.eventbus.AsyncEventBus
Calls the AsyncEventBus.executor to dispatch event to handler.
dispatch(Object, EventHandler) - Method in class com.google.common.eventbus.EventBus
Dispatches event to the handler in wrapper.
dispatchQueuedEvents() - Method in class com.google.common.eventbus.AsyncEventBus
Dispatch events in the order they were posted, regardless of the posting thread.
dispatchQueuedEvents() - Method in class com.google.common.eventbus.EventBus
Drain the queue of events to be dispatched.
distance(C, C) - Method in class com.google.common.collect.DiscreteDomain
Returns a signed value indicating how many nested invocations of DiscreteDomain.next(C) (if positive) or DiscreteDomain.previous(C) (if negative) are needed to reach end starting from start.
divide(long, long) - Static method in class com.google.common.primitives.UnsignedLongs
Returns dividend / divisor, where the dividend and divisor are treated as unsigned 64-bit quantities.
DLE - Static variable in class com.google.common.base.Ascii
Data Link Escape: A communication control character which will change the meaning of a limited number of contiguously following characters.
doEquivalent(T, T) - Method in class com.google.common.base.Equivalence
Returns true if a and b are considered equivalent.
doHash(T) - Method in class com.google.common.base.Equivalence
Returns a hash code for non-null object t.
done() - Method in class com.google.common.util.concurrent.AbstractFuture
Deprecated. 
done() - Method in class com.google.common.util.concurrent.ListenableFutureTask
 
doStart() - Method in class com.google.common.util.concurrent.AbstractService
This method is called by AbstractService.start() to initiate service startup.
doStop() - Method in class com.google.common.util.concurrent.AbstractService
This method should be used to initiate service shutdown.
Doubles - Class in com.google.common.primitives
Static utility methods pertaining to double primitives, that are not already found in either Double or Arrays.
downTo(C, BoundType) - Static method in class com.google.common.collect.Ranges
Returns a range from the given endpoint, which may be either inclusive (closed) or exclusive (open), with no upper bound.
drainTo(Collection<? super E>, int) - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
 
drainTo(Collection<? super E>) - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
 

E

elapsedMillis() - Method in class com.google.common.base.Stopwatch
Returns the current elapsed time shown on this stopwatch, expressed in milliseconds, with any fraction rounded down.
elapsedTime(TimeUnit) - Method in class com.google.common.base.Stopwatch
Returns the current elapsed time shown on this stopwatch, expressed in the desired time unit, with any fraction rounded down.
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.ForwardingMultiset
 
elementSet() - Method in interface com.google.common.collect.Multiset
Returns the set of distinct elements contained in this multiset.
elementSet() - Method in class com.google.common.collect.TreeMultiset
Returns the set of distinct elements contained in this multiset.
EM - Static variable in class com.google.common.base.Ascii
End of Medium: A control character associated with the sent data which may be used to identify the physical end of the medium, or the end of the used, or wanted, portion of information recorded on a medium.
emptyIterator() - Static method in class com.google.common.collect.Iterators
Returns the empty iterator.
emptyToNull(String) - Static method in class com.google.common.base.Strings
Returns the given string if it is nonempty; null otherwise.
encloseAll(Iterable<C>) - Static method in class com.google.common.collect.Ranges
Returns the minimal range that contains all of the given values.
encloses(Range<C>) - Method in class com.google.common.collect.Range
Returns true if the bounds of other do not extend outside the bounds of this range.
endOfData() - Method in class com.google.common.collect.AbstractIterator
Implementations of AbstractIterator.computeNext() must invoke this method when there are no elements left in the iteration.
ENQ - Static variable in class com.google.common.base.Ascii
Enquiry: A communication control character used in data communication systems as a request for a response from a remote station.
enqueueEvent(Object, EventHandler) - Method in class com.google.common.eventbus.AsyncEventBus
 
enqueueEvent(Object, EventHandler) - Method in class com.google.common.eventbus.EventBus
Queue the event for dispatch during EventBus.dispatchQueuedEvents().
ensureCapacity(boolean[], int, int) - Static method in class com.google.common.primitives.Booleans
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.
ensureCapacity(byte[], int, int) - Static method in class com.google.common.primitives.Bytes
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.
ensureCapacity(char[], int, int) - Static method in class com.google.common.primitives.Chars
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.
ensureCapacity(double[], int, int) - Static method in class com.google.common.primitives.Doubles
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.
ensureCapacity(float[], int, int) - Static method in class com.google.common.primitives.Floats
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.
ensureCapacity(int[], int, int) - Static method in class com.google.common.primitives.Ints
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.
ensureCapacity(long[], int, int) - Static method in class com.google.common.primitives.Longs
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.
ensureCapacity(short[], int, int) - Static method in class com.google.common.primitives.Shorts
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.
enter() - Method in class com.google.common.util.concurrent.Monitor
Enters this monitor.
enter(long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
Enters this monitor.
enterIf(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
Enters this monitor if the guard is satisfied.
enterIf(Monitor.Guard, long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
Enters this monitor if the guard is satisfied.
enterIfInterruptibly(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
Enters this monitor if the guard is satisfied.
enterIfInterruptibly(Monitor.Guard, long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
Enters this monitor if the guard is satisfied.
enterInterruptibly() - Method in class com.google.common.util.concurrent.Monitor
Enters this monitor.
enterInterruptibly(long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
Enters this monitor.
enterWhen(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
Enters this monitor when the guard is satisfied.
enterWhen(Monitor.Guard, long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
Enters this monitor when the guard is satisfied.
enterWhenUninterruptibly(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
Enters this monitor when the guard is satisfied.
enterWhenUninterruptibly(Monitor.Guard, long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
Enters this monitor when the guard is satisfied.
entries() - Method in class com.google.common.collect.ForwardingMultimap
 
entries() - Method in class com.google.common.collect.ForwardingSetMultimap
 
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.ImmutableSetMultimap
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 class com.google.common.collect.LinkedListMultimap
Returns a collection of all key-value pairs.
entries() - Method in interface com.google.common.collect.Multimap
Returns a collection of all key-value pairs.
entries() - Method in interface com.google.common.collect.SetMultimap
Returns a collection of all key-value pairs.
entriesDiffering() - Method in interface com.google.common.collect.MapDifference
Returns an unmodifiable map describing keys that appear in both maps, but with different values.
entriesDiffering() - Method in interface com.google.common.collect.SortedMapDifference
 
entriesInCommon() - Method in interface com.google.common.collect.MapDifference
Returns an unmodifiable map containing the entries that appear in both maps; that is, the intersection of the two maps.
entriesInCommon() - Method in interface com.google.common.collect.SortedMapDifference
 
entriesOnlyOnLeft() - Method in interface com.google.common.collect.MapDifference
Returns an unmodifiable map containing the entries from the left map whose keys are not present in the right map.
entriesOnlyOnLeft() - Method in interface com.google.common.collect.SortedMapDifference
 
entriesOnlyOnRight() - Method in interface com.google.common.collect.MapDifference
Returns an unmodifiable map containing the entries from the right map whose keys are not present in the left map.
entriesOnlyOnRight() - Method in interface com.google.common.collect.SortedMapDifference
 
entrySet() - Method in class com.google.common.collect.ConcurrentHashMultiset
 
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 class com.google.common.collect.ImmutableSortedMap
Returns an immutable set of the mappings in this map, sorted by the key ordering.
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.
EnumBiMap<K extends Enum<K>,V extends Enum<V>> - Class in com.google.common.collect
A BiMap backed by two EnumMap instances.
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.
EnumMultiset<E extends Enum<E>> - Class in com.google.common.collect
Multiset implementation backed by an EnumMap.
Enums - Class in com.google.common.base
Utility methods for working with Enum instances.
EOT - Static variable in class com.google.common.base.Ascii
End of Transmission: A communication control character used to indicate the conclusion of a transmission, which may have contained one or more texts and any associated headings.
equal(Object, Object) - Static method in class com.google.common.base.Objects
Determines whether two possibly-null objects are equal.
equal(InputSupplier<? extends InputStream>, InputSupplier<? extends InputStream>) - Static method in class com.google.common.io.ByteStreams
Returns true if the supplied input streams contain the same bytes.
equal(File, File) - Static method in class com.google.common.io.Files
Returns true if the files contains the same bytes.
equals(Object) - Method in class com.google.common.base.Equivalence.Wrapper
Returns true if Equivalence.equivalent(Object, Object) applied to the wrapped references is true and both wrappers use the same equivalence.
equals() - Static method in class com.google.common.base.Equivalences
Returns an equivalence that delegates to Object.equals(java.lang.Object) and Object.hashCode().
equals(Object) - Method in interface com.google.common.base.Function
Indicates whether another object is equal to this function.
equals(Object) - Method in class com.google.common.base.Optional
Returns true if object is an Optional instance, and either the contained references are equal to each other or both are absent.
equals(Object) - Method in interface com.google.common.base.Predicate
Indicates whether another object is equal to this predicate.
equals(Object) - Method in class com.google.common.cache.CacheStats
 
equals(Object) - Method in class com.google.common.cache.RemovalNotification
 
equals(Object) - Method in class com.google.common.collect.ArrayTable
 
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.ForwardingTable
 
equals(Object) - Method in class com.google.common.collect.HashBasedTable
 
equals(Object) - Method in class com.google.common.collect.ImmutableBiMap
 
equals(Object) - Method in class com.google.common.collect.ImmutableList
 
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 class com.google.common.collect.LinkedListMultimap
Compares the specified object to this multimap for equality.
equals(Object) - Method in interface com.google.common.collect.ListMultimap
Compares the specified object to this multimap for equality.
equals(Object) - Method in interface com.google.common.collect.MapDifference
Compares the specified object with this instance for equality.
equals(Object) - Method in interface com.google.common.collect.MapDifference.ValueDifference
Two instances are considered equal if their MapDifference.ValueDifference.leftValue() values are equal and their MapDifference.ValueDifference.rightValue() values are also equal.
equals(Object) - Method in interface com.google.common.collect.Multimap
Compares the specified object with this multimap for equality.
equals(Object) - Method in interface com.google.common.collect.Multiset.Entry
equals(Object) - Method in interface com.google.common.collect.Multiset
Compares the specified object with this multiset for equality.
equals(Object) - Method in class com.google.common.collect.Range
Returns true if object is a range having the same endpoints and bound types as this range.
equals(Object) - Method in interface com.google.common.collect.SetMultimap
Compares the specified object to this multimap for equality.
equals(Object) - Method in interface com.google.common.collect.Table.Cell
Compares the specified object with this cell for equality.
equals(Object) - Method in interface com.google.common.collect.Table
Compares the specified object with this table for equality.
equals(Object) - Method in class com.google.common.collect.TreeBasedTable
 
equals(Object) - Method in class com.google.common.net.HostAndPort
 
equals(Object) - Method in class com.google.common.net.HostSpecifier
 
equals(Object) - Method in class com.google.common.net.InternetDomainName
Equality testing is based on the text supplied by the caller, after normalization as described in the class documentation.
equals(Object) - Method in class com.google.common.util.concurrent.Monitor.Guard
 
equalTo(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.
Equivalence<T> - Class in com.google.common.base
A strategy for determining whether two instances are considered equivalent.
Equivalence() - Constructor for class com.google.common.base.Equivalence
Constructor for use by subclasses.
Equivalence.Wrapper<T> - Class in com.google.common.base
Wraps an object so that Equivalence.Wrapper.equals(Object) and Equivalence.Wrapper.hashCode() delegate to an Equivalence.
Equivalences - Class in com.google.common.base
Contains static factory methods for creating Equivalence instances.
equivalent(T, T) - Method in class com.google.common.base.Equivalence
Returns true if the given objects are considered equivalent.
equivalentTo(T) - Method in class com.google.common.base.Equivalence
Returns a predicate that evaluates to true if and only if the input is equivalent to target according to this equivalence relation.
erase(Object, Object) - Method in class com.google.common.collect.ArrayTable
Associates the value null with the specified keys, assuming both keys are valid.
eraseAll() - Method in class com.google.common.collect.ArrayTable
Associates the value null with every pair of allowed row and column keys.
ESC - Static variable in class com.google.common.base.Ascii
Escape: A control character intended to provide code extension (supplementary characters) in general information interchange.
ETB - Static variable in class com.google.common.base.Ascii
End of Transmission Block: A communication control character used to indicate the end of a block of data for communication purposes.
ETX - Static variable in class com.google.common.base.Ascii
End of Text: A communication control character used to terminate a sequence of characters started with STX and transmitted as an entity.
EventBus - Class in com.google.common.eventbus
Dispatches events to listeners, and provides ways for listeners to register themselves.
EventBus() - Constructor for class com.google.common.eventbus.EventBus
Creates a new EventBus named "default".
EventBus(String) - Constructor for class com.google.common.eventbus.EventBus
Creates a new EventBus with the given identifier.
evictionCount() - Method in class com.google.common.cache.CacheStats
Returns the number of times an entry has been evicted.
evictionListener(MapEvictionListener<K, V>) - Method in class com.google.common.collect.MapMaker
Deprecated. Caching functionality in MapMaker is being moved to CacheBuilder. Functionality similar to MapMaker.evictionListener(com.google.common.collect.MapEvictionListener) is provided by CacheBuilder.removalListener(com.google.common.cache.RemovalListener) which also provides additional information about the entry being evicted; note that evictionListener only notifies on removals due to eviction, while removalListener also notifies on explicit removal (providing the RemovalCause to indicate the specific cause of removal. This method is scheduled for deletion in Guava release 11.
EvictionListeners - Class in com.google.common.collect
Deprecated. Caching functionality in MapMaker is being moved to CacheBuilder. Functionality similar to EvictionListeners is provided by RemovalListeners. This class is scheduled for deletion from Guava in Guava release 11.0.
execute() - Method in class com.google.common.util.concurrent.ExecutionList
Runs this execution list, executing all existing pairs in the order they were added.
execute(Runnable) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
 
ExecutionError - Error in com.google.common.util.concurrent
Error variant of ExecutionException.
ExecutionError() - Constructor for error com.google.common.util.concurrent.ExecutionError
Creates a new instance with null as its detail message.
ExecutionError(String) - Constructor for error com.google.common.util.concurrent.ExecutionError
Creates a new instance with the given detail message.
ExecutionError(String, Error) - Constructor for error com.google.common.util.concurrent.ExecutionError
Creates a new instance with the given detail message and cause.
ExecutionError(Error) - Constructor for error com.google.common.util.concurrent.ExecutionError
Creates a new instance with the given cause.
ExecutionList - Class in com.google.common.util.concurrent
A list of listeners, each with an associated Executor, that guarantees that every Runnable that is added will be executed after ExecutionList.execute() is called.
ExecutionList() - Constructor for class com.google.common.util.concurrent.ExecutionList
Creates a new, empty ExecutionList.
executor() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
Returns the Executor that will be used to run this service.
executor(Service.State) - Method in class com.google.common.util.concurrent.AbstractIdleService
Returns the Executor that will be used to run this service.
expectedSize(int) - Method in class com.google.common.collect.MinMaxPriorityQueue.Builder
Configures this builder to build min-max priority queues with an initial expected size of expectedSize.
expectedSize(int) - Static method in class com.google.common.collect.MinMaxPriorityQueue
Creates and returns a new builder, configured to build MinMaxPriorityQueue instances sized appropriately to hold expectedSize elements.
expiration(long, TimeUnit) - Method in class com.google.common.collect.GenericMapMaker
Deprecated. 
expiration(long, TimeUnit) - Method in class com.google.common.collect.MapMaker
Deprecated. Caching functionality in MapMaker is being moved to CacheBuilder. Functionality equivalent to MapMaker.expiration(long, java.util.concurrent.TimeUnit) is provided by CacheBuilder.expireAfterWrite(long, java.util.concurrent.TimeUnit). This method is scheduled for deletion in July 2012.
expireAfterAccess(long, TimeUnit) - Method in class com.google.common.cache.CacheBuilder
Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, or last access.
expireAfterAccess(long, TimeUnit) - Method in class com.google.common.collect.GenericMapMaker
Deprecated. 
expireAfterAccess(long, TimeUnit) - Method in class com.google.common.collect.MapMaker
Deprecated. 
expireAfterWrite(long, TimeUnit) - Method in class com.google.common.cache.CacheBuilder
Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.
expireAfterWrite(long, TimeUnit) - Method in class com.google.common.collect.GenericMapMaker
Deprecated. 
expireAfterWrite(long, TimeUnit) - Method in class com.google.common.collect.MapMaker
Deprecated. 
explicit(List<T>) - Static method in class com.google.common.collect.Ordering
Returns an ordering that compares objects according to the order in which they appear in the given list.
explicit(T, T...) - Static method in class com.google.common.collect.Ordering
Returns an ordering that compares objects according to the order in which they are given to this method.

F

FakeTimeLimiter - Class in com.google.common.util.concurrent
A TimeLimiter implementation which actually does not attempt to limit time at all.
FakeTimeLimiter() - Constructor for class com.google.common.util.concurrent.FakeTimeLimiter
 
FF - Static variable in class com.google.common.base.Ascii
Form Feed ('\f'): A format effector which controls the movement of the printing position to the first pre-determined printing line on the next form or page.
FileBackedOutputStream - Class in com.google.common.io
An OutputStream that starts buffering to a byte array, but switches to file buffering once the data reaches a configurable size.
FileBackedOutputStream(int) - Constructor for class com.google.common.io.FileBackedOutputStream
Creates a new instance that uses the given file threshold, and does not reset the data when the InputSupplier returned by FileBackedOutputStream.getSupplier() is finalized.
FileBackedOutputStream(int, boolean) - Constructor for class com.google.common.io.FileBackedOutputStream
Creates a new instance that uses the given file threshold, and optionally resets the data when the InputSupplier returned by FileBackedOutputStream.getSupplier() is finalized.
Files - Class in com.google.common.io
Provides utility methods for working with files.
filter(Collection<E>, Predicate<? super E>) - 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<E>, Predicate<? super E>) - Static method in class com.google.common.collect.Sets
Returns the elements of unfiltered that satisfy a predicate.
filterEntries(Map<K, V>, Predicate<? super Map.Entry<K, V>>) - Static method in class com.google.common.collect.Maps
Returns a map containing the mappings in unfiltered that satisfy a predicate.
filterEntries(SortedMap<K, V>, Predicate<? super Map.Entry<K, V>>) - Static method in class com.google.common.collect.SortedMaps
Returns a sorted map containing the mappings in unfiltered that satisfy a predicate.
filterKeys(Map<K, V>, Predicate<? super K>) - Static method in class com.google.common.collect.Maps
Returns a map containing the mappings in unfiltered whose keys satisfy a predicate.
filterKeys(SortedMap<K, V>, Predicate<? super K>) - Static method in class com.google.common.collect.SortedMaps
Returns a sorted map containing the mappings in unfiltered whose keys satisfy a predicate.
filterValues(Map<K, V>, Predicate<? super V>) - Static method in class com.google.common.collect.Maps
Returns a map containing the mappings in unfiltered whose values satisfy a predicate.
filterValues(SortedMap<K, V>, Predicate<? super V>) - Static method in class com.google.common.collect.SortedMaps
Returns a sorted map containing the mappings in unfiltered whose values 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, FinalizableReferenceQueue) - Constructor for class com.google.common.base.FinalizablePhantomReference
Deprecated. FinalizableReferenceQueue is an unsound mechanism for cleaning up references, because (1) it's single thread can be easily overloaded, and (2) it's insistance on running a background thread is problematic in certain environments. This class is scheduled for deletion in December 2012.
FinalizableReference - Interface in com.google.common.base
Implemented by references that have code to run after garbage collection of their referents.
FinalizableReferenceQueue - Class in com.google.common.base
A reference queue with an associated background thread that dequeues references and invokes FinalizableReference.finalizeReferent() on them.
FinalizableReferenceQueue() - Constructor for class com.google.common.base.FinalizableReferenceQueue
Deprecated. FinalizableReferenceQueue is an unsound mechanism for cleaning up references, because (1) it's single thread can be easily overloaded, and (2) it's insistance on running a background thread is problematic in certain environments. This class is scheduled for deletion in December 2012.
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, FinalizableReferenceQueue) - Constructor for class com.google.common.base.FinalizableSoftReference
Deprecated. FinalizableReferenceQueue is an unsound mechanism for cleaning up references, because (1) it's single thread can be easily overloaded, and (2) it's insistance on running a background thread is problematic in certain environments. This class is scheduled for deletion in December 2012.
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, FinalizableReferenceQueue) - Constructor for class com.google.common.base.FinalizableWeakReference
Deprecated. FinalizableReferenceQueue is an unsound mechanism for cleaning up references, because (1) it's single thread can be easily overloaded, and (2) it's insistance on running a background thread is problematic in certain environments. This class is scheduled for deletion in December 2012.
Finalizer - Class in com.google.common.base.internal
Deprecated. FinalizableReferenceQueue is an unsound mechanism for cleaning up references, because (1) it's single thread can be easily overloaded, and (2) it's insistance on running a background thread is problematic in certain environments. This class is scheduled for deletion in December 2012.
finalizeReferent() - Method in interface com.google.common.base.FinalizableReference
Deprecated. FinalizableReferenceQueue is an unsound mechanism for cleaning up references, because (1) it's single thread can be easily overloaded, and (2) it's insistance on running a background thread is problematic in certain environments. This class is scheduled for deletion in December 2012.
find(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
Returns the first element in iterable that satisfies the given predicate.
find(Iterable<T>, Predicate<? super T>, T) - Static method in class com.google.common.collect.Iterables
Returns the first element in iterable that satisfies the given predicate, or defaultValue if none found.
find(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
Returns the first element in iterator that satisfies the given predicate.
find(Iterator<T>, Predicate<? super T>, T) - 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
 
firstKey() - Method in class com.google.common.collect.ImmutableSortedMap
 
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.
fixedLength(int) - Static method in class com.google.common.base.Splitter
Returns a splitter that divides strings into pieces of the given length.
Floats - Class in com.google.common.primitives
Static utility methods pertaining to float primitives, that are not already found in either Float or Arrays.
flush() - Method in class com.google.common.io.FileBackedOutputStream
 
flush(Flushable, boolean) - Static method in class com.google.common.io.Flushables
Flush a Flushable, with control over whether an IOException may be thrown.
Flushables - Class in com.google.common.io
Utility methods for working with Flushable objects.
flushQuietly(Flushable) - Static method in class com.google.common.io.Flushables
Equivalent to calling flush(flushable, true), but with no IOException in the signature.
forArray(T...) - Static method in class com.google.common.collect.Iterators
Returns an iterator containing the elements 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.
forEnumeration(Enumeration<T>) - Static method in class com.google.common.collect.Iterators
Adapts an Enumeration to the Iterator interface.
forMap(Map<K, V>) - Static method in class com.google.common.base.Functions
Returns a function which performs a map lookup.
forMap(Map<K, ? extends V>, V) - 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 Character>) - Static method in class com.google.common.base.CharMatcher
Returns a matcher with identical behavior to the given Character-based predicate, but which operates on primitive char instances instead.
forPredicate(Predicate<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.
forString(String) - Static method in class com.google.common.net.InetAddresses
Returns the InetAddress having the given string representation.
forSupplier(Supplier<T>) - Static method in class com.google.common.base.Functions
Returns a function that always returns the result of invoking Supplier.get() on supplier, regardless of its input.
forUriString(String) - Static method in class com.google.common.net.InetAddresses
Returns an InetAddress representing the literal IPv4 or IPv6 host portion of a URL, encoded in the format specified by RFC 3986 section 3.2.2.
ForwardingBlockingQueue<E> - Class in com.google.common.util.concurrent
A BlockingQueue which forwards all its method calls to another BlockingQueue.
ForwardingBlockingQueue() - Constructor for class com.google.common.util.concurrent.ForwardingBlockingQueue
Constructor for use by subclasses.
ForwardingCache<K,V> - Class in com.google.common.cache
A cache which forwards all its method calls to another cache.
ForwardingCache() - Constructor for class com.google.common.cache.ForwardingCache
Constructor for use by subclasses.
ForwardingCache.SimpleForwardingCache<K,V> - Class in com.google.common.cache
A simplified version of ForwardingCache where subclasses can pass in an already constructed Cache as the delegete.
ForwardingCache.SimpleForwardingCache(Cache<K, V>) - Constructor for class com.google.common.cache.ForwardingCache.SimpleForwardingCache
 
ForwardingCheckedFuture<V,X extends Exception> - Class in com.google.common.util.concurrent
A future which forwards all its method calls to another future.
ForwardingCheckedFuture() - Constructor for class com.google.common.util.concurrent.ForwardingCheckedFuture
 
ForwardingCheckedFuture.SimpleForwardingCheckedFuture<V,X extends Exception> - Class in com.google.common.util.concurrent
A simplified version of ForwardingCheckedFuture where subclasses can pass in an already constructed CheckedFuture as the delegate.
ForwardingCheckedFuture.SimpleForwardingCheckedFuture(CheckedFuture<V, X>) - Constructor for class com.google.common.util.concurrent.ForwardingCheckedFuture.SimpleForwardingCheckedFuture
 
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
Constructor for use by subclasses.
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
Constructor for use by subclasses.
ForwardingExecutorService - Class in com.google.common.util.concurrent
An executor service which forwards all its method calls to another executor service.
ForwardingExecutorService() - Constructor for class com.google.common.util.concurrent.ForwardingExecutorService
Constructor for use by subclasses.
ForwardingFuture<V> - Class in com.google.common.util.concurrent
A ForwardingFuture.SimpleForwardingFuture which forwards all its method calls to another future.
ForwardingFuture() - Constructor for class com.google.common.util.concurrent.ForwardingFuture
Constructor for use by subclasses.
ForwardingFuture.SimpleForwardingFuture<V> - Class in com.google.common.util.concurrent
A simplified version of ForwardingFuture where subclasses can pass in an already constructed Future as the delegate.
ForwardingFuture.SimpleForwardingFuture(Future<V>) - Constructor for class com.google.common.util.concurrent.ForwardingFuture.SimpleForwardingFuture
 
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
Constructor for use by subclasses.
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
Constructor for use by subclasses.
ForwardingListenableFuture<V> - Class in com.google.common.util.concurrent
A ForwardingListenableFuture.SimpleForwardingListenableFuture which forwards all its method calls to another future.
ForwardingListenableFuture() - Constructor for class com.google.common.util.concurrent.ForwardingListenableFuture
Constructor for use by subclasses.
ForwardingListenableFuture.SimpleForwardingListenableFuture<V> - Class in com.google.common.util.concurrent
A simplified version of ForwardingListenableFuture where subclasses can pass in an already constructed ListenableFuture as the delegate.
ForwardingListenableFuture.SimpleForwardingListenableFuture(ListenableFuture<V>) - Constructor for class com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture
 
ForwardingListeningExecutorService - Class in com.google.common.util.concurrent
A listening executor service which forwards all its method calls to another listening executor service.
ForwardingListeningExecutorService() - Constructor for class com.google.common.util.concurrent.ForwardingListeningExecutorService
Constructor for use by subclasses.
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
Constructor for use by subclasses.
ForwardingListMultimap<K,V> - Class in com.google.common.collect
A list multimap which forwards all its method calls to another list multimap.
ForwardingListMultimap() - Constructor for class com.google.common.collect.ForwardingListMultimap
Constructor for use by subclasses.
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
Constructor for use by subclasses.
ForwardingMap.StandardEntrySet - Class in com.google.common.collect
A sensible implementation of Map.entrySet() in terms of the following methods: ForwardingMap.clear(), ForwardingMap.containsKey(java.lang.Object), ForwardingMap.get(java.lang.Object), ForwardingMap.isEmpty(), ForwardingMap.remove(java.lang.Object), and ForwardingMap.size().
ForwardingMap.StandardEntrySet() - Constructor for class com.google.common.collect.ForwardingMap.StandardEntrySet
 
ForwardingMap.StandardKeySet - Class in com.google.common.collect
A sensible implementation of Map.keySet() in terms of the following methods: ForwardingMap.clear(), ForwardingMap.containsKey(java.lang.Object), ForwardingMap.isEmpty(), ForwardingMap.remove(java.lang.Object), ForwardingMap.size(), and the Set.iterator() method of ForwardingMap.entrySet().
ForwardingMap.StandardKeySet() - Constructor for class com.google.common.collect.ForwardingMap.StandardKeySet
 
ForwardingMap.StandardValues - Class in com.google.common.collect
A sensible implementation of Map.values() in terms of the following methods: ForwardingMap.clear(), ForwardingMap.containsValue(java.lang.Object), ForwardingMap.isEmpty(), ForwardingMap.size(), and the Set.iterator() method of ForwardingMap.entrySet().
ForwardingMap.StandardValues() - Constructor for class com.google.common.collect.ForwardingMap.StandardValues
 
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
Constructor for use by subclasses.
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
Constructor for use by subclasses.
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
Constructor for use by subclasses.
ForwardingMultiset.StandardElementSet - Class in com.google.common.collect
A sensible implementation of Multiset.elementSet() in terms of the following methods: ForwardingCollection.clear(), ForwardingCollection.contains(java.lang.Object), ForwardingCollection.containsAll(java.util.Collection), ForwardingMultiset.count(java.lang.Object), ForwardingCollection.isEmpty(), the Set.size() and Set.iterator() methods of ForwardingMultiset.entrySet(), and ForwardingMultiset.remove(Object, int).
ForwardingMultiset.StandardElementSet() - Constructor for class com.google.common.collect.ForwardingMultiset.StandardElementSet
 
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
Constructor for use by subclasses.
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
Constructor for use by subclasses.
ForwardingService - Class in com.google.common.util.concurrent
A Service that forwards all method calls to another service.
ForwardingService() - Constructor for class com.google.common.util.concurrent.ForwardingService
Constructor for use by subclasses.
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
Constructor for use by subclasses.
ForwardingSetMultimap<K,V> - Class in com.google.common.collect
A set multimap which forwards all its method calls to another set multimap.
ForwardingSetMultimap() - Constructor for class com.google.common.collect.ForwardingSetMultimap
 
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
Constructor for use by subclasses.
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
Constructor for use by subclasses.
ForwardingSortedSetMultimap<K,V> - Class in com.google.common.collect
A sorted set multimap which forwards all its method calls to another sorted set multimap.
ForwardingSortedSetMultimap() - Constructor for class com.google.common.collect.ForwardingSortedSetMultimap
Constructor for use by subclasses.
ForwardingTable<R,C,V> - Class in com.google.common.collect
A table which forwards all its method calls to another table.
ForwardingTable() - Constructor for class com.google.common.collect.ForwardingTable
Constructor for use by subclasses.
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.
from(Function<K, V>) - Static method in class com.google.common.cache.CacheLoader
Returns a CacheLoader which creates values by applying a Function to the key.
from(Supplier<V>) - Static method in class com.google.common.cache.CacheLoader
Returns a CacheLoader which obtains values from a Supplier (independent of the key).
from(Comparator<T>) - Static method in class com.google.common.collect.Ordering
Returns an ordering for a pre-existing comparator.
from(Ordering<T>) - Static method in class com.google.common.collect.Ordering
Deprecated. no need to use this
from(String) - Static method in class com.google.common.net.HostSpecifier
Attempts to return a HostSpecifier for the given string, throwing an exception if parsing fails.
from(String) - Static method in class com.google.common.net.InternetDomainName
Returns an instance of InternetDomainName after lenient validation.
fromByteArray(byte[]) - Static method in class com.google.common.primitives.Chars
Returns the char value whose big-endian representation is stored in the first 2 bytes of bytes; equivalent to ByteBuffer.wrap(bytes).getChar().
fromByteArray(byte[]) - Static method in class com.google.common.primitives.Ints
Returns the int value whose big-endian representation is stored in the first 4 bytes of bytes; equivalent to ByteBuffer.wrap(bytes).getInt().
fromByteArray(byte[]) - Static method in class com.google.common.primitives.Longs
Returns the long value whose big-endian representation is stored in the first 8 bytes of bytes; equivalent to ByteBuffer.wrap(bytes).getLong().
fromByteArray(byte[]) - Static method in class com.google.common.primitives.Shorts
Returns the short value whose big-endian representation is stored in the first 2 bytes of bytes; equivalent to ByteBuffer.wrap(bytes).getShort().
fromBytes(byte, byte) - Static method in class com.google.common.primitives.Chars
Returns the char value whose byte representation is the given 2 bytes, in big-endian order; equivalent to Chars.fromByteArray(new byte[] {b1, b2}).
fromBytes(byte, byte, byte, byte) - Static method in class com.google.common.primitives.Ints
Returns the int value whose byte representation is the given 4 bytes, in big-endian order; equivalent to Ints.fromByteArray(new byte[] {b1, b2, b3, b4}).
fromBytes(byte, byte, byte, byte, byte, byte, byte, byte) - Static method in class com.google.common.primitives.Longs
Returns the long value whose byte representation is the given 8 bytes, in big-endian order; equivalent to Longs.fromByteArray(new byte[] {b1, b2, b3, b4, b5, b6, b7, b8}).
fromBytes(byte, byte) - Static method in class com.google.common.primitives.Shorts
Returns the short value whose byte representation is the given 2 bytes, in big-endian order; equivalent to Shorts.fromByteArray(new byte[] {b1, b2}).
fromInteger(int) - Static method in class com.google.common.net.InetAddresses
Returns an Inet4Address having the integer value specified by the argument.
fromLenient(String) - Static method in class com.google.common.net.InternetDomainName
Deprecated. Use InternetDomainName.from(String)
fromLittleEndianByteArray(byte[]) - Static method in class com.google.common.net.InetAddresses
Returns an address from a little-endian ordered byte array (the opposite of what InetAddress.getByAddress(java.lang.String, byte[]) expects).
fromNullable(T) - Static method in class com.google.common.base.Optional
If nullableReference is non-null, returns an Optional instance containing that reference; otherwise returns Optional.absent().
fromParts(String, int) - Static method in class com.google.common.net.HostAndPort
Build a HostAndPort instance from separate host and port values.
fromProperties(Properties) - Static method in class com.google.common.collect.Maps
Creates an ImmutableMap<String, String> from a Properties instance.
fromString(String) - Static method in class com.google.common.net.HostAndPort
Split a freeform string into a host and port, without strict validation.
fromValid(String) - Static method in class com.google.common.net.HostSpecifier
Returns a HostSpecifier built from the provided specifier, which is already known to be valid.
FS - Static variable in class com.google.common.base.Ascii
File/Group/Record/Unit Separator: These information separators may be used within data in optional fashion, except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then RS, and US is least inclusive.
Function<F,T> - Interface in com.google.common.base
Determines an output value based on an input value.
Functions - Class in com.google.common.base
Static utility methods pertaining to Function instances.
FutureCallback<V> - Interface in com.google.common.util.concurrent
A callback for accepting the results of a Future computation asynchronously.
Futures - Class in com.google.common.util.concurrent
Static utility methods pertaining to the Future interface.

G

GenericMapMaker<K0,V0> - Class in com.google.common.collect
A class exactly like MapMaker, except restricted in the types of maps it can build.
get() - Method in class com.google.common.base.Equivalence.Wrapper
Returns the (possibly null) reference wrapped by this instance.
get() - Method in class com.google.common.base.Optional
Returns the contained instance, which must be present.
get() - Method in interface com.google.common.base.Supplier
Retrieves an instance of the appropriate type.
get(K) - Method in interface com.google.common.cache.Cache
Returns the value associated with the given key, creating or retrieving that value if necessary, and throwing an execution exception on failure.
get(K) - Method in class com.google.common.cache.ForwardingCache
 
get(Object, Object) - Method in class com.google.common.collect.ArrayTable
 
get(int) - Method in class com.google.common.collect.ForwardingList
 
get(K) - Method in class com.google.common.collect.ForwardingListMultimap
 
get(Object) - Method in class com.google.common.collect.ForwardingMap
 
get(K) - Method in class com.google.common.collect.ForwardingMultimap
 
get(K) - Method in class com.google.common.collect.ForwardingSetMultimap
 
get(K) - Method in class com.google.common.collect.ForwardingSortedSetMultimap
 
get(Object, Object) - Method in class com.google.common.collect.ForwardingTable
 
get(Object, Object) - Method in class com.google.common.collect.HashBasedTable
 
get(Object) - Method in class com.google.common.collect.ImmutableBiMap
 
get(K) - Method in class com.google.common.collect.ImmutableListMultimap
Returns an immutable list of the values for the given key.
get(Object) - Method in class com.google.common.collect.ImmutableMap
 
get(K) - Method in class com.google.common.collect.ImmutableMultimap
Returns an immutable collection of the values for the given key.
get(K) - Method in class com.google.common.collect.ImmutableSetMultimap
Returns an immutable set of the values for the given key.
get(Object) - Method in class com.google.common.collect.ImmutableSortedMap
 
get(Iterable<T>, int) - Static method in class com.google.common.collect.Iterables
Returns the element at the specified position in an iterable.
get(Iterable<T>, int, T) - Static method in class com.google.common.collect.Iterables
Returns the element at the specified position in an iterable or a default value otherwise.
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(Iterator<T>, int, T) - Static method in class com.google.common.collect.Iterators
Advances iterator position + 1 times, returning the element at the positionth position or defaultValue otherwise.
get(K) - Method in class com.google.common.collect.LinkedListMultimap
Returns a collection view of all values associated with a key.
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(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.
get(Object, Object) - Method in interface com.google.common.collect.Table
Returns the value corresponding to the given row and column keys, or null if no such mapping exists.
get(Object, Object) - Method in class com.google.common.collect.TreeBasedTable
 
get(long, TimeUnit) - Method in class com.google.common.util.concurrent.AbstractFuture
get() - Method in class com.google.common.util.concurrent.AbstractFuture
get() - Method in class com.google.common.util.concurrent.ForwardingFuture
 
get(long, TimeUnit) - Method in class com.google.common.util.concurrent.ForwardingFuture
 
get(Future<V>, Class<X>) - Static method in class com.google.common.util.concurrent.Futures
Returns the result of Future.get(), converting most exceptions to a new instance of the given checked exception type.
get(Future<V>, long, TimeUnit, Class<X>) - Static method in class com.google.common.util.concurrent.Futures
Returns the result of Future.get(long, TimeUnit), converting most exceptions to a new instance of the given checked exception type.
get() - Method in interface com.google.common.util.concurrent.UninterruptibleFuture
Deprecated.  
get(long, TimeUnit) - Method in interface com.google.common.util.concurrent.UninterruptibleFuture
Deprecated.  
get6to4IPv4Address(Inet6Address) - Static method in class com.google.common.net.InetAddresses
Returns the IPv4 address embedded in a 6to4 address.
getCausalChain(Throwable) - Static method in class com.google.common.base.Throwables
Gets a Throwable cause chain as a list.
getCause() - Method in class com.google.common.cache.RemovalNotification
Returns the cause for which the entry was removed.
getChecksum(InputSupplier<? extends InputStream>, Checksum) - Static method in class com.google.common.io.ByteStreams
Computes and returns the checksum value for a supplied input stream.
getChecksum(File, Checksum) - Static method in class com.google.common.io.Files
Computes and returns the checksum value for a file.
getClient() - Method in class com.google.common.net.InetAddresses.TeredoInfo
 
getCoercedIPv4Address(InetAddress) - Static method in class com.google.common.net.InetAddresses
Coerces an IPv6 address into an IPv4 address.
getColumnKey() - Method in interface com.google.common.collect.Table.Cell
Returns the column key of this cell.
getCompatIPv4Address(Inet6Address) - Static method in class com.google.common.net.InetAddresses
Returns the IPv4 address embedded in an IPv4 compatible address.
getCount() - Method in interface com.google.common.collect.Multiset.Entry
Returns the count of the associated element in the underlying multiset.
getCount() - Method in class com.google.common.io.CountingInputStream
Returns the number of bytes read.
getCount() - Method in class com.google.common.io.CountingOutputStream
Returns the number of bytes written.
getDigest(InputSupplier<? extends InputStream>, MessageDigest) - Static method in class com.google.common.io.ByteStreams
Computes and returns the digest value for a supplied input stream.
getDigest(File, MessageDigest) - Static method in class com.google.common.io.Files
Computes and returns the digest value for a file.
getElement() - Method in interface com.google.common.collect.Multiset.Entry
Returns the multiset element corresponding to this entry.
getEmbeddedIPv4ClientAddress(Inet6Address) - Static method in class com.google.common.net.InetAddresses
Examines the Inet6Address to extract the embedded IPv4 client address if the InetAddress is an IPv6 address of one of the specified address types that contain an embedded IPv4 address.
getEvent() - Method in class com.google.common.eventbus.DeadEvent
Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered handler.
getExitingExecutorService(ThreadPoolExecutor, long, TimeUnit) - Static method in class com.google.common.util.concurrent.MoreExecutors
Converts the given ThreadPoolExecutor into an ExecutorService that exits when the application is complete.
getExitingExecutorService(ThreadPoolExecutor) - Static method in class com.google.common.util.concurrent.MoreExecutors
Converts the given ThreadPoolExecutor into an ExecutorService that exits when the application is complete.
getExitingScheduledExecutorService(ScheduledThreadPoolExecutor, long, TimeUnit) - Static method in class com.google.common.util.concurrent.MoreExecutors
Converts the given ScheduledThreadPoolExecutor into a ScheduledExecutorService that exits when the application is complete.
getExitingScheduledExecutorService(ScheduledThreadPoolExecutor) - Static method in class com.google.common.util.concurrent.MoreExecutors
Converts the given ThreadPoolExecutor into a ScheduledExecutorService that exits when the application is complete.
getFirst(Iterable<T>, T) - Static method in class com.google.common.collect.Iterables
Returns the first element in iterable or defaultValue if the iterable is empty.
getFlags() - Method in class com.google.common.net.InetAddresses.TeredoInfo
 
getHostText() - Method in class com.google.common.net.HostAndPort
Returns the portion of this HostAndPort instance that should represent the hostname or IPv4/IPv6 literal.
getInheritableThreadLocalsField() - Static method in class com.google.common.base.internal.Finalizer
Deprecated.  
getInput() - Method in interface com.google.common.io.InputSupplier
Returns an object that encapsulates a readable resource.
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.
getInstance(Class<T>) - Method in class com.google.common.collect.ImmutableClassToInstanceMap
 
getInstance(Class<T>) - Method in class com.google.common.collect.MutableClassToInstanceMap
 
getIsatapIPv4Address(Inet6Address) - Static method in class com.google.common.net.InetAddresses
Returns the IPv4 address embedded in an ISATAP address.
getKey() - Method in class com.google.common.cache.RemovalNotification
 
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(Iterable<T>, T) - Static method in class com.google.common.collect.Iterables
Returns the last element of iterable or defaultValue if the iterable is empty.
getLast(Iterator<T>) - Static method in class com.google.common.collect.Iterators
Advances iterator to the end, returning the last element.
getLast(Iterator<T>, T) - Static method in class com.google.common.collect.Iterators
Advances iterator to the end, returning the last element or defaultValue if the iterator is empty.
getNext(Iterator<T>, T) - Static method in class com.google.common.collect.Iterators
Returns the next element in iterator or defaultValue if the iterator is empty.
getOccupiedDepth() - Method in class com.google.common.util.concurrent.Monitor
Returns the number of times the current thread has entered this monitor in excess of the number of times it has left.
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.
getOutput() - Method in interface com.google.common.io.OutputSupplier
Returns an object that encapsulates a writable resource.
getPort() - Method in class com.google.common.net.HostAndPort
Get the current port number, failing if no port is defined.
getPort() - Method in class com.google.common.net.InetAddresses.TeredoInfo
 
getPortOrDefault(int) - Method in class com.google.common.net.HostAndPort
Returns the current port number, with a default if no port is defined.
getQueueLength() - Method in class com.google.common.util.concurrent.Monitor
Returns an estimate of the number of threads waiting to enter this monitor.
getResource(String) - Static method in class com.google.common.io.Resources
Returns a URL pointing to resourceName if the resource is found in the class path.
getResource(Class<?>, String) - Static method in class com.google.common.io.Resources
Returns a URL pointing to resourceName that is relative to contextClass, if the resource is found in the class path.
getResult() - Method in interface com.google.common.io.ByteProcessor
Return the result of processing all the bytes.
getResult() - Method in interface com.google.common.io.LineProcessor
Return the result of processing all the lines.
getRootCause(Throwable) - Static method in class com.google.common.base.Throwables
Returns the innermost cause of throwable.
getRowKey() - Method in interface com.google.common.collect.Table.Cell
Returns the row key of this cell.
getServer() - Method in class com.google.common.net.InetAddresses.TeredoInfo
 
getServiceName() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
Returns the name of this service.
getSource() - Method in class com.google.common.eventbus.DeadEvent
Returns the object that originated this event (not the object that originated the wrapped event).
getStackTraceAsString(Throwable) - Static method in class com.google.common.base.Throwables
Returns a string containing the result of toString(), followed by the full, recursive stack trace of throwable.
getSupplier() - Method in class com.google.common.io.FileBackedOutputStream
Returns a supplier that may be used to retrieve the data buffered by this stream.
getTeredoInfo(Inet6Address) - Static method in class com.google.common.net.InetAddresses
Returns the Teredo information embedded in a Teredo address.
getUnchecked(K) - Method in class com.google.common.cache.AbstractCache
 
getUnchecked(K) - Method in interface com.google.common.cache.Cache
Returns the value associated with the given key, loading that value if necessary.
getUnchecked(K) - Method in class com.google.common.cache.ForwardingCache
 
getUnchecked(Future<V>) - Static method in class com.google.common.util.concurrent.Futures
Returns the result of calling Future.get() uninterruptibly on a task known not to throw a checked exception.
getUninterruptibly(Future<V>) - Static method in class com.google.common.util.concurrent.Uninterruptibles
Invokes future.get() uninterruptibly.
getUninterruptibly(Future<V>, long, TimeUnit) - Static method in class com.google.common.util.concurrent.Uninterruptibles
Invokes future.get(timeout, unit) uninterruptibly.
getValue() - Method in class com.google.common.cache.RemovalNotification
 
getValue() - Method in class com.google.common.collect.ForwardingMapEntry
 
getValue() - Method in interface com.google.common.collect.Table.Cell
Returns the value of this cell.
getWaitQueueLength(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
Returns an estimate of the number of threads waiting for the given guard to become satisfied.
greaterThan(C) - Static method in class com.google.common.collect.Ranges
Returns a range that contains all values strictly greater than endpoint.
greatestOf(Iterable<E>, int) - Method in class com.google.common.collect.Ordering
Returns the k greatest elements of the given iterable according to this ordering, in order from greatest to least.
GS - Static variable in class com.google.common.base.Ascii
 
GwtCompatible - Annotation Type in com.google.common.annotations
The presence of this annotation on a type indicates that the type may be used with the Google Web Toolkit (GWT).
GwtIncompatible - Annotation Type in com.google.common.annotations
The presence of this annotation on a method indicates that the method may not be used with the Google Web Toolkit (GWT), even though its type is annotated as GwtCompatible and accessible in GWT.

H

hasEmbeddedIPv4ClientAddress(Inet6Address) - Static method in class com.google.common.net.InetAddresses
Examines the Inet6Address to determine if it is an IPv6 address of one of the specified address types that contain an embedded IPv4 address.
hash(T) - Method in class com.google.common.base.Equivalence
Returns a hash code for t.
HashBasedTable<R,C,V> - Class in com.google.common.collect
Implementation of Table using hash tables.
HashBiMap<K,V> - Class in com.google.common.collect
A BiMap backed by two HashMap instances.
hashCode() - Method in class com.google.common.base.Equivalence.Wrapper
Returns the result of Equivalence.hash(Object) applied to the the wrapped reference.
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.base.Optional
Returns a hash code for this instance.
hashCode() - Method in class com.google.common.cache.CacheStats
 
hashCode() - Method in class com.google.common.cache.RemovalNotification
 
hashCode() - Method in class com.google.common.collect.ArrayTable
 
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.ForwardingTable
 
hashCode() - Method in class com.google.common.collect.ImmutableBiMap
 
hashCode() - Method in class com.google.common.collect.ImmutableList
 
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 class com.google.common.collect.LinkedListMultimap
Returns the hash code for this multimap.
hashCode() - Method in interface com.google.common.collect.MapDifference
Returns the hash code for this instance.
hashCode() - Method in interface com.google.common.collect.MapDifference.ValueDifference
The hash code equals the value Arrays.asList(leftValue(), rightValue()).hashCode().
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.
hashCode() - Method in class com.google.common.collect.Range
Returns a hash code for this range.
hashCode() - Method in interface com.google.common.collect.Table.Cell
Returns the hash code of this cell.
hashCode() - Method in interface com.google.common.collect.Table
Returns the hash code for this table.
hashCode() - Method in class com.google.common.net.HostAndPort
 
hashCode() - Method in class com.google.common.net.HostSpecifier
 
hashCode() - Method in class com.google.common.net.InternetDomainName
 
hashCode(boolean) - Static method in class com.google.common.primitives.Booleans
Returns a hash code for value; equal to the result of invoking ((Boolean) value).hashCode().
hashCode(byte) - Static method in class com.google.common.primitives.Bytes
Returns a hash code for value; equal to the result of invoking ((Byte) value).hashCode().
hashCode(char) - Static method in class com.google.common.primitives.Chars
Returns a hash code for value; equal to the result of invoking ((Character) value).hashCode().
hashCode(double) - Static method in class com.google.common.primitives.Doubles
Returns a hash code for value; equal to the result of invoking ((Double) value).hashCode().
hashCode(float) - Static method in class com.google.common.primitives.Floats
Returns a hash code for value; equal to the result of invoking ((Float) value).hashCode().
hashCode(int) - Static method in class com.google.common.primitives.Ints
Returns a hash code for value; equal to the result of invoking ((Integer) value).hashCode().
hashCode(long) - Static method in class com.google.common.primitives.Longs
Returns a hash code for value; equal to the result of invoking ((Long) value).hashCode().
hashCode(short) - Static method in class com.google.common.primitives.Shorts
Returns a hash code for value; equal to the result of invoking ((Short) value).hashCode().
hashCode() - Method in class com.google.common.util.concurrent.Monitor.Guard
 
HashMultimap<K,V> - Class in com.google.common.collect
Implementation of Multimap using hash tables.
HashMultiset<E> - Class in com.google.common.collect
Multiset implementation backed by a HashMap.
hasLowerBound() - Method in class com.google.common.collect.Range
Returns true if this range has a lower endpoint.
hasNext() - Method in class com.google.common.collect.AbstractIterator
 
hasNext() - Method in class com.google.common.collect.AbstractLinkedIterator
 
hasNext() - Method in class com.google.common.collect.ForwardingIterator
 
hasParent() - Method in class com.google.common.net.InternetDomainName
Indicates whether this domain is composed of two or more parts.
hasPort() - Method in class com.google.common.net.HostAndPort
Return true if this instance has a defined port.
hasPrevious() - Method in class com.google.common.collect.ForwardingListIterator
 
hasPublicSuffix() - Method in class com.google.common.net.InternetDomainName
Indicates whether this domain name ends in a public suffix, including if it is a public suffix itself.
hasQueuedThread(Thread) - Method in class com.google.common.util.concurrent.Monitor
Queries whether the given thread is waiting to enter this monitor.
hasQueuedThreads() - Method in class com.google.common.util.concurrent.Monitor
Returns whether any threads are waiting to enter this monitor.
hasUpperBound() - Method in class com.google.common.collect.Range
Returns true if this range has an upper endpoint.
hasWaiters(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
Queries whether any threads are waiting for the given guard to become satisfied.
headMap(K) - Method in class com.google.common.collect.ForwardingSortedMap
 
headMap(K) - Method in class com.google.common.collect.ImmutableSortedMap
This method returns a ImmutableSortedMap, consisting of the entries whose keys are less than toKey.
headSet(C) - Method in class com.google.common.collect.ContiguousSet
 
headSet(E) - Method in class com.google.common.collect.ForwardingSortedSet
 
headSet(E) - Method in class com.google.common.collect.ImmutableSortedSet
hitCount() - Method in class com.google.common.cache.CacheStats
Returns the number of times Cache lookup methods have returned a cached value.
hitRate() - Method in class com.google.common.cache.CacheStats
Returns the ratio of cache requests which were hits.
HostAndPort - Class in com.google.common.net
HostAndPort performs high-level segmenting of host:port strings.
HostSpecifier - Class in com.google.common.net
A syntactically valid host specifier, suitable for use in a URI.
HT - Static variable in class com.google.common.base.Ascii
Horizontal Tabulation ('\t'): A format effector which controls the movement of the printing position to the next in a series of predetermined positions along the printing line.

I

identity() - Static method in class com.google.common.base.Equivalences
Returns an equivalence that uses == to compare values and System.identityHashCode(Object) to compute the hash code.
identity() - Static method in class com.google.common.base.Functions
Returns the identity function.
immediateCheckedFuture(V) - Static method in class com.google.common.util.concurrent.Futures
Returns a CheckedFuture which has its value set immediately upon construction.
immediateFailedCheckedFuture(X) - Static method in class com.google.common.util.concurrent.Futures
Returns a CheckedFuture which has an exception set immediately upon construction.
immediateFailedFuture(Throwable) - Static method in class com.google.common.util.concurrent.Futures
Returns a ListenableFuture which has an exception set immediately upon construction.
immediateFuture(V) - Static method in class com.google.common.util.concurrent.Futures
Creates a ListenableFuture which has its value set immediately upon construction.
ImmutableBiMap<K,V> - Class in com.google.common.collect
An immutable BiMap with reliable user-specified iteration order.
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.
immutableCell(R, C, V) - Static method in class com.google.common.collect.Tables
Returns an immutable cell with the specified row key, column key, and value.
ImmutableClassToInstanceMap<B> - Class in com.google.common.collect
A class-to-instance map backed by an ImmutableMap.
ImmutableClassToInstanceMap.Builder<B> - Class in com.google.common.collect
A builder for creating immutable class-to-instance maps.
ImmutableClassToInstanceMap.Builder() - Constructor for class com.google.common.collect.ImmutableClassToInstanceMap.Builder
 
ImmutableCollection<E> - Class in com.google.common.collect
An immutable collection.
ImmutableCollection.Builder<E> - Class in com.google.common.collect
Abstract base class for builders of ImmutableCollection types.
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.
immutableEnumSet(Iterable<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.
ImmutableList.Builder<E> - Class in com.google.common.collect
A builder for creating immutable list instances, especially public static final lists ("constant lists").
ImmutableList.Builder() - Constructor for class com.google.common.collect.ImmutableList.Builder
Creates a new builder.
ImmutableListMultimap<K,V> - Class in com.google.common.collect
An immutable ListMultimap with reliable user-specified key and value iteration order.
ImmutableListMultimap.Builder<K,V> - Class in com.google.common.collect
A builder for creating immutable ListMultimap instances, especially public static final multimaps ("constant multimaps").
ImmutableListMultimap.Builder() - Constructor for class com.google.common.collect.ImmutableListMultimap.Builder
Creates a new builder.
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 Multimap.
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.
ImmutableMultiset.Builder<E> - Class in com.google.common.collect
A builder for creating immutable multiset instances, especially public static final multisets ("constant multisets").
ImmutableMultiset.Builder() - Constructor for class com.google.common.collect.ImmutableMultiset.Builder
Creates a new builder.
ImmutableSet<E> - Class in com.google.common.collect
A high-performance, immutable Set with reliable, user-specified iteration order.
ImmutableSet.Builder<E> - Class in com.google.common.collect
A builder for creating immutable set instances, especially public static final sets ("constant sets").
ImmutableSet.Builder() - Constructor for class com.google.common.collect.ImmutableSet.Builder
Creates a new builder.
ImmutableSetMultimap<K,V> - Class in com.google.common.collect
An immutable SetMultimap with reliable user-specified key and value iteration order.
ImmutableSetMultimap.Builder<K,V> - Class in com.google.common.collect
A builder for creating immutable SetMultimap instances, especially public static final multimaps ("constant multimaps").
ImmutableSetMultimap.Builder() - Constructor for class com.google.common.collect.ImmutableSetMultimap.Builder
Creates a new builder.
immutableSortedCopy(Iterable<E>) - Method in class com.google.common.collect.Ordering
Returns an immutable copy of the given iterable sorted by this ordering.
ImmutableSortedMap<K,V> - Class in com.google.common.collect
An immutable SortedMap.
ImmutableSortedMap.Builder<K,V> - Class in com.google.common.collect
A builder for creating immutable sorted map instances, especially public static final maps ("constant maps").
ImmutableSortedMap.Builder(Comparator<? super K>) - Constructor for class com.google.common.collect.ImmutableSortedMap.Builder
Creates a new builder.
ImmutableSortedSet<E> - Class in com.google.common.collect
An immutable SortedSet that stores its elements in a sorted array.
ImmutableSortedSet.Builder<E> - Class in com.google.common.collect
A builder for creating immutable sorted set instances, especially public static final sets ("constant sets"), with a given comparator.
ImmutableSortedSet.Builder(Comparator<? super E>) - Constructor for class com.google.common.collect.ImmutableSortedSet.Builder
Creates a new builder.
in(Collection<? extends T>) - 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.
increment(InetAddress) - Static method in class com.google.common.net.InetAddresses
Returns a new InetAddress that is one more than the passed in address.
incrementBy(AbstractCache.StatsCounter) - Method in class com.google.common.cache.AbstractCache.SimpleStatsCounter
Increments all counters by the values in other.
index(Iterable<V>, Function<? super V, K>) - Static method in class com.google.common.collect.Multimaps
Creates an index ImmutableListMultimap that contains the results of applying a specified function to each item in an Iterable of values.
index(I, Function<? super V, K>) - Static method in class com.google.common.collect.Multimaps
Deprecated. use Multimaps.index(Iterator, Function) by casting values to Iterator<V>, or better yet, by implementing only Iterator and not Iterable. This method is scheduled for deletion in March 2012.
index(Iterator<V>, Function<? super V, K>) - Static method in class com.google.common.collect.Multimaps
Creates an index ImmutableListMultimap that contains the results of applying a specified function to each item in an Iterator of values.
indexIn(CharSequence) - Method in class com.google.common.base.CharMatcher
Returns the index of the first matching character in a character sequence, or -1 if no matching character is present.
indexIn(CharSequence, int) - Method in class com.google.common.base.CharMatcher
Returns the index of the first matching character in a character sequence, starting from a given position, or -1 if no character matches after that position.
indexOf(Object) - Method in class com.google.common.collect.ForwardingList
 
indexOf(Object) - Method in class com.google.common.collect.ImmutableList
 
indexOf(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
Returns the index in iterable of the first element that satisfies the provided predicate, or -1 if the Iterable has no such elements.
indexOf(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
Returns the index in iterator of the first element that satisfies the provided predicate, or -1 if the Iterator has no such elements.
indexOf(boolean[], boolean) - Static method in class com.google.common.primitives.Booleans
Returns the index of the first appearance of the value target in array.
indexOf(boolean[], boolean[]) - Static method in class com.google.common.primitives.Booleans
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
indexOf(byte[], byte) - Static method in class com.google.common.primitives.Bytes
Returns the index of the first appearance of the value target in array.
indexOf(byte[], byte[]) - Static method in class com.google.common.primitives.Bytes
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
indexOf(char[], char) - Static method in class com.google.common.primitives.Chars
Returns the index of the first appearance of the value target in array.
indexOf(char[], char[]) - Static method in class com.google.common.primitives.Chars
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
indexOf(double[], double) - Static method in class com.google.common.primitives.Doubles
Returns the index of the first appearance of the value target in array.
indexOf(double[], double[]) - Static method in class com.google.common.primitives.Doubles
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
indexOf(float[], float) - Static method in class com.google.common.primitives.Floats
Returns the index of the first appearance of the value target in array.
indexOf(float[], float[]) - Static method in class com.google.common.primitives.Floats
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
indexOf(int[], int) - Static method in class com.google.common.primitives.Ints
Returns the index of the first appearance of the value target in array.
indexOf(int[], int[]) - Static method in class com.google.common.primitives.Ints
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
indexOf(long[], long) - Static method in class com.google.common.primitives.Longs
Returns the index of the first appearance of the value target in array.
indexOf(long[], long[]) - Static method in class com.google.common.primitives.Longs
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
indexOf(short[], short) - Static method in class com.google.common.primitives.Shorts
Returns the index of the first appearance of the value target in array.
indexOf(short[], short[]) - Static method in class com.google.common.primitives.Shorts
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
InetAddresses - Class in com.google.common.net
Static utility methods pertaining to InetAddress instances.
InetAddresses.TeredoInfo - Class in com.google.common.net
A simple data class to encapsulate the information to be found in a Teredo address.
InetAddresses.TeredoInfo(Inet4Address, Inet4Address, int, int) - Constructor for class com.google.common.net.InetAddresses.TeredoInfo
Constructs a TeredoInfo instance.
initialCapacity(int) - Method in class com.google.common.cache.CacheBuilder
Sets the minimum total size for the internal hash tables.
initialCapacity(int) - Method in class com.google.common.collect.GenericMapMaker
See MapMaker.initialCapacity.
initialCapacity(int) - Method in class com.google.common.collect.MapMaker
Sets the minimum total size for the internal hash tables.
InputSupplier<T> - Interface in com.google.common.io
A factory for readable streams of bytes or characters.
inRange(char, char) - Static method in class com.google.common.base.CharMatcher
Returns a char matcher that matches any character in a given range (both endpoints are inclusive).
instanceOf(Class<?>) - Static method in class com.google.common.base.Predicates
Returns a predicate that evaluates to true if the object being tested is an instance of the given class.
integers() - Static method in class com.google.common.collect.DiscreteDomains
Returns the discrete domain for values of type Integer.
intern(E) - Method in interface com.google.common.collect.Interner
Chooses and returns the representative instance for any of a collection of instances that are equal to each other.
Interner<E> - Interface in com.google.common.collect
Provides equivalent behavior to String.intern() for other immutable types.
Interners - Class in com.google.common.collect
Contains static methods pertaining to instances of Interner.
InternetDomainName - Class in com.google.common.net
An immutable well-formed internet domain name, such as com or foo.co.uk.
interruptTask() - Method in class com.google.common.util.concurrent.AbstractFuture
Subclasses can override this method to implement interruption of the future's computation.
intersection(ContiguousSet<C>) - Method in class com.google.common.collect.ContiguousSet
Returns the set of values that are contained in both this set and the other.
intersection(Multiset<E>, Multiset<?>) - Static method in class com.google.common.collect.Multisets
Returns an unmodifiable view of the intersection of two multisets.
intersection(Range<C>) - Method in class com.google.common.collect.Range
Returns the maximal range enclosed by both this range and other, if such a range exists.
intersection(Set<E>, Set<?>) - Static method in class com.google.common.collect.Sets
Returns an unmodifiable view of the intersection of two sets.
Ints - Class in com.google.common.primitives
Static utility methods pertaining to int primitives, that are not already found in either Integer or Arrays.
invalidate(Object) - Method in class com.google.common.cache.AbstractCache
 
invalidate(Object) - Method in interface com.google.common.cache.Cache
Discards any cached value for key key, possibly asynchronously, so that a future invocation of get(key) will result in a cache miss and reload.
invalidate(Object) - Method in class com.google.common.cache.ForwardingCache
 
invalidateAll() - Method in class com.google.common.cache.AbstractCache
 
invalidateAll() - Method in interface com.google.common.cache.Cache
Discards all entries in the cache, possibly asynchronously.
invalidateAll() - Method in class com.google.common.cache.ForwardingCache
 
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.
invertFrom(Multimap<? extends V, ? extends K>, M) - Static method in class com.google.common.collect.Multimaps
Copies each key-value mapping in source into dest, with its key and value reversed.
INVISIBLE - Static variable in class com.google.common.base.CharMatcher
Determines whether a character is invisible; that is, if its Unicode category is any of SPACE_SEPARATOR, LINE_SEPARATOR, PARAGRAPH_SEPARATOR, CONTROL, FORMAT, SURROGATE, and PRIVATE_USE according to ICU4J.
invokeAll(Collection<? extends Callable<T>>) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
 
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
 
invokeAll(Collection<? extends Callable<T>>) - Method in interface com.google.common.util.concurrent.ListeningExecutorService
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in interface com.google.common.util.concurrent.ListeningExecutorService
invokeAny(Collection<? extends Callable<T>>) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
 
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
 
is(char) - Static method in class com.google.common.base.CharMatcher
Returns a char matcher that matches only one specified character.
is6to4Address(Inet6Address) - Static method in class com.google.common.net.InetAddresses
Evaluates whether the argument is a 6to4 address.
isCancelled() - Method in class com.google.common.util.concurrent.AbstractFuture
 
isCancelled() - Method in class com.google.common.util.concurrent.ForwardingFuture
 
isCompatIPv4Address(Inet6Address) - Static method in class com.google.common.net.InetAddresses
Evaluates whether the argument is an IPv6 "compat" address.
isConnected(Range<C>) - Method in class com.google.common.collect.Range
Returns true if there exists a (possibly empty) range which is enclosed by both this range and other.
isDone() - Method in class com.google.common.util.concurrent.AbstractFuture
 
isDone() - Method in class com.google.common.util.concurrent.ForwardingFuture
 
isEmpty() - Method in class com.google.common.collect.ArrayTable
Always returns false.
isEmpty() - Method in class com.google.common.collect.ConcurrentHashMultiset
 
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.ForwardingTable
 
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.ImmutableMap
 
isEmpty() - Method in class com.google.common.collect.ImmutableMultimap
 
isEmpty(Iterable<T>) - Static method in class com.google.common.collect.Iterables
Determines if the given iterable contains no elements.
isEmpty() - Method in class com.google.common.collect.LinkedListMultimap
 
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.Range
Returns true if this range is of the form [v..v) or (v..v].
isEmpty() - Method in interface com.google.common.collect.Table
Returns true if the table contains no mappings.
isFair() - Method in class com.google.common.util.concurrent.Monitor
Returns whether this monitor is using a fair ordering policy.
isFinite(double) - Static method in class com.google.common.primitives.Doubles
Returns true if value represents a real number.
isFinite(float) - Static method in class com.google.common.primitives.Floats
Returns true if value represents a real number.
isInetAddress(String) - Static method in class com.google.common.net.InetAddresses
Returns true if the supplied string is a valid IP string literal, false otherwise.
isIsatapAddress(Inet6Address) - Static method in class com.google.common.net.InetAddresses
Evaluates whether the argument is an ISATAP address.
isLowerCase(char) - Static method in class com.google.common.base.Ascii
Indicates whether c is one of the twenty-six lowercase ASCII alphabetic characters between 'a' and 'z' inclusive.
isMappedIPv4Address(String) - Static method in class com.google.common.net.InetAddresses
Evaluates whether the argument is an "IPv4 mapped" IPv6 address.
isMaximum(InetAddress) - Static method in class com.google.common.net.InetAddresses
Returns true if the InetAddress is either 255.255.255.255 for IPv4 or ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff for IPv6.
isNot(char) - Static method in class com.google.common.base.CharMatcher
Returns a char matcher that matches any character except the one specified.
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.
isNullOrEmpty(String) - Static method in class com.google.common.base.Strings
Returns true if the given string is null or is the empty string.
ISO_8859_1 - Static variable in class com.google.common.base.Charsets
ISO-8859-1.
isOccupied() - Method in class com.google.common.util.concurrent.Monitor
Returns whether this monitor is occupied by any thread.
isOccupiedByCurrentThread() - Method in class com.google.common.util.concurrent.Monitor
Returns whether the current thread is occupying this monitor (has entered more times than it has left).
isOrdered(Iterable<? extends T>) - Method in class com.google.common.collect.Ordering
Returns true if each element in iterable after the first is greater than or equal to the element that preceded it, according to this ordering.
isPresent() - Method in class com.google.common.base.Optional
Returns true if this holder contains a (non-null) instance.
isPublicSuffix() - Method in class com.google.common.net.InternetDomainName
Indicates whether this domain name represents a public suffix, as defined by the Mozilla Foundation's Public Suffix List (PSL).
isRunning() - Method in class com.google.common.base.Stopwatch
Returns true if Stopwatch.start() has been called on this stopwatch, and Stopwatch.stop() has not been called since the last call to start().
isRunning() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
 
isRunning() - Method in class com.google.common.util.concurrent.AbstractIdleService
 
isRunning() - Method in class com.google.common.util.concurrent.AbstractService
 
isRunning() - Method in class com.google.common.util.concurrent.ForwardingService
 
isRunning() - Method in interface com.google.common.util.concurrent.Service
Returns true if this service is running.
isSatisfied() - Method in class com.google.common.util.concurrent.Monitor.Guard
Evaluates this guard's boolean condition.
isShutdown() - Method in class com.google.common.util.concurrent.ForwardingExecutorService
 
isStrictlyOrdered(Iterable<? extends T>) - Method in class com.google.common.collect.Ordering
Returns true if each element in iterable after the first is strictly greater than the element that preceded it, according to this ordering.
isTeredoAddress(Inet6Address) - Static method in class com.google.common.net.InetAddresses
Evaluates whether the argument is a Teredo address.
isTerminated() - Method in class com.google.common.util.concurrent.ForwardingExecutorService
 
isTopPrivateDomain() - Method in class com.google.common.net.InternetDomainName
Indicates whether this domain name is composed of exactly one subdomain component followed by a public suffix.
isUnderPublicSuffix() - Method in class com.google.common.net.InternetDomainName
Indicates whether this domain name ends in a public suffix, while not being a public suffix itself.
isUpperCase(char) - Static method in class com.google.common.base.Ascii
Indicates whether c is one of the twenty-six uppercase ASCII alphabetic characters between 'A' and 'Z' inclusive.
isUriInetAddress(String) - Static method in class com.google.common.net.InetAddresses
Returns true if the supplied string is a valid URI IP string literal, false otherwise.
isValid(String) - Static method in class com.google.common.net.HostSpecifier
Determines whether specifier represents a valid HostSpecifier as described in the documentation for HostSpecifier.fromValid(String).
isValid(String) - Static method in class com.google.common.net.InternetDomainName
Indicates whether the argument is a syntactically valid domain name using lenient validation.
isValidLenient(String) - Static method in class com.google.common.net.InternetDomainName
Deprecated. Use InternetDomainName.isValid(String) instead
isWrapperType(Class<?>) - Static method in class com.google.common.primitives.Primitives
Returns true if type is one of the nine primitive-wrapper types, such as Integer.
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.ForwardingCollection
 
iterator() - Method in class com.google.common.collect.ImmutableCollection
Returns an unmodifiable iterator across the elements in this collection.
iterator() - Method in class com.google.common.collect.ImmutableList
 
iterator() - Method in class com.google.common.collect.ImmutableMultiset
 
iterator() - Method in class com.google.common.collect.ImmutableSet
 
iterator() - Method in class com.google.common.collect.ImmutableSortedSet
 
iterator() - Method in class com.google.common.collect.MinMaxPriorityQueue
Returns an iterator over the elements contained in this collection, in no particular order.
iterator() - Method in interface com.google.common.collect.Multiset
iterator() - Method in class com.google.common.collect.TreeMultiset
Returns an iterator over the elements contained in this collection.
Iterators - Class in com.google.common.collect
This class contains static utility methods that operate on or return objects of type Iterator.

J

JAVA_DIGIT - Static variable in class com.google.common.base.CharMatcher
Determines whether a character is a digit according to Java's definition.
JAVA_ISO_CONTROL - Static variable in class com.google.common.base.CharMatcher
Determines whether a character is an ISO control character as specified by Character.isISOControl(char).
JAVA_LETTER - Static variable in class com.google.common.base.CharMatcher
Determines whether a character is a letter according to Java's definition.
JAVA_LETTER_OR_DIGIT - Static variable in class com.google.common.base.CharMatcher
Determines whether a character is a letter or digit according to Java's definition.
JAVA_LOWER_CASE - Static variable in class com.google.common.base.CharMatcher
Determines whether a character is lower case according to Java's definition.
JAVA_UPPER_CASE - Static variable in class com.google.common.base.CharMatcher
Determines whether a character is upper case according to Java's definition.
JAVA_WHITESPACE - Static variable in class com.google.common.base.CharMatcher
Determines whether a character is whitespace according to Java's definition; it is usually preferable to use CharMatcher.WHITESPACE.
JdkFutureAdapters - Class in com.google.common.util.concurrent
Utilities necessary for working with libraries that supply plain Future instances.
join(Iterable<?>) - Method in class com.google.common.base.Joiner
Returns a string containing the string representation of each of parts, using the previously configured separator between each.
join(Object[]) - Method in class com.google.common.base.Joiner
Returns a string containing the string representation of each of parts, using the previously configured separator between each.
join(Object, Object, Object...) - Method in class com.google.common.base.Joiner
Returns a string containing the string representation of each argument, using the previously configured separator between each.
join(Map<?, ?>) - Method in class com.google.common.base.Joiner.MapJoiner
Returns a string containing the string representation of each entry of map, using the previously configured separator and key-value separator.
join(Iterable<? extends Map.Entry<?, ?>>) - Method in class com.google.common.base.Joiner.MapJoiner
Returns a string containing the string representation of each entry in entries, using the previously configured separator and key-value separator.
join(Iterable<? extends InputSupplier<? extends InputStream>>) - Static method in class com.google.common.io.ByteStreams
Joins multiple InputStream suppliers into a single supplier.
join(InputSupplier<? extends InputStream>...) - Static method in class com.google.common.io.ByteStreams
Varargs form of ByteStreams.join(Iterable).
join(Iterable<? extends InputSupplier<? extends Reader>>) - Static method in class com.google.common.io.CharStreams
Joins multiple Reader suppliers into a single supplier.
join(InputSupplier<? extends Reader>...) - Static method in class com.google.common.io.CharStreams
Varargs form of CharStreams.join(Iterable).
join(String, boolean...) - Static method in class com.google.common.primitives.Booleans
Returns a string containing the supplied boolean values separated by separator.
join(String, char...) - Static method in class com.google.common.primitives.Chars
Returns a string containing the supplied char values separated by separator.
join(String, double...) - Static method in class com.google.common.primitives.Doubles
Returns a string containing the supplied double values, converted to strings as specified by Double.toString(double), and separated by separator.
join(String, float...) - Static method in class com.google.common.primitives.Floats
Returns a string containing the supplied float values, converted to strings as specified by Float.toString(float), and separated by separator.
join(String, int...) - Static method in class com.google.common.primitives.Ints
Returns a string containing the supplied int values separated by separator.
join(String, long...) - Static method in class com.google.common.primitives.Longs
Returns a string containing the supplied long values separated by separator.
join(String, short...) - Static method in class com.google.common.primitives.Shorts
Returns a string containing the supplied short values separated by separator.
join(String, byte...) - Static method in class com.google.common.primitives.SignedBytes
Returns a string containing the supplied byte values separated by separator.
join(String, byte...) - Static method in class com.google.common.primitives.UnsignedBytes
Returns a string containing the supplied byte values separated by separator.
join(String, long...) - Static method in class com.google.common.primitives.UnsignedLongs
Returns a string containing the supplied unsigned long values separated by separator.
Joiner - Class in com.google.common.base
An object which joins pieces of text (specified as an array, Iterable, varargs or even a Map) with a separator.
Joiner.MapJoiner - Class in com.google.common.base
An object that joins map entries in the same manner as Joiner joins iterables and arrays.
joinUninterruptibly(Thread) - Static method in class com.google.common.util.concurrent.Uninterruptibles
Invokes toJoin.join() uninterruptibly.
joinUninterruptibly(Thread, long, TimeUnit) - Static method in class com.google.common.util.concurrent.Uninterruptibles
Invokes unit.timedJoin(toJoin, timeout) uninterruptibly.

K

keyComparator() - Method in class com.google.common.collect.TreeMultimap
Returns the comparator that orders the multimap keys.
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 class com.google.common.collect.LinkedListMultimap
 
keys() - Method in interface com.google.common.collect.Multimap
Returns a collection, which may contain duplicates, of all keys.
keySet() - Method in class com.google.common.collect.ForwardingMap
 
keySet() - Method in class com.google.common.collect.ForwardingMultimap
 
keySet() - Method in class com.google.common.collect.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 class com.google.common.collect.ImmutableSortedMap
Returns an immutable sorted set of the keys in this map.
keySet() - Method in class com.google.common.collect.LinkedListMultimap
 
keySet() - Method in interface com.google.common.collect.Multimap
Returns the set of all keys, each appearing once in the returned set.
keySet() - Method in class com.google.common.collect.TreeMultimap
Returns the set of all keys, each appearing once in the returned set.
keyType() - Method in class com.google.common.collect.EnumBiMap
Returns the associated key type.
keyType() - Method in class com.google.common.collect.EnumHashBiMap
Returns the associated key type.

L

last() - Method in class com.google.common.collect.ForwardingSortedSet
 
lastIndexIn(CharSequence) - Method in class com.google.common.base.CharMatcher
Returns the index of the last matching character in a character sequence, or -1 if no matching character is present.
lastIndexOf(Object) - Method in class com.google.common.collect.ForwardingList
 
lastIndexOf(Object) - Method in class com.google.common.collect.ImmutableList
 
lastIndexOf(boolean[], boolean) - Static method in class com.google.common.primitives.Booleans
Returns the index of the last appearance of the value target in array.
lastIndexOf(byte[], byte) - Static method in class com.google.common.primitives.Bytes
Returns the index of the last appearance of the value target in array.
lastIndexOf(char[], char) - Static method in class com.google.common.primitives.Chars
Returns the index of the last appearance of the value target in array.
lastIndexOf(double[], double) - Static method in class com.google.common.primitives.Doubles
Returns the index of the last appearance of the value target in array.
lastIndexOf(float[], float) - Static method in class com.google.common.primitives.Floats
Returns the index of the last appearance of the value target in array.
lastIndexOf(int[], int) - Static method in class com.google.common.primitives.Ints
Returns the index of the last appearance of the value target in array.
lastIndexOf(long[], long) - Static method in class com.google.common.primitives.Longs
Returns the index of the last appearance of the value target in array.
lastIndexOf(short[], short) - Static method in class com.google.common.primitives.Shorts
Returns the index of the last appearance of the value target in array.
lastKey() - Method in class com.google.common.collect.ForwardingSortedMap
 
lastKey() - Method in class com.google.common.collect.ImmutableSortedMap
 
lazyTransform(Future<I>, Function<? super I, ? extends O>) - Static method in class com.google.common.util.concurrent.Futures
Like Futures.transform(ListenableFuture, Function) except that the transformation function is invoked on each call to get() on the returned future.
leastOf(Iterable<E>, int) - Method in class com.google.common.collect.Ordering
Returns the k least elements of the given iterable according to this ordering, in order from least to greatest.
leave() - Method in class com.google.common.util.concurrent.Monitor
Leaves this monitor.
leftValue() - Method in interface com.google.common.collect.MapDifference.ValueDifference
Returns the value from the left map (possibly null).
length(InputSupplier<? extends InputStream>) - Static method in class com.google.common.io.ByteStreams
Returns the length of a supplied input stream, in bytes.
lessThan(C) - Static method in class com.google.common.collect.Ranges
Returns a range that contains all values strictly less than endpoint.
lexicographical() - Method in class com.google.common.collect.Ordering
Returns a new ordering which sorts iterables by comparing corresponding elements pairwise until a nonzero result is found; imposes "dictionary order".
lexicographicalComparator() - Static method in class com.google.common.primitives.Booleans
Returns a comparator that compares two boolean arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.Chars
Returns a comparator that compares two char arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.Doubles
Returns a comparator that compares two double arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.Floats
Returns a comparator that compares two float arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.Ints
Returns a comparator that compares two int arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.Longs
Returns a comparator that compares two long arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.Shorts
Returns a comparator that compares two short arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.SignedBytes
Returns a comparator that compares two byte arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.UnsignedBytes
Returns a comparator that compares two byte arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.UnsignedLongs
Returns a comparator that compares two long arrays lexicographically.
LF - Static variable in class com.google.common.base.Ascii
Line Feed ('\n'): A format effector which controls the movement of the printing position to the next printing line.
limit(int) - Method in class com.google.common.base.Splitter
Returns a splitter that behaves equivalently to this splitter but stops splitting after it reaches the limit.
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.
LimitInputStream - Class in com.google.common.io
An InputStream that limits the number of bytes which can be read.
LimitInputStream(InputStream, long) - Constructor for class com.google.common.io.LimitInputStream
Wraps another input stream, limiting the number of bytes which can be read.
LineProcessor<T> - Interface in com.google.common.io
A callback to be used with the streaming readLines methods.
LineReader - Class in com.google.common.io
A class for reading lines of text.
LineReader(Readable) - Constructor for class com.google.common.io.LineReader
Creates a new instance that will read lines from the given Readable object.
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.
LinkedHashMultiset<E> - Class in com.google.common.collect
A Multiset implementation with predictable iteration order.
LinkedListMultimap<K,V> - Class in com.google.common.collect
An implementation of ListMultimap that supports deterministic iteration order for both keys and values.
ListenableFuture<V> - Interface in com.google.common.util.concurrent
A Future that accepts completion listeners.
ListenableFutureTask<V> - Class in com.google.common.util.concurrent
A FutureTask that also implements the ListenableFuture interface.
ListenableFutureTask(Callable<V>) - Constructor for class com.google.common.util.concurrent.ListenableFutureTask
Deprecated. 
ListenableFutureTask(Runnable, V) - Constructor for class com.google.common.util.concurrent.ListenableFutureTask
Deprecated. 
listeningDecorator(ExecutorService) - Static method in class com.google.common.util.concurrent.MoreExecutors
Creates an ExecutorService whose submit and invokeAll methods submit ListenableFutureTask instances to the given delegate executor.
listeningDecorator(ScheduledExecutorService) - Static method in class com.google.common.util.concurrent.MoreExecutors
Creates a ScheduledExecutorService whose submit and invokeAll methods submit ListenableFutureTask instances to the given delegate executor.
ListeningExecutorService - Interface in com.google.common.util.concurrent
An ExecutorService that returns ListenableFuture instances.
ListeningScheduledExecutorService - Interface in com.google.common.util.concurrent
A ScheduledExecutorService that returns ListenableFuture instances from its ExecutorService methods.
listenInPoolThread(Future<V>) - Static method in class com.google.common.util.concurrent.JdkFutureAdapters
Assigns a thread to the given Future to provide ListenableFuture functionality.
listIterator() - Method in class com.google.common.collect.ForwardingList
 
listIterator(int) - Method in class com.google.common.collect.ForwardingList
 
listIterator() - Method in class com.google.common.collect.ImmutableList
 
listIterator(int) - Method in class com.google.common.collect.ImmutableList
 
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.
LittleEndianDataInputStream - Class in com.google.common.io
An implementation of DataInput that uses little-endian byte ordering for reading short, int, float, double, and long values.
LittleEndianDataInputStream(InputStream) - Constructor for class com.google.common.io.LittleEndianDataInputStream
Creates a LittleEndianDataInputStream that wraps the given stream.
LittleEndianDataOutputStream - Class in com.google.common.io
An implementation of DataOutput that uses little-endian byte ordering for writing char, short, int, float, double, and long values.
LittleEndianDataOutputStream(OutputStream) - Constructor for class com.google.common.io.LittleEndianDataOutputStream
Creates a LittleEndianDataOutputStream that wraps the given stream.
load(K) - Method in class com.google.common.cache.CacheLoader
Computes or retrieves the value corresponding to key.
loadCount() - Method in class com.google.common.cache.CacheStats
Returns the total number of times that Cache lookup methods attempted to load new values.
loadExceptionCount() - Method in class com.google.common.cache.CacheStats
Returns the number of times Cache lookup methods threw an exception while loading a new value.
loadExceptionRate() - Method in class com.google.common.cache.CacheStats
Returns the ratio of cache loading attempts which threw exceptions.
loadSuccessCount() - Method in class com.google.common.cache.CacheStats
Returns the number of times Cache lookup methods have successfully loaded a new value.
longs() - Static method in class com.google.common.collect.DiscreteDomains
Returns the discrete domain for values of type Long.
Longs - Class in com.google.common.primitives
Static utility methods pertaining to long primitives, that are not already found in either Long or Arrays.
lowerBoundType() - Method in class com.google.common.collect.Range
Returns the type of this range's lower bound: BoundType.CLOSED if the range includes its lower endpoint, BoundType.OPEN if it does not.
lowerEndpoint() - Method in class com.google.common.collect.Range
Returns the lower endpoint of this range.

M

makeChecked(Future<V>, Function<Exception, X>) - Static method in class com.google.common.util.concurrent.Futures
Deprecated. Obtain a ListenableFuture, following the advice in its documentation and use Futures.makeChecked(ListenableFuture, Function). This method is scheduled for deletion from Guava in Guava release 11.0.
makeChecked(ListenableFuture<V>, Function<Exception, X>) - Static method in class com.google.common.util.concurrent.Futures
Creates a CheckedFuture out of a normal ListenableFuture and a Function that maps from Exception instances into the appropriate checked type.
makeComputingMap(Function<? super K, ? extends V>) - Method in class com.google.common.collect.GenericMapMaker
Deprecated. 
makeComputingMap(Function<? super K, ? extends V>) - Method in class com.google.common.collect.MapMaker
Deprecated. 
makeListenable(Future<V>) - Static method in class com.google.common.util.concurrent.Futures
Deprecated. Prefer to create ListenableFuture instances with SettableFuture, MoreExecutors.listeningDecorator( java.util.concurrent.ExecutorService), ListenableFutureTask, AbstractFuture, and other utilities over creating plain Future instances to be upgraded to ListenableFuture after the fact. If this is not possible, the functionality of makeListenable is now available as JdkFutureAdapters.listenInPoolThread(java.util.concurrent.Future). This method is scheduled for deletion from Guava in Guava release 11.0.
makeMap() - Method in class com.google.common.collect.GenericMapMaker
See MapMaker.makeMap().
makeMap() - Method in class com.google.common.collect.MapMaker
Builds a thread-safe map, without on-demand computation of values.
makeUninterruptible(Future<V>) - Static method in class com.google.common.util.concurrent.Futures
Deprecated. Use getUninterruptibly. This method is scheduled for deletion in Guava Release 11.
map(File) - Static method in class com.google.common.io.Files
Fully maps a file read-only in to memory as per FileChannel.map(java.nio.channels.FileChannel.MapMode, long, long).
map(File, FileChannel.MapMode) - Static method in class com.google.common.io.Files
Fully maps a file in to memory as per FileChannel.map(java.nio.channels.FileChannel.MapMode, long, long) using the requested FileChannel.MapMode.
map(File, FileChannel.MapMode, long) - Static method in class com.google.common.io.Files
Maps a file in to memory as per FileChannel.map(java.nio.channels.FileChannel.MapMode, long, long) using the requested FileChannel.MapMode.
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.
MapDifference<K,V> - Interface in com.google.common.collect
An object representing the differences between two maps.
MapDifference.ValueDifference<V> - Interface in com.google.common.collect
A difference between the mappings from two maps with the same key.
MapEvictionListener<K,V> - Interface in com.google.common.collect
Deprecated. use MapMaker.RemovalListener This class is scheduled for deletion from Guava in Guava release 11.0.
mapException(Exception) - Method in class com.google.common.util.concurrent.AbstractCheckedFuture
Translates from an InterruptedException, CancellationException or ExecutionException thrown by get to an exception of type X to be thrown by checkedGet.
MapMaker - Class in com.google.common.collect
A builder of ConcurrentMap instances having any combination of the following features: keys or values automatically wrapped in weak or soft references least-recently-used eviction when a maximum size is exceeded time-based expiration of entries, measured since last access or last write notification of evicted (or otherwise removed) entries on-demand computation of values for keys not already present
MapMaker() - Constructor for class com.google.common.collect.MapMaker
Constructs a new MapMaker instance with default settings, including strong keys, strong values, and no automatic eviction of any kind.
Maps - Class in com.google.common.collect
Static utility methods pertaining to Map instances.
Maps.EntryTransformer<K,V1,V2> - Interface in com.google.common.collect
A transformation of the value of a key-value pair, using both key and value as inputs.
mark(int) - Method in class com.google.common.io.CountingInputStream
 
mark(int) - Method in class com.google.common.io.LimitInputStream
 
matches(char) - Method in class com.google.common.base.CharMatcher
Determines a true or false value for the given character.
matchesAllOf(CharSequence) - Method in class com.google.common.base.CharMatcher
Returns true if a character sequence contains only matching characters.
matchesAnyOf(CharSequence) - Method in class com.google.common.base.CharMatcher
Returns true if a character sequence contains at least one matching character.
matchesNoneOf(CharSequence) - Method in class com.google.common.base.CharMatcher
Returns true if a character sequence contains no matching characters.
MAX - Static variable in class com.google.common.base.Ascii
The maximum value of an ASCII character.
max(Iterable<E>) - Method in class com.google.common.collect.Ordering
Returns the greatest of the specified values according to this ordering.
max(E, E, E, E...) - Method in class com.google.common.collect.Ordering
Returns the greatest of the specified values according to this ordering.
max(E, E) - Method in class com.google.common.collect.Ordering
Returns the greater of the two values according to this ordering.
max(char...) - Static method in class com.google.common.primitives.Chars
Returns the greatest value present in array.
max(double...) - Static method in class com.google.common.primitives.Doubles
Returns the greatest value present in array, using the same rules of comparison as Math.max(double, double).
max(float...) - Static method in class com.google.common.primitives.Floats
Returns the greatest value present in array, using the same rules of comparison as Math.min(float, float).
max(int...) - Static method in class com.google.common.primitives.Ints
Returns the greatest value present in array.
max(long...) - Static method in class com.google.common.primitives.Longs
Returns the greatest value present in array.
max(short...) - Static method in class com.google.common.primitives.Shorts
Returns the greatest value present in array.
max(byte...) - Static method in class com.google.common.primitives.SignedBytes
Returns the greatest value present in array.
max(byte...) - Static method in class com.google.common.primitives.UnsignedBytes
Returns the greatest value present in array.
max(long...) - Static method in class com.google.common.primitives.UnsignedLongs
Returns the greatest value present in array.
MAX_POWER_OF_TWO - Static variable in class com.google.common.primitives.Ints
The largest power of two that can be represented as an int.
MAX_POWER_OF_TWO - Static variable in class com.google.common.primitives.Longs
The largest power of two that can be represented as a long.
MAX_POWER_OF_TWO - Static variable in class com.google.common.primitives.Shorts
The largest power of two that can be represented as a short.
MAX_POWER_OF_TWO - Static variable in class com.google.common.primitives.SignedBytes
The largest power of two that can be represented as a signed byte.
MAX_POWER_OF_TWO - Static variable in class com.google.common.primitives.UnsignedBytes
The largest power of two that can be represented as an unsigned byte.
MAX_VALUE - Static variable in class com.google.common.primitives.UnsignedLongs
 
maximumSize(int) - Method in class com.google.common.cache.CacheBuilder
Specifies the maximum number of entries the cache may contain.
maximumSize(int) - Method in class com.google.common.collect.GenericMapMaker
Deprecated. 
maximumSize(int) - Method in class com.google.common.collect.MapMaker
Deprecated. 
maximumSize(int) - Method in class com.google.common.collect.MinMaxPriorityQueue.Builder
Configures this builder to build MinMaxPriorityQueue instances that are limited to maximumSize elements.
maximumSize(int) - Static method in class com.google.common.collect.MinMaxPriorityQueue
Creates and returns a new builder, configured to build MinMaxPriorityQueue instances that are limited to maximumSize elements.
maxValue() - Method in class com.google.common.collect.DiscreteDomain
Returns the maximum value of type C, if it has one.
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().
memoizeWithExpiration(Supplier<T>, long, TimeUnit) - Static method in class com.google.common.base.Suppliers
Returns a supplier that caches the instance supplied by the delegate and removes the cached value after the specified time has passed.
MIN - Static variable in class com.google.common.base.Ascii
The minimum value of an ASCII character.
min(Iterable<E>) - Method in class com.google.common.collect.Ordering
Returns the least of the specified values according to this ordering.
min(E, E, E, E...) - Method in class com.google.common.collect.Ordering
Returns the least of the specified values according to this ordering.
min(E, E) - Method in class com.google.common.collect.Ordering
Returns the lesser of the two values according to this ordering.
min(char...) - Static method in class com.google.common.primitives.Chars
Returns the least value present in array.
min(double...) - Static method in class com.google.common.primitives.Doubles
Returns the least value present in array, using the same rules of comparison as Math.min(double, double).
min(float...) - Static method in class com.google.common.primitives.Floats
Returns the least value present in array, using the same rules of comparison as Math.min(float, float).
min(int...) - Static method in class com.google.common.primitives.Ints
Returns the least value present in array.
min(long...) - Static method in class com.google.common.primitives.Longs
Returns the least value present in array.
min(short...) - Static method in class com.google.common.primitives.Shorts
Returns the least value present in array.
min(byte...) - Static method in class com.google.common.primitives.SignedBytes
Returns the least value present in array.
min(byte...) - Static method in class com.google.common.primitives.UnsignedBytes
Returns the least value present in array.
min(long...) - Static method in class com.google.common.primitives.UnsignedLongs
Returns the least value present in array.
MinMaxPriorityQueue<E> - Class in com.google.common.collect
A double-ended priority queue, which provides constant-time access to both its least element and its greatest element, as determined by the queue's specified comparator.
MinMaxPriorityQueue.Builder<B> - Class in com.google.common.collect
The builder class used in creation of min-max priority queues.
minus(CacheStats) - Method in class com.google.common.cache.CacheStats
Returns a new CacheStats representing the difference between this CacheStats and other.
minValue() - Method in class com.google.common.collect.DiscreteDomain
Returns the minimum value of type C, if it has one.
missCount() - Method in class com.google.common.cache.CacheStats
Returns the number of times Cache lookup methods have returned an uncached (newly loaded) value, or null.
missRate() - Method in class com.google.common.cache.CacheStats
Returns the ratio of cache requests which were misses.
Monitor - Class in com.google.common.util.concurrent
A synchronization abstraction supporting waiting on arbitrary boolean conditions.
Monitor() - Constructor for class com.google.common.util.concurrent.Monitor
Creates a monitor with a non-fair (but fast) ordering policy.
Monitor(boolean) - Constructor for class com.google.common.util.concurrent.Monitor
Creates a monitor with the given ordering policy.
Monitor.Guard - Class in com.google.common.util.concurrent
A boolean condition for which a thread may wait.
Monitor.Guard(Monitor) - Constructor for class com.google.common.util.concurrent.Monitor.Guard
 
MoreExecutors - Class in com.google.common.util.concurrent
Factory and utility methods for Executor, ExecutorService, and ThreadFactory.
move(File, File) - Static method in class com.google.common.io.Files
Moves the file from one path to another.
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.
MutableClassToInstanceMap<B> - Class in com.google.common.collect
A mutable class-to-instance map backed by an arbitrary user-provided map.

N

NAK - Static variable in class com.google.common.base.Ascii
Negative Acknowledge: A communication control character transmitted by a receiver as a negative response to the sender.
name() - Method in class com.google.common.net.InternetDomainName
Returns the domain name, normalized to all lower case.
natural() - Static method in class com.google.common.collect.Ordering
Returns a serializable ordering that uses the natural order of the values.
naturalOrder() - Static method in class com.google.common.collect.ImmutableSortedMap
Returns a builder that creates immutable sorted maps whose keys are ordered by their natural ordering.
naturalOrder() - Static method in class com.google.common.collect.ImmutableSortedSet
Returns a builder that creates immutable sorted sets whose elements are ordered by their natural ordering.
negate() - Method in class com.google.common.base.CharMatcher
Returns a matcher that matches any character not matched by this matcher.
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 a mutable, empty ArrayList instance.
newArrayList(E...) - Static method in class com.google.common.collect.Lists
Creates a mutable ArrayList instance containing the given elements.
newArrayList(Iterable<? extends E>) - Static method in class com.google.common.collect.Lists
Creates a mutable ArrayList instance containing the given elements.
newArrayList(Iterator<? extends E>) - Static method in class com.google.common.collect.Lists
Creates a mutable ArrayList instance containing the given elements.
newArrayListWithCapacity(int) - Static method in class com.google.common.collect.Lists
Creates an ArrayList instance backed by an array of the exact size specified; equivalent to ArrayList.ArrayList(int).
newArrayListWithExpectedSize(int) - Static method in class com.google.common.collect.Lists
Creates an ArrayList instance sized appropriately to hold an estimated number of elements without resizing.
newBuilder() - Static method in class com.google.common.cache.CacheBuilder
Constructs a new CacheBuilder instance with default settings, including strong keys, strong values, and no automatic eviction of any kind.
newConcurrentMap() - Static method in class com.google.common.collect.Maps
Returns a general-purpose instance of ConcurrentMap, which supports all optional operations of the ConcurrentMap interface.
newCustomTable(Map<R, Map<C, V>>, Supplier<? extends Map<C, V>>) - Static method in class com.google.common.collect.Tables
Creates a table that uses the specified backing map and factory.
newDataInput(byte[]) - Static method in class com.google.common.io.ByteStreams
Returns a new ByteArrayDataInput instance to read from the bytes array from the beginning.
newDataInput(byte[], int) - Static method in class com.google.common.io.ByteStreams
Returns a new ByteArrayDataInput instance to read from the bytes array, starting at the given position.
newDataOutput() - Static method in class com.google.common.io.ByteStreams
Returns a new ByteArrayDataOutput instance with a default size.
newDataOutput(int) - Static method in class com.google.common.io.ByteStreams
Returns a new ByteArrayDataOutput instance sized to hold size bytes before resizing.
newEnumMap(Class<K>) - Static method in class com.google.common.collect.Maps
Creates an EnumMap instance.
newEnumMap(Map<K, ? extends V>) - Static method in class com.google.common.collect.Maps
Creates an EnumMap with the same mappings as the specified map.
newEnumSet(Iterable<E>, Class<E>) - Static method in class com.google.common.collect.Sets
Returns a new EnumSet instance containing the given elements.
newHandlerSet() - Method in class com.google.common.eventbus.EventBus
Creates a new Set for insertion into the handler map.
newHashMap() - Static method in class com.google.common.collect.Maps
Creates a mutable, empty HashMap instance.
newHashMap(Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.Maps
Creates a mutable 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 a high enough "initial capacity" that it should hold expectedSize elements without growth.
newHashSet() - Static method in class com.google.common.collect.Sets
Creates a mutable, empty HashSet instance.
newHashSet(E...) - Static method in class com.google.common.collect.Sets
Creates a mutable HashSet instance containing the given elements in unspecified order.
newHashSet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a mutable HashSet instance containing the given elements in unspecified order.
newHashSet(Iterator<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a mutable HashSet instance containing the given elements in unspecified order.
newHashSetWithExpectedSize(int) - Static method in class com.google.common.collect.Sets
Creates a HashSet instance, with a high enough "initial capacity" that it should hold expectedSize elements without growth.
newIdentityHashMap() - Static method in class com.google.common.collect.Maps
Creates an IdentityHashMap instance.
newIdentityHashSet() - Static method in class com.google.common.collect.Sets
Creates an empty Set that uses identity to determine equality.
newInputStreamSupplier(byte[]) - Static method in class com.google.common.io.ByteStreams
Returns a factory that will supply instances of ByteArrayInputStream that read from the given byte array.
newInputStreamSupplier(byte[], int, int) - Static method in class com.google.common.io.ByteStreams
Returns a factory that will supply instances of ByteArrayInputStream that read from the given byte array.
newInputStreamSupplier(File) - Static method in class com.google.common.io.Files
Returns a factory that will supply instances of FileInputStream that read from a file.
newInputStreamSupplier(URL) - Static method in class com.google.common.io.Resources
Returns a factory that will supply instances of InputStream that read from the given URL.
newLinkedHashMap() - Static method in class com.google.common.collect.Maps
Creates a mutable, empty, insertion-ordered LinkedHashMap instance.
newLinkedHashMap(Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.Maps
Creates a mutable, insertion-ordered LinkedHashMap instance with the same mappings as the specified map.
newLinkedHashSet() - Static method in class com.google.common.collect.Sets
Creates a mutable, empty LinkedHashSet instance.
newLinkedHashSet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a mutable LinkedHashSet instance containing the given elements in order.
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.
newOutputStreamSupplier(File) - Static method in class com.google.common.io.Files
Returns a factory that will supply instances of FileOutputStream that write to a file.
newOutputStreamSupplier(File, boolean) - Static method in class com.google.common.io.Files
Returns a factory that will supply instances of FileOutputStream that write to or append to a file.
newProxy(T, Class<T>, long, TimeUnit) - Method in class com.google.common.util.concurrent.FakeTimeLimiter
 
newProxy(T, Class<T>, long, TimeUnit) - Method in class com.google.common.util.concurrent.SimpleTimeLimiter
 
newProxy(T, Class<T>, long, TimeUnit) - Method in interface com.google.common.util.concurrent.TimeLimiter
Returns an instance of interfaceType that delegates all method calls to the target object, enforcing the specified time limit on each call.
newReader(File, Charset) - Static method in class com.google.common.io.Files
Returns a buffered reader that reads from a file using the given character set.
newReaderSupplier(String) - Static method in class com.google.common.io.CharStreams
Returns a factory that will supply instances of StringReader that read a string value.
newReaderSupplier(InputSupplier<? extends InputStream>, Charset) - Static method in class com.google.common.io.CharStreams
Returns a factory that will supply instances of InputStreamReader, using the given InputStream factory and character set.
newReaderSupplier(File, Charset) - Static method in class com.google.common.io.Files
Returns a factory that will supply instances of InputStreamReader that read a file using the given character set.
newReaderSupplier(URL, Charset) - Static method in class com.google.common.io.Resources
Returns a factory that will supply instances of InputStreamReader that read a URL using the given character set.
newReference() - Static method in class com.google.common.util.concurrent.Atomics
Creates an AtomicReference instance with no initial value.
newReference(V) - Static method in class com.google.common.util.concurrent.Atomics
Creates an AtomicReference instance with the given initial value.
newReferenceArray(int) - Static method in class com.google.common.util.concurrent.Atomics
Creates an AtomicReferenceArray instance of given length.
newReferenceArray(E[]) - Static method in class com.google.common.util.concurrent.Atomics
Creates an AtomicReferenceArray instance with the same length as, and all elements copied from, the given array.
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.
newStrongInterner() - Static method in class com.google.common.collect.Interners
Returns a new thread-safe interner which retains a strong reference to each instance it has interned, thus preventing these instances from being garbage-collected.
newTreeMap() - Static method in class com.google.common.collect.Maps
Creates a mutable, empty TreeMap instance using the natural ordering of its elements.
newTreeMap(SortedMap<K, ? extends V>) - Static method in class com.google.common.collect.Maps
Creates a mutable TreeMap instance with the same mappings as the specified map and using the same ordering as the specified map.
newTreeMap(Comparator<C>) - Static method in class com.google.common.collect.Maps
Creates a mutable, empty TreeMap instance using the given comparator.
newTreeSet() - Static method in class com.google.common.collect.Sets
Creates a mutable, empty TreeSet instance sorted by the natural sort ordering of its elements.
newTreeSet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
Creates a mutable 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 a mutable, empty TreeSet instance with the given comparator.
newWeakInterner() - Static method in class com.google.common.collect.Interners
Returns a new thread-safe interner which retains a weak reference to each instance it has interned, and so does not prevent these instances from being garbage-collected.
newWriter(File, Charset) - Static method in class com.google.common.io.Files
Returns a buffered writer that writes to a file using the given character set.
newWriterSupplier(OutputSupplier<? extends OutputStream>, Charset) - Static method in class com.google.common.io.CharStreams
Returns a factory that will supply instances of OutputStreamWriter, using the given OutputStream factory and character set.
newWriterSupplier(File, Charset) - Static method in class com.google.common.io.Files
Returns a factory that will supply instances of OutputStreamWriter that write to a file using the given character set.
newWriterSupplier(File, Charset, boolean) - Static method in class com.google.common.io.Files
Returns a factory that will supply instances of OutputStreamWriter that write to or append to a file using the given character set.
next() - Method in class com.google.common.collect.AbstractIterator
 
next() - Method in class com.google.common.collect.AbstractLinkedIterator
 
next(C) - Method in class com.google.common.collect.DiscreteDomain
Returns the unique least value of type C that is greater than value, or null if none exists.
next() - Method in class com.google.common.collect.ForwardingIterator
 
next() - Method in interface com.google.common.collect.PeekingIterator
nextIndex() - Method in class com.google.common.collect.ForwardingListIterator
 
NL - Static variable in class com.google.common.base.Ascii
Alternate name for Ascii.LF.
NONE - Static variable in class com.google.common.base.CharMatcher
Matches no characters.
noneOf(CharSequence) - Static method in class com.google.common.base.CharMatcher
Returns a char matcher that matches any character not present in the given character sequence.
not(Predicate<T>) - Static method in class com.google.common.base.Predicates
Returns a predicate that evaluates to true if the given predicate evaluates to false.
notifyFailed(Throwable) - Method in class com.google.common.util.concurrent.AbstractService
Invoke this method to transition the service to the Service.State.FAILED.
notifyStarted() - Method in class com.google.common.util.concurrent.AbstractService
Implementing classes should invoke this method once their service has started.
notifyStopped() - Method in class com.google.common.util.concurrent.AbstractService
Implementing classes should invoke this method once their service has stopped.
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.
notNull() - Static method in class com.google.common.collect.MapConstraints
Returns a constraint that verifies that neither the key nor the value is null.
NUL - Static variable in class com.google.common.base.Ascii
Null ('\0'): The all-zeros character which may serve to accomplish time fill and media fill.
NullOutputStream - Class in com.google.common.io
Implementation of OutputStream that simply discards written bytes.
NullOutputStream() - Constructor for class com.google.common.io.NullOutputStream
 
nullsFirst() - Method in class com.google.common.collect.Ordering
Returns an ordering that treats null as less than all other values and uses this 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.
nullToEmpty(String) - Static method in class com.google.common.base.Strings
Returns the given string if it is non-null; the empty string otherwise.

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.
Objects.ToStringHelper - Class in com.google.common.base
Support class for Objects.toStringHelper(java.lang.Object).
of(T) - Static method in class com.google.common.base.Optional
Returns an Optional instance containing the given non-null reference.
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, 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, E, 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, E, E, 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, E, E, E, 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, E, E, E, E, 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, E, E, E, E, E, 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, E, E, E, E, E, E, E, 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
Deprecated. use ImmutableList.copyOf(Object[]). This method is scheduled for deletion in October 2011.
of() - Static method in class com.google.common.collect.ImmutableListMultimap
Returns the empty multimap.
of(K, V) - Static method in class com.google.common.collect.ImmutableListMultimap
Returns an immutable multimap containing a single entry.
of(K, V, K, V) - Static method in class com.google.common.collect.ImmutableListMultimap
Returns an immutable multimap containing the given entries, in order.
of(K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableListMultimap
Returns an immutable multimap containing the given entries, in order.
of(K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableListMultimap
Returns an immutable multimap 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.ImmutableListMultimap
Returns an immutable multimap containing the given entries, 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.ImmutableMultimap
Returns an empty multimap.
of(K, V) - Static method in class com.google.common.collect.ImmutableMultimap
Returns an immutable multimap containing a single entry.
of(K, V, K, V) - Static method in class com.google.common.collect.ImmutableMultimap
Returns an immutable multimap containing the given entries, in order.
of(K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableMultimap
Returns an immutable multimap containing the given entries, in order.
of(K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableMultimap
Returns an immutable multimap 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.ImmutableMultimap
Returns an immutable multimap 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 a single element.
of(E, E) - Static method in class com.google.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements, in order.
of(E, E, E) - Static method in class com.google.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements, in order.
of(E, E, E, E) - Static method in class com.google.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements, in order.
of(E, E, E, E, E) - Static method in class com.google.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements, in order.
of(E, E, E, E, E, E, E...) - Static method in class com.google.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements, in order.
of(E[]) - Static method in class com.google.common.collect.ImmutableMultiset
Deprecated. use ImmutableMultiset.copyOf(Object[]). This method is scheduled for deletion in January 2012.
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, E) - Static method in class com.google.common.collect.ImmutableSet
Returns an immutable set containing the given elements, in order.
of(E, E, E) - Static method in class com.google.common.collect.ImmutableSet
Returns an immutable set containing the given elements, in order.
of(E, E, E, E) - Static method in class com.google.common.collect.ImmutableSet
Returns an immutable set containing the given elements, in order.
of(E, E, E, E, E) - Static method in class com.google.common.collect.ImmutableSet
Returns an immutable set containing the given elements, in order.
of(E, E, E, E, E, E, E...) - Static method in class com.google.common.collect.ImmutableSet
Returns an immutable set containing the given elements, in order.
of(E[]) - Static method in class com.google.common.collect.ImmutableSet
Deprecated. use ImmutableSet.copyOf(Object[]). This method is scheduled for deletion in October 2011.
of() - Static method in class com.google.common.collect.ImmutableSetMultimap
Returns the empty multimap.
of(K, V) - Static method in class com.google.common.collect.ImmutableSetMultimap
Returns an immutable multimap containing a single entry.
of(K, V, K, V) - Static method in class com.google.common.collect.ImmutableSetMultimap
Returns an immutable multimap containing the given entries, in order.
of(K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableSetMultimap
Returns an immutable multimap containing the given entries, in order.
of(K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableSetMultimap
Returns an immutable multimap 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.ImmutableSetMultimap
Returns an immutable multimap containing the given entries, in order.
of() - Static method in class com.google.common.collect.ImmutableSortedMap
Returns the empty sorted map.
of(K, V) - Static method in class com.google.common.collect.ImmutableSortedMap
Returns an immutable map containing a single entry.
of(K, V, K, V) - Static method in class com.google.common.collect.ImmutableSortedMap
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
of(K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableSortedMap
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
of(K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableSortedMap
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableSortedMap
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
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, E) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
of(E, E, E) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
of(E, E, E, E) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
of(E, E, E, E, E) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
of(E, E, E, E, E, E, E...) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
of(E[]) - Static method in class com.google.common.collect.ImmutableSortedSet
Deprecated. use ImmutableSortedSet.copyOf(Comparable[]). This method is scheduled for deletion in October 2011.
offer(E) - Method in class com.google.common.collect.ForwardingQueue
 
offer(E) - Method in class com.google.common.collect.MinMaxPriorityQueue
Adds the given element to this queue.
offer(E, long, TimeUnit) - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
 
ofInstance(T) - Static method in class com.google.common.base.Suppliers
Returns a supplier that always supplies instance.
omitEmptyStrings() - Method in class com.google.common.base.Splitter
Returns a splitter that behaves equivalently to this splitter, but automatically omits empty strings from the results.
on(String) - Static method in class com.google.common.base.Joiner
Returns a joiner which automatically places separator between consecutive elements.
on(char) - Static method in class com.google.common.base.Joiner
Returns a joiner which automatically places separator between consecutive elements.
on(char) - Static method in class com.google.common.base.Splitter
Returns a splitter that uses the given single-character separator.
on(CharMatcher) - Static method in class com.google.common.base.Splitter
Returns a splitter that considers any single character matched by the given CharMatcher to be a separator.
on(String) - Static method in class com.google.common.base.Splitter
Returns a splitter that uses the given fixed string as a separator.
on(Pattern) - Static method in class com.google.common.base.Splitter
Returns a splitter that considers any subsequence matching pattern to be a separator.
onEviction(K, V) - Method in interface com.google.common.collect.MapEvictionListener
Deprecated. Notifies the listener that an eviction has occurred.
onFailure(Throwable) - Method in interface com.google.common.util.concurrent.FutureCallback
Invoked when a Future computation fails or is canceled.
onPattern(String) - Static method in class com.google.common.base.Splitter
Returns a splitter that considers any subsequence matching a given pattern (regular expression) to be a separator.
onRemoval(RemovalNotification<K, V>) - Method in interface com.google.common.cache.RemovalListener
Notifies the listener that a removal occurred at some point in the past.
onResultOf(Function<F, ? extends T>) - Method in class com.google.common.base.Equivalence
Returns a new equivalence relation for F which evaluates equivalence by first applying function to the argument, then evaluating using this.
onResultOf(Function<F, ? extends T>) - Method in class com.google.common.collect.Ordering
Returns a new ordering on F which orders elements by first applying a function to them, then comparing those results using this.
onSuccess(V) - Method in interface com.google.common.util.concurrent.FutureCallback
Invoked with the result of the Future computation when it is successful.
open(C, C) - Static method in class com.google.common.collect.Ranges
Returns a range that contains all values strictly greater than lower and strictly less than upper.
openClosed(C, C) - Static method in class com.google.common.collect.Ranges
Returns a range that contains all values strictly greater than lower and less than or equal to upper.
Optional<T> - Class in com.google.common.base
An immutable object that may contain a non-null reference to another object.
or(CharMatcher) - Method in class com.google.common.base.CharMatcher
Returns a matcher that matches any character matched by either this matcher or other.
or(T) - Method in class com.google.common.base.Optional
Returns the contained instance if it is present; defaultValue otherwise.
or(Optional<? extends T>) - Method in class com.google.common.base.Optional
Returns this Optional if it has a value present; secondChoice otherwise.
or(Supplier<? extends T>) - Method in class com.google.common.base.Optional
Returns the contained instance if it is present; supplier.get() otherwise.
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<K>) - Static method in class com.google.common.collect.ImmutableSortedMap
Returns a builder that creates immutable sorted maps with an explicit comparator.
orderedBy(Comparator<E>) - Static method in class com.google.common.collect.ImmutableSortedSet
Returns a builder that creates immutable sorted sets with an explicit comparator.
orderedBy(Comparator<B>) - Static method in class com.google.common.collect.MinMaxPriorityQueue
Creates and returns a new builder, configured to build MinMaxPriorityQueue instances that use comparator to determine the least and greatest elements.
Ordering<T> - Class in com.google.common.collect
A comparator with added methods to support common functions.
Ordering() - Constructor for class com.google.common.collect.Ordering
Constructs a new instance of this class (only invokable by the subclass constructor, typically implicit).
orderKeysBy(Comparator<? super K>) - Method in class com.google.common.collect.ImmutableListMultimap.Builder
Specifies the ordering of the generated multimap's keys.
orderKeysBy(Comparator<? super K>) - Method in class com.google.common.collect.ImmutableMultimap.Builder
Specifies the ordering of the generated multimap's keys.
orderKeysBy(Comparator<? super K>) - Method in class com.google.common.collect.ImmutableSetMultimap.Builder
Specifies the ordering of the generated multimap's keys.
orderValuesBy(Comparator<? super V>) - Method in class com.google.common.collect.ImmutableListMultimap.Builder
Specifies the ordering of the generated multimap's values for each key.
orderValuesBy(Comparator<? super V>) - Method in class com.google.common.collect.ImmutableMultimap.Builder
Specifies the ordering of the generated multimap's values for each key.
orderValuesBy(Comparator<? super V>) - Method in class com.google.common.collect.ImmutableSetMultimap.Builder
Specifies the ordering of the generated multimap's values for each key.
orNull() - Method in class com.google.common.base.Optional
Returns the contained instance if it is present; null otherwise.
OutputSupplier<T> - Interface in com.google.common.io
A factory for writable streams of bytes or characters.

P

paddedPartition(Iterable<T>, int) - Static method in class com.google.common.collect.Iterables
Divides an iterable into unmodifiable sublists of the given size, padding the final iterable with null values if necessary.
paddedPartition(Iterator<T>, int) - Static method in class com.google.common.collect.Iterators
Divides an iterator into unmodifiable sublists of the given size, padding the final iterator with null values if necessary.
padEnd(String, int, char) - Static method in class com.google.common.base.Strings
Returns a string, of length at least minLength, consisting of string appended with as many copies of padChar as are necessary to reach that length.
padStart(String, int, char) - Static method in class com.google.common.base.Strings
Returns a string, of length at least minLength, consisting of string prepended with as many copies of padChar as are necessary to reach that length.
pairwise() - Method in class com.google.common.base.Equivalence
Returns an equivalence over iterables based on the equivalence of their elements.
pairwise(Equivalence<? super T>) - Static method in class com.google.common.base.Equivalences
Deprecated. use Equivalence.pairwise(), which behaves exactly the same. This method is scheduled for deletion from Guava in Guava release 11.0.
parent() - Method in class com.google.common.net.InternetDomainName
Returns an InternetDomainName that is the immediate ancestor of this one; that is, the current domain with the leftmost part removed.
parseUnsignedLong(String) - Static method in class com.google.common.primitives.UnsignedLongs
Returns the unsigned long value represented by the given decimal string.
parseUnsignedLong(String, int) - Static method in class com.google.common.primitives.UnsignedLongs
Returns the unsigned long value represented by a string with the given radix.
partition(Iterable<T>, int) - Static method in class com.google.common.collect.Iterables
Divides an iterable into unmodifiable sublists of the given size (the final iterable may be smaller).
partition(Iterator<T>, int) - Static method in class com.google.common.collect.Iterators
Divides an iterator into unmodifiable sublists of the given size (the final list may be smaller).
partition(List<T>, int) - Static method in class com.google.common.collect.Lists
Returns consecutive sublists of a list, each of the same size (the final list may be smaller).
parts() - Method in class com.google.common.net.InternetDomainName
Returns the individual components of this domain name, normalized to all lower case.
PatternFilenameFilter - Class in com.google.common.io
File name filter that only accepts files matching a regular expression.
PatternFilenameFilter(String) - Constructor for class com.google.common.io.PatternFilenameFilter
Constructs a pattern file name filter object.
PatternFilenameFilter(Pattern) - Constructor for class com.google.common.io.PatternFilenameFilter
Constructs a pattern file name filter object.
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 class com.google.common.collect.MinMaxPriorityQueue
 
peek() - Method in interface com.google.common.collect.PeekingIterator
Returns the next element in the iteration, without advancing the iteration.
peekFirst() - Method in class com.google.common.collect.MinMaxPriorityQueue
Retrieves, but does not remove, the least element of this queue, or returns null if the queue is empty.
peekingIterator(Iterator<? extends T>) - Static method in class com.google.common.collect.Iterators
Returns a PeekingIterator backed by the given iterator.
peekingIterator(PeekingIterator<T>) - Static method in class com.google.common.collect.Iterators
Deprecated. no need to use this
PeekingIterator<E> - Interface in com.google.common.collect
An iterator that supports a one-element lookahead while iterating.
peekLast() - Method in class com.google.common.collect.MinMaxPriorityQueue
Retrieves, but does not remove, the greatest element of this queue, or returns null if the queue is empty.
poll() - Method in class com.google.common.collect.ForwardingQueue
 
poll() - Method in class com.google.common.collect.MinMaxPriorityQueue
 
poll(long, TimeUnit) - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
 
pollFirst() - Method in class com.google.common.collect.MinMaxPriorityQueue
Removes and returns the least element of this queue, or returns null if the queue is empty.
pollLast() - Method in class com.google.common.collect.MinMaxPriorityQueue
Removes and returns the greatest element of this queue, or returns null if the queue is empty.
post(Object) - Method in class com.google.common.eventbus.EventBus
Posts an event to all registered handlers.
powerSet(Set<E>) - Static method in class com.google.common.collect.Sets
Returns the set of all possible subsets of set.
precomputed() - Method in class com.google.common.base.CharMatcher
Returns a char matcher functionally equivalent to this one, but which may be faster to query than the original; your mileage may vary.
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
Static utility methods pertaining to Predicate instances.
previous(C) - Method in class com.google.common.collect.DiscreteDomain
Returns the unique greatest value of type C that is less than value, or null if none exists.
previous() - Method in class com.google.common.collect.ForwardingListIterator
 
previousIndex() - Method in class com.google.common.collect.ForwardingListIterator
 
Primitives - Class in com.google.common.primitives
Contains static utility methods pertaining to primitive types and their corresponding wrapper types.
processBytes(byte[], int, int) - Method in interface com.google.common.io.ByteProcessor
This method will be called for each chunk of bytes in an input stream.
processLine(String) - Method in interface com.google.common.io.LineProcessor
This method will be called once for each line.
propagate(Throwable) - Static method in class com.google.common.base.Throwables
Propagates throwable as-is if it is an instance of RuntimeException or Error, or else as a last resort, wraps it in a RuntimeException then propagates.
propagateIfInstanceOf(Throwable, Class<X>) - Static method in class com.google.common.base.Throwables
Propagates throwable exactly as-is, if and only if it is an instance of declaredType.
propagateIfPossible(Throwable) - Static method in class com.google.common.base.Throwables
Propagates throwable exactly as-is, if and only if it is an instance of RuntimeException or Error.
propagateIfPossible(Throwable, Class<X>) - Static method in class com.google.common.base.Throwables
Propagates throwable exactly as-is, if and only if it is an instance of RuntimeException, Error, or declaredType.
propagateIfPossible(Throwable, Class<X1>, Class<X2>) - Static method in class com.google.common.base.Throwables
Propagates throwable exactly as-is, if and only if it is an instance of RuntimeException, Error, declaredType1, or declaredType2.
publicSuffix() - Method in class com.google.common.net.InternetDomainName
Returns the public suffix portion of the domain name, or null if no public suffix is present.
put(R, C, V) - Method in class com.google.common.collect.ArrayTable
Associates the specified value with the specified keys.
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(R, C, V) - Method in class com.google.common.collect.ForwardingTable
 
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(Class<T>, T) - Method in class com.google.common.collect.ImmutableClassToInstanceMap.Builder
Associates key with value in the built map.
put(K, V) - Method in class com.google.common.collect.ImmutableListMultimap.Builder
 
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 class com.google.common.collect.ImmutableSetMultimap.Builder
Adds a key-value mapping to the built multimap if it is not already present.
put(K, V) - Method in class com.google.common.collect.ImmutableSortedMap.Builder
Associates key with value in the built map.
put(K, V) - Method in class com.google.common.collect.LinkedListMultimap
Stores a key-value pair in the multimap.
put(K, V) - Method in interface com.google.common.collect.Multimap
Stores a key-value pair in the multimap.
put(R, C, V) - Method in interface com.google.common.collect.Table
Associates the specified value with the specified keys.
put(E) - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
 
putAll(Table<? extends R, ? extends C, ? extends V>) - Method in class com.google.common.collect.ArrayTable
Copies all mappings from the specified table to this table.
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(Table<? extends R, ? extends C, ? extends V>) - Method in class com.google.common.collect.ForwardingTable
 
putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableBiMap.Builder
Associates all of the given map's keys and values in the built bimap.
putAll(Map<? extends Class<? extends T>, ? extends T>) - Method in class com.google.common.collect.ImmutableClassToInstanceMap.Builder
Associates all of map's keys and values in the built map.
putAll(K, Iterable<? extends V>) - Method in class com.google.common.collect.ImmutableListMultimap.Builder
 
putAll(K, V...) - Method in class com.google.common.collect.ImmutableListMultimap.Builder
 
putAll(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableListMultimap.Builder
 
putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableMap.Builder
Associates all of the given 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(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableMultimap.Builder
Stores another multimap's entries 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 class com.google.common.collect.ImmutableSetMultimap.Builder
 
putAll(K, V...) - Method in class com.google.common.collect.ImmutableSetMultimap.Builder
 
putAll(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableSetMultimap.Builder
 
putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableSortedMap.Builder
Associates all of the given map's keys and values in the built map.
putAll(K, Iterable<? extends V>) - Method in class com.google.common.collect.LinkedListMultimap
 
putAll(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.LinkedListMultimap
 
putAll(K, Iterable<? extends V>) - Method in interface com.google.common.collect.Multimap
Stores a collection of values with the same key.
putAll(Multimap<? extends K, ? extends V>) - Method in interface com.google.common.collect.Multimap
Copies all of another multimap's key-value pairs into this multimap.
putAll(Table<? extends R, ? extends C, ? extends V>) - Method in interface com.google.common.collect.Table
Copies all mappings from the specified table to this table.
putIfAbsent(K, V) - Method in class com.google.common.collect.ForwardingConcurrentMap
 
putInstance(Class<T>, T) - Method in interface com.google.common.collect.ClassToInstanceMap
Maps the specified class to the specified value.
putInstance(Class<T>, T) - Method in class com.google.common.collect.ImmutableClassToInstanceMap
Guaranteed to throw an exception and leave the map unmodified.
putInstance(Class<T>, T) - Method in class com.google.common.collect.MutableClassToInstanceMap
 
putUninterruptibly(BlockingQueue<E>, E) - Static method in class com.google.common.util.concurrent.Uninterruptibles
Invokes queue.put(element) uninterruptibly.

R

range() - Method in class com.google.common.collect.ContiguousSet
Returns a range, closed on both ends, whose endpoints are the minimum and maximum values contained in this set.
range(BoundType, BoundType) - Method in class com.google.common.collect.ContiguousSet
Returns the minimal range with the given boundary types for which all values in this set are contained within the range.
Range<C extends Comparable> - Class in com.google.common.collect
A range, sometimes known as an interval, is a convex (informally, "contiguous" or "unbroken") portion of a particular domain.
range(C, BoundType, C, BoundType) - Static method in class com.google.common.collect.Ranges
Returns a range that contains any value from lower to upper, where each endpoint may be either inclusive (closed) or exclusive (open).
Ranges - Class in com.google.common.collect
Static methods pertaining to Range instances.
read() - Method in class com.google.common.base.Ticker
Returns the number of nanoseconds elapsed since this ticker's fixed point of reference.
read(InputStream, byte[], int, int) - Static method in class com.google.common.io.ByteStreams
Reads some bytes from an input stream and stores them into the buffer array b.
read() - Method in class com.google.common.io.CountingInputStream
 
read(byte[], int, int) - Method in class com.google.common.io.CountingInputStream
 
read() - Method in class com.google.common.io.LimitInputStream
 
read(byte[], int, int) - Method in class com.google.common.io.LimitInputStream
 
readBoolean() - Method in interface com.google.common.io.ByteArrayDataInput
 
readBoolean() - Method in class com.google.common.io.LittleEndianDataInputStream
 
readByte() - Method in interface com.google.common.io.ByteArrayDataInput
 
readByte() - Method in class com.google.common.io.LittleEndianDataInputStream
 
readBytes(InputSupplier<? extends InputStream>, ByteProcessor<T>) - Static method in class com.google.common.io.ByteStreams
Process the bytes of a supplied stream
readBytes(File, ByteProcessor<T>) - Static method in class com.google.common.io.Files
Process the bytes of a file.
readChar() - Method in interface com.google.common.io.ByteArrayDataInput
 
readChar() - Method in class com.google.common.io.LittleEndianDataInputStream
Reads a char as specified by DataInputStream.readChar(), except using little-endian byte order.
readDouble() - Method in interface com.google.common.io.ByteArrayDataInput
 
readDouble() - Method in class com.google.common.io.LittleEndianDataInputStream
Reads a double as specified by DataInputStream.readDouble(), except using little-endian byte order.
readFirstLine(InputSupplier<R>) - Static method in class com.google.common.io.CharStreams
Reads the first line from a Readable & Closeable object supplied by a factory.
readFirstLine(File, Charset) - Static method in class com.google.common.io.Files
Reads the first line from a file.
readFloat() - Method in interface com.google.common.io.ByteArrayDataInput
 
readFloat() - Method in class com.google.common.io.LittleEndianDataInputStream
Reads a float as specified by DataInputStream.readFloat(), except using little-endian byte order.
readFully(byte[]) - Method in interface com.google.common.io.ByteArrayDataInput
 
readFully(byte[], int, int) - Method in interface com.google.common.io.ByteArrayDataInput
 
readFully(InputStream, byte[]) - Static method in class com.google.common.io.ByteStreams
Attempts to read enough bytes from the stream to fill the given byte array, with the same behavior as DataInput.readFully(byte[]).
readFully(InputStream, byte[], int, int) - Static method in class com.google.common.io.ByteStreams
Attempts to read len bytes from the stream into the given array starting at off, with the same behavior as DataInput.readFully(byte[], int, int).
readFully(byte[]) - Method in class com.google.common.io.LittleEndianDataInputStream
 
readFully(byte[], int, int) - Method in class com.google.common.io.LittleEndianDataInputStream
 
readInt() - Method in interface com.google.common.io.ByteArrayDataInput
 
readInt() - Method in class com.google.common.io.LittleEndianDataInputStream
Reads an integer as specified by DataInputStream.readInt(), except using little-endian byte order.
readLine() - Method in interface com.google.common.io.ByteArrayDataInput
 
readLine() - Method in class com.google.common.io.LineReader
Reads a line of text.
readLine() - Method in class com.google.common.io.LittleEndianDataInputStream
This method will throw a UnsupportedOperationException.
readLines(InputSupplier<R>) - Static method in class com.google.common.io.CharStreams
Reads all of the lines from a Readable & Closeable object supplied by a factory.
readLines(Readable) - Static method in class com.google.common.io.CharStreams
Reads all of the lines from a Readable object.
readLines(InputSupplier<R>, LineProcessor<T>) - Static method in class com.google.common.io.CharStreams
Streams lines from a Readable and Closeable object supplied by a factory, stopping when our callback returns false, or we have read all of the lines.
readLines(File, Charset) - Static method in class com.google.common.io.Files
Reads all of the lines from a file.
readLines(File, Charset, LineProcessor<T>) - Static method in class com.google.common.io.Files
Streams lines from a File, stopping when our callback returns false, or we have read all of the lines.
readLines(URL, Charset, LineProcessor<T>) - Static method in class com.google.common.io.Resources
Streams lines from a URL, stopping when our callback returns false, or we have read all of the lines.
readLines(URL, Charset) - Static method in class com.google.common.io.Resources
Reads all of the lines from a URL.
readLong() - Method in interface com.google.common.io.ByteArrayDataInput
 
readLong() - Method in class com.google.common.io.LittleEndianDataInputStream
Reads a long as specified by DataInputStream.readLong(), except using little-endian byte order.
readShort() - Method in interface com.google.common.io.ByteArrayDataInput
 
readShort() - Method in class com.google.common.io.LittleEndianDataInputStream
Reads a short as specified by DataInputStream.readShort(), except using little-endian byte order.
readUnsignedByte() - Method in interface com.google.common.io.ByteArrayDataInput
 
readUnsignedByte() - Method in class com.google.common.io.LittleEndianDataInputStream
 
readUnsignedShort() - Method in interface com.google.common.io.ByteArrayDataInput
 
readUnsignedShort() - Method in class com.google.common.io.LittleEndianDataInputStream
Reads an unsigned short as specified by DataInputStream.readUnsignedShort(), except using little-endian byte order.
readUTF() - Method in interface com.google.common.io.ByteArrayDataInput
 
readUTF() - Method in class com.google.common.io.LittleEndianDataInputStream
 
recordConcurrentMiss() - Method in class com.google.common.cache.AbstractCache.SimpleStatsCounter
 
recordConcurrentMiss() - Method in interface com.google.common.cache.AbstractCache.StatsCounter
Records a single concurrent miss.
recordEviction() - Method in class com.google.common.cache.AbstractCache.SimpleStatsCounter
 
recordEviction() - Method in interface com.google.common.cache.AbstractCache.StatsCounter
Records the eviction of an entry from the cache.
recordHit() - Method in class com.google.common.cache.AbstractCache.SimpleStatsCounter
 
recordHit() - Method in interface com.google.common.cache.AbstractCache.StatsCounter
Records a single hit.
recordLoadException(long) - Method in class com.google.common.cache.AbstractCache.SimpleStatsCounter
 
recordLoadException(long) - Method in interface com.google.common.cache.AbstractCache.StatsCounter
Records the failed load of a new entry.
recordLoadSuccess(long) - Method in class com.google.common.cache.AbstractCache.SimpleStatsCounter
 
recordLoadSuccess(long) - Method in interface com.google.common.cache.AbstractCache.StatsCounter
Records the successful load of a new entry.
reevaluateGuards() - Method in class com.google.common.util.concurrent.Monitor
Forces all guards to be reevaluated so that threads waiting inside the monitor for guards whose conditions have become true outside of the monitor will be notified.
register(Object) - Method in class com.google.common.eventbus.EventBus
Registers all handler methods on object to receive events.
remainder(long, long) - Static method in class com.google.common.primitives.UnsignedLongs
Returns dividend % divisor, where the dividend and divisor are treated as unsigned 64-bit quantities.
remainingCapacity() - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
 
RemovalCause - Enum in com.google.common.cache
The reason why a cached entry was removed.
removalListener(RemovalListener<? super K1, ? super V1>) - Method in class com.google.common.cache.CacheBuilder
Specifies a listener instance, which all caches built using this CacheBuilder will notify each time an entry is removed from the cache by any means.
RemovalListener<K,V> - Interface in com.google.common.cache
An object that can receive a notification when an entry is removed from a cache.
RemovalListeners - Class in com.google.common.cache
A collection of common removal listeners.
RemovalNotification<K,V> - Class in com.google.common.cache
A notification of the removal of a single entry.
remove(Object, Object) - Method in class com.google.common.collect.ArrayTable
Deprecated. Use ArrayTable.erase(java.lang.Object, java.lang.Object)
remove(Object, int) - Method in class com.google.common.collect.ConcurrentHashMultiset
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, Object) - Method in class com.google.common.collect.ForwardingTable
 
remove(Object, Object) - Method in class com.google.common.collect.HashBasedTable
 
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.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 class com.google.common.collect.LinkedListMultimap
 
remove(Object, Object) - Method in interface com.google.common.collect.Multimap
Removes a key-value pair from the multimap.
remove(Object, int) - Method in interface com.google.common.collect.Multiset
Removes a number of occurrences of the specified element from this multiset.
remove(Object) - Method in interface com.google.common.collect.Multiset
Removes a single occurrence of the specified element from this multiset, if present.
remove() - Method in interface com.google.common.collect.PeekingIterator
remove(Object, Object) - Method in interface com.google.common.collect.Table
Removes the mapping, if any, associated with the given keys.
remove(Object, Object) - Method in class com.google.common.collect.TreeBasedTable
 
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.ForwardingCollection
 
removeAll(Object) - Method in class com.google.common.collect.ForwardingListMultimap
 
removeAll(Object) - Method in class com.google.common.collect.ForwardingMultimap
 
removeAll(Object) - Method in class com.google.common.collect.ForwardingSetMultimap
 
removeAll(Object) - Method in class com.google.common.collect.ForwardingSortedSetMultimap
 
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.ImmutableListMultimap
Guaranteed to throw an exception and leave the multimap unmodified.
removeAll(Object) - Method in class com.google.common.collect.ImmutableMultimap
Guaranteed to throw an exception and leave the multimap unmodified.
removeAll(Object) - Method in class com.google.common.collect.ImmutableSetMultimap
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 class com.google.common.collect.LinkedListMultimap
Removes all values associated with a given key.
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.
removeExactly(Object, int) - Method in class com.google.common.collect.ConcurrentHashMultiset
Removes exactly the specified number of occurrences of element, or makes no change if this is not possible.
removeFirst() - Method in class com.google.common.collect.MinMaxPriorityQueue
Removes and returns the least element of this queue.
removeFrom(CharSequence) - Method in class com.google.common.base.CharMatcher
Returns a string containing all non-matching characters of a character sequence, in order.
removeIf(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
Removes, from an iterable, every element that satisfies the provided predicate.
removeIf(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
Removes every element that satisfies the provided predicate from the iterator.
removeLast() - Method in class com.google.common.collect.MinMaxPriorityQueue
Removes and returns the greatest element of this queue.
removeOccurrences(Multiset<?>, Multiset<?>) - Static method in class com.google.common.collect.Multisets
For each occurrence of an element e in occurrencesToRemove, removes one occurrence of e in multisetToModify.
repeat(String, int) - Static method in class com.google.common.base.Strings
Returns a string consisting of a specific number of concatenated copies of an input string.
replace(K, V) - Method in class com.google.common.collect.ForwardingConcurrentMap
 
replace(K, V, V) - Method in class com.google.common.collect.ForwardingConcurrentMap
 
replaceFrom(CharSequence, char) - Method in class com.google.common.base.CharMatcher
Returns a string copy of the input character sequence, with each character that matches this matcher replaced by a given replacement character.
replaceFrom(CharSequence, CharSequence) - Method in class com.google.common.base.CharMatcher
Returns a string copy of the input character sequence, with each character that matches this matcher replaced by a given replacement sequence.
replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.ForwardingListMultimap
 
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.ForwardingSetMultimap
 
replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.ForwardingSortedSetMultimap
 
replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.ImmutableListMultimap
Guaranteed to throw an exception and leave the multimap unmodified.
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.ImmutableSetMultimap
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 class com.google.common.collect.LinkedListMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.ListMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.Multimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.SetMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.SortedSetMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
requestCount() - Method in class com.google.common.cache.CacheStats
Returns the number of times Cache lookup methods have returned either a cached or uncached value.
requireBracketsForIPv6() - Method in class com.google.common.net.HostAndPort
Generate an error if the host might be a non-bracketed IPv6 literal.
reset() - Method in class com.google.common.base.Stopwatch
Sets the elapsed time for this stopwatch to zero, and places it in a stopped state.
reset() - Method in class com.google.common.io.CountingInputStream
 
reset() - Method in class com.google.common.io.FileBackedOutputStream
Calls FileBackedOutputStream.close() if not already closed, and then resets this object back to its initial state, for reuse.
reset() - Method in class com.google.common.io.LimitInputStream
 
Resources - Class in com.google.common.io
Provides utility methods for working with resources in the classpath.
result() - Method in class com.google.common.collect.ComparisonChain
Ends this comparison chain and returns its result: a value having the same sign as the first nonzero comparison result in the chain, or zero if every result was zero.
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
retainFrom(CharSequence) - Method in class com.google.common.base.CharMatcher
Returns a string containing all matching characters of a character sequence, in order.
retainOccurrences(Multiset<?>, Multiset<?>) - Static method in class com.google.common.collect.Multisets
Modifies multisetToModify so that its count for an element e is at most multisetToRetain.count(e).
returning(T) - Static method in class com.google.common.util.concurrent.Callables
Creates a Callable which immediately returns a preset value each time it is called.
reverse() - Method in class com.google.common.collect.ImmutableList
Returns a view of this immutable list in reverse order.
reverse(List<T>) - Static method in class com.google.common.collect.Iterables
Deprecated. use Lists.reverse(List) or ImmutableList.reverse(). This method is scheduled for deletion in July 2012.
reverse(List<T>) - Static method in class com.google.common.collect.Lists
Returns a reversed view of the specified list.
reverse() - Method in class com.google.common.collect.Ordering
Returns the reverse of this ordering; the Ordering equivalent to Collections.reverseOrder(Comparator).
reverseOrder() - Static method in class com.google.common.collect.ImmutableSortedMap
Returns a builder that creates immutable sorted maps whose keys are ordered by the reverse of their natural ordering.
reverseOrder() - Static method in class com.google.common.collect.ImmutableSortedSet
Returns a builder that creates immutable sorted sets whose elements are ordered by the reverse of their natural ordering.
rightValue() - Method in interface com.google.common.collect.MapDifference.ValueDifference
Returns the value from the right map (possibly null).
row(R) - Method in class com.google.common.collect.ArrayTable
Returns a view of all mappings that have the given row key.
row(R) - Method in class com.google.common.collect.ForwardingTable
 
row(R) - Method in interface com.google.common.collect.Table
Returns a view of all mappings that have the given row key.
row(R) - Method in class com.google.common.collect.TreeBasedTable
Returns a view of all mappings that have the given row key.
rowComparator() - Method in class com.google.common.collect.TreeBasedTable
Returns the comparator that orders the rows.
rowKeyList() - Method in class com.google.common.collect.ArrayTable
Returns, as an immutable list, the row keys provided when the table was constructed, including those that are mapped to null values only.
rowKeySet() - Method in class com.google.common.collect.ArrayTable
Returns an immutable set of the valid row keys, including those that are associated with null values only.
rowKeySet() - Method in class com.google.common.collect.ForwardingTable
 
rowKeySet() - Method in interface com.google.common.collect.RowSortedTable
Returns a set of row keys that have one or more values in the table.
rowKeySet() - Method in interface com.google.common.collect.Table
Returns a set of row keys that have one or more values in the table.
rowKeySet() - Method in class com.google.common.collect.TreeBasedTable
 
rowMap() - Method in class com.google.common.collect.ArrayTable
 
rowMap() - Method in class com.google.common.collect.ForwardingTable
 
rowMap() - Method in interface com.google.common.collect.RowSortedTable
Returns a view that associates each row key with the corresponding map from column keys to values.
rowMap() - Method in interface com.google.common.collect.Table
Returns a view that associates each row key with the corresponding map from column keys to values.
rowMap() - Method in class com.google.common.collect.TreeBasedTable
 
RowSortedTable<R,C,V> - Interface in com.google.common.collect
Interface that extends Table and whose rows are sorted.
RS - Static variable in class com.google.common.base.Ascii
 
run() - Method in class com.google.common.base.internal.Finalizer
Deprecated. Loops continuously, pulling references off the queue and cleaning them up.
run() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
Run the service.
run() - Method in class com.google.common.util.concurrent.ExecutionList
Deprecated. Use ExecutionList.execute(). This method will be removed in Guava release 11.

S

sameThreadExecutor() - Static method in class com.google.common.util.concurrent.MoreExecutors
Creates an executor service that runs each task in the thread that invokes execute/submit, as in ThreadPoolExecutor.CallerRunsPolicy This applies both to individually submitted tasks and to collections of tasks submitted via invokeAll or invokeAny.
saturatedCast(long) - Static method in class com.google.common.primitives.Chars
Returns the char nearest in value to value.
saturatedCast(long) - Static method in class com.google.common.primitives.Ints
Returns the int nearest in value to value.
saturatedCast(long) - Static method in class com.google.common.primitives.Shorts
Returns the short nearest in value to value.
saturatedCast(long) - Static method in class com.google.common.primitives.SignedBytes
Returns the byte nearest in value to value.
saturatedCast(long) - Static method in class com.google.common.primitives.UnsignedBytes
Returns the byte value that, when treated as unsigned, is nearest in value to value.
Service - Interface in com.google.common.util.concurrent
An object with an operational state, plus asynchronous Service.start() and Service.stop() lifecycle methods to transfer into and out of this state.
Service.State - Enum in com.google.common.util.concurrent
The lifecycle states of a service.
set(int, int, V) - Method in class com.google.common.collect.ArrayTable
Associates value with the specified row and column indices.
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.
set(E) - Method in class com.google.common.collect.UnmodifiableListIterator
Guaranteed to throw an exception and leave the underlying data unmodified.
set(V) - Method in class com.google.common.util.concurrent.AbstractFuture
Subclasses should invoke this method to set the result of the computation to value.
set(V) - Method in class com.google.common.util.concurrent.SettableFuture
Sets the value of this future.
setCount(E, int) - Method in class com.google.common.collect.ConcurrentHashMultiset
Adds or removes occurrences of element such that the ConcurrentHashMultiset.count(java.lang.Object) of the element becomes count.
setCount(E, int, int) - Method in class com.google.common.collect.ConcurrentHashMultiset
Sets the number of occurrences of element to newCount, but only if the count is currently expectedOldCount.
setCount(E, int) - Method in class com.google.common.collect.ForwardingMultiset
 
setCount(E, int, int) - Method in class com.google.common.collect.ForwardingMultiset
 
setCount(E, int) - Method in class com.google.common.collect.ImmutableMultiset.Builder
Adds or removes the necessary occurrences of an element such that the element attains the desired count.
setCount(E, int) - Method in class com.google.common.collect.ImmutableMultiset
Guaranteed to throw an exception and leave the collection unmodified.
setCount(E, int, int) - Method in class com.google.common.collect.ImmutableMultiset
Guaranteed to throw an exception and leave the collection unmodified.
setCount(E, int) - Method in interface com.google.common.collect.Multiset
Adds or removes the necessary occurrences of an element such that the element attains the desired count.
setCount(E, int, int) - Method in interface com.google.common.collect.Multiset
Conditionally sets the count of an element to a new value, as described in Multiset.setCount(Object, int), provided that the element has the expected current count.
setDaemon(boolean) - Method in class com.google.common.util.concurrent.ThreadFactoryBuilder
Sets daemon or not for new threads created with this ThreadFactory.
setException(Throwable) - Method in class com.google.common.util.concurrent.AbstractFuture
Subclasses should invoke this method to set the result of the computation to an error, throwable.
setException(Throwable) - Method in class com.google.common.util.concurrent.SettableFuture
Sets the future to having failed with the given exception.
SetMultimap<K,V> - Interface in com.google.common.collect
A Multimap that cannot hold duplicate key-value pairs.
setNameFormat(String) - Method in class com.google.common.util.concurrent.ThreadFactoryBuilder
Sets the naming format to use when naming threads (Thread.setName(java.lang.String)) which are created with this ThreadFactory.
setPriority(int) - Method in class com.google.common.util.concurrent.ThreadFactoryBuilder
Sets the priority for new threads created with this ThreadFactory.
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.
SettableFuture<V> - Class in com.google.common.util.concurrent
A ListenableFuture whose result may be set by a SettableFuture.set(Object) or SettableFuture.setException(Throwable) call.
setThreadFactory(ThreadFactory) - Method in class com.google.common.util.concurrent.ThreadFactoryBuilder
Sets the backing ThreadFactory for new threads created with this ThreadFactory.
setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class com.google.common.util.concurrent.ThreadFactoryBuilder
Sets the Thread.UncaughtExceptionHandler for new threads created with this ThreadFactory.
setValue(V) - Method in class com.google.common.cache.RemovalNotification
 
setValue(V) - Method in class com.google.common.collect.ForwardingMapEntry
 
Shorts - Class in com.google.common.primitives
Static utility methods pertaining to short primitives, that are not already found in either Short or Arrays.
shutDown() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
Stop the service.
shutDown() - Method in class com.google.common.util.concurrent.AbstractIdleService
Stop the service.
shutdown() - Method in class com.google.common.util.concurrent.ForwardingExecutorService
 
shutdownNow() - Method in class com.google.common.util.concurrent.ForwardingExecutorService
 
SI - Static variable in class com.google.common.base.Ascii
Shift In: A control character indicating that the code combinations which follow shall be interpreted according to the standard code table.
SignedBytes - Class in com.google.common.primitives
Static utility methods pertaining to byte primitives that interpret values as signed.
SimpleTimeLimiter - Class in com.google.common.util.concurrent
A TimeLimiter that runs method calls in the background using an ExecutorService.
SimpleTimeLimiter(ExecutorService) - Constructor for class com.google.common.util.concurrent.SimpleTimeLimiter
Constructs a TimeLimiter instance using the given executor service to execute proxied method calls.
SimpleTimeLimiter() - Constructor for class com.google.common.util.concurrent.SimpleTimeLimiter
Constructs a TimeLimiter instance using a Executors.newCachedThreadPool() to execute proxied method calls.
SINGLE_WIDTH - Static variable in class com.google.common.base.CharMatcher
Determines whether a character is single-width (not double-width).
singleton(C) - Static method in class com.google.common.collect.Ranges
Returns a range that contains only the given value.
singletonIterator(T) - Static method in class com.google.common.collect.Iterators
Returns an iterator containing only value.
size() - Method in class com.google.common.cache.AbstractCache
 
size() - Method in interface com.google.common.cache.Cache
Returns the approximate number of entries in this cache.
size() - Method in class com.google.common.cache.ForwardingCache
 
size() - Method in class com.google.common.collect.ArrayTable
 
size() - Method in class com.google.common.collect.ConcurrentHashMultiset
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.ForwardingTable
 
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.ImmutableSortedMap
 
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 class com.google.common.collect.LinkedListMultimap
 
size() - Method in class com.google.common.collect.MinMaxPriorityQueue
 
size() - Method in interface com.google.common.collect.Multimap
Returns the number of key-value pairs in the multimap.
size() - Method in interface com.google.common.collect.Table
Returns the number of row key / column key / value mappings in the table.
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.
skip(long) - Method in class com.google.common.io.CountingInputStream
 
skip(long) - Method in class com.google.common.io.LimitInputStream
 
skipBytes(int) - Method in interface com.google.common.io.ByteArrayDataInput
 
skipBytes(int) - Method in class com.google.common.io.LittleEndianDataInputStream
 
skipFully(InputStream, long) - Static method in class com.google.common.io.ByteStreams
Discards n bytes of data from the input stream.
skipFully(Reader, long) - Static method in class com.google.common.io.CharStreams
Discards n characters of data from the reader.
skipNulls() - Method in class com.google.common.base.Joiner
Returns a joiner with the same behavior as this joiner, except automatically skipping over any provided null elements.
sleepUninterruptibly(long, TimeUnit) - Static method in class com.google.common.util.concurrent.Uninterruptibles
Invokes unit.sleep(sleepFor) uninterruptibly.
slice(InputSupplier<? extends InputStream>, long, long) - Static method in class com.google.common.io.ByteStreams
Returns an InputSupplier that returns input streams from the an underlying supplier, where each stream starts at the given offset and is limited to the specified number of bytes.
snapshot() - Method in class com.google.common.cache.AbstractCache.SimpleStatsCounter
 
snapshot() - Method in interface com.google.common.cache.AbstractCache.StatsCounter
Returns a snapshot of this counter's values.
SO - Static variable in class com.google.common.base.Ascii
Shift Out: A control character indicating that the code combinations which follow shall be interpreted as outside of the character set of the standard code table until a Shift In character is reached.
softKeys() - Method in class com.google.common.collect.GenericMapMaker
Deprecated. 
softKeys() - Method in class com.google.common.collect.MapMaker
Deprecated. use MapMaker.softValues() to create a memory-sensitive map, or MapMaker.weakKeys() to create a map that doesn't hold strong references to the keys. This method is scheduled for deletion in January 2013.
softValues() - Method in class com.google.common.cache.CacheBuilder
Specifies that each value (not key) stored in the cache should be wrapped in a SoftReference (by default, strong references are used).
softValues() - Method in class com.google.common.collect.GenericMapMaker
See MapMaker.softValues().
softValues() - Method in class com.google.common.collect.MapMaker
Specifies that each value (not key) stored in the map should be wrapped in a SoftReference (by default, strong references are used).
SOH - Static variable in class com.google.common.base.Ascii
Start of Heading: A communication control character used at the beginning of a sequence of characters which constitute a machine-sensible address or routing information.
sortedCopy(Iterable<E>) - Method in class com.google.common.collect.Ordering
Returns a copy of the given iterable sorted by this ordering.
SortedMapDifference<K,V> - Interface in com.google.common.collect
An object representing the differences between two sorted maps.
SortedMaps - Class in com.google.common.collect
Static utility methods pertaining to SortedMap instances.
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.
SP - Static variable in class com.google.common.base.Ascii
Space: A normally non-printing graphic character used to separate words.
SPACE - Static variable in class com.google.common.base.Ascii
Alternate name for Ascii.SP.
span(Range<C>) - Method in class com.google.common.collect.Range
Returns the minimal range that encloses both this range and other.
split(CharSequence) - Method in class com.google.common.base.Splitter.MapSplitter
Splits sequence into substrings, splits each substring into an entry, and returns an unmodifiable map with each of the entries.
split(CharSequence) - Method in class com.google.common.base.Splitter
Splits sequence into string components and makes them available through an Iterator, which may be lazily evaluated.
Splitter - Class in com.google.common.base
An object that divides strings (or other instances of CharSequence) into substrings, by recognizing a separator (a.k.a.
Splitter.MapSplitter - Class in com.google.common.base
An object that splits strings into maps as Splitter splits iterables and lists.
standardAdd(E) - Method in class com.google.common.collect.ForwardingList
A sensible default implementation of ForwardingCollection.add(Object), in terms of ForwardingList.add(int, Object).
standardAdd(E) - Method in class com.google.common.collect.ForwardingMultiset
A sensible definition of ForwardingCollection.add(Object) in terms of ForwardingMultiset.add(Object, int).
standardAddAll(Collection<? extends E>) - Method in class com.google.common.collect.ForwardingCollection
A sensible definition of ForwardingCollection.addAll(java.util.Collection) in terms of ForwardingCollection.add(E).
standardAddAll(int, Iterable<? extends E>) - Method in class com.google.common.collect.ForwardingList
A sensible default implementation of ForwardingList.addAll(int, Collection), in terms of the add method of ForwardingList.listIterator(int).
standardAddAll(Collection<? extends E>) - Method in class com.google.common.collect.ForwardingMultiset
A sensible definition of ForwardingCollection.addAll(Collection) in terms of ForwardingCollection.add(Object) and ForwardingMultiset.add(Object, int).
standardClear() - Method in class com.google.common.collect.ForwardingCollection
A sensible definition of ForwardingCollection.clear() in terms of ForwardingCollection.iterator(), using the iterator's remove method.
standardClear() - Method in class com.google.common.collect.ForwardingMap
A sensible definition of ForwardingMap.clear() in terms of the iterator method of ForwardingMap.entrySet().
standardClear() - Method in class com.google.common.collect.ForwardingMultiset
A sensible definition of ForwardingCollection.clear() in terms of the iterator method of ForwardingMultiset.entrySet().
standardContains(Object) - Method in class com.google.common.collect.ForwardingCollection
A sensible definition of ForwardingCollection.contains(java.lang.Object) in terms of ForwardingCollection.iterator().
standardContains(Object) - Method in class com.google.common.collect.ForwardingMultiset
A sensible definition of ForwardingCollection.contains(java.lang.Object) in terms of ForwardingMultiset.count(java.lang.Object).
standardContains(Object) - Method in class com.google.common.collect.ForwardingSortedSet
A sensible definition of ForwardingCollection.contains(java.lang.Object) in terms of the first() method of ForwardingSortedSet.tailSet(E).
standardContainsAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
A sensible definition of ForwardingCollection.containsAll(java.util.Collection) in terms of ForwardingCollection.contains(java.lang.Object) .
standardContainsKey(Object) - Method in class com.google.common.collect.ForwardingMap
A sensible, albeit inefficient, definition of ForwardingMap.containsKey(java.lang.Object) in terms of the iterator method of ForwardingMap.entrySet().
standardContainsKey(Object) - Method in class com.google.common.collect.ForwardingSortedMap
A sensible definition of ForwardingMap.containsKey(java.lang.Object) in terms of the firstKey() method of ForwardingSortedMap.tailMap(K).
standardContainsValue(Object) - Method in class com.google.common.collect.ForwardingMap
A sensible definition of ForwardingMap.containsValue(java.lang.Object) in terms of the iterator method of ForwardingMap.entrySet().
standardCount(Object) - Method in class com.google.common.collect.ForwardingMultiset
A sensible, albeit inefficient, definition of ForwardingMultiset.count(java.lang.Object) in terms of ForwardingMultiset.entrySet().
standardElementSet() - Method in class com.google.common.collect.ForwardingMultiset
Deprecated. Use the StandardElementSet constructor instead. This method will be removed from Guava in Guava release 11.0.
standardEntrySet(Supplier<Iterator<Map.Entry<K, V>>>) - Method in class com.google.common.collect.ForwardingMap
Deprecated. Use StandardEntrySet instead. This method will be removed from Guava in Guava release 11.0.
standardEquals(Object) - Method in class com.google.common.collect.ForwardingList
A sensible definition of ForwardingList.equals(Object) in terms of ForwardingCollection.size() and ForwardingCollection.iterator().
standardEquals(Object) - Method in class com.google.common.collect.ForwardingMap
A sensible definition of ForwardingMap.equals(java.lang.Object) in terms of the equals method of ForwardingMap.entrySet().
standardEquals(Object) - Method in class com.google.common.collect.ForwardingMapEntry
A sensible definition of ForwardingMapEntry.equals(Object) in terms of ForwardingMapEntry.getKey() and ForwardingMapEntry.getValue().
standardEquals(Object) - Method in class com.google.common.collect.ForwardingMultiset
A sensible, albeit inefficient, definition of ForwardingCollection.size() in terms of entrySet().size() and ForwardingMultiset.count(java.lang.Object).
standardEquals(Object) - Method in class com.google.common.collect.ForwardingSet
A sensible definition of ForwardingSet.equals(java.lang.Object) in terms of ForwardingCollection.size() and ForwardingCollection.containsAll(java.util.Collection).
standardHashCode() - Method in class com.google.common.collect.ForwardingList
A sensible definition of ForwardingList.hashCode() in terms of ForwardingCollection.iterator().
standardHashCode() - Method in class com.google.common.collect.ForwardingMap
A sensible definition of ForwardingMap.hashCode() in terms of the iterator method of ForwardingMap.entrySet().
standardHashCode() - Method in class com.google.common.collect.ForwardingMapEntry
A sensible definition of ForwardingMapEntry.hashCode() in terms of ForwardingMapEntry.getKey() and ForwardingMapEntry.getValue().
standardHashCode() - Method in class com.google.common.collect.ForwardingMultiset
A sensible definition of ForwardingMultiset.hashCode() as entrySet().hashCode() .
standardHashCode() - Method in class com.google.common.collect.ForwardingSet
A sensible definition of ForwardingSet.hashCode() in terms of ForwardingCollection.iterator().
standardIndexOf(Object) - Method in class com.google.common.collect.ForwardingList
A sensible default implementation of ForwardingList.indexOf(java.lang.Object), in terms of ForwardingList.listIterator().
standardIsEmpty() - Method in class com.google.common.collect.ForwardingCollection
A sensible definition of ForwardingCollection.isEmpty() as !iterator().hasNext.
standardIsEmpty() - Method in class com.google.common.collect.ForwardingMap
A sensible definition of ForwardingMap.isEmpty() in terms of the iterator method of ForwardingMap.entrySet().
standardIterator() - Method in class com.google.common.collect.ForwardingList
A sensible default implementation of ForwardingCollection.iterator(), in terms of ForwardingList.listIterator().
standardIterator() - Method in class com.google.common.collect.ForwardingMultiset
A sensible definition of ForwardingCollection.iterator() in terms of ForwardingMultiset.entrySet() and ForwardingCollection.remove(Object).
standardKeySet() - Method in class com.google.common.collect.ForwardingMap
Deprecated. Use the StandardKeySet constructor instead. This method will be removed from Guava in Guava release 11.0.
standardLastIndexOf(Object) - Method in class com.google.common.collect.ForwardingList
A sensible default implementation of ForwardingList.lastIndexOf(java.lang.Object), in terms of ForwardingList.listIterator(int).
standardListIterator() - Method in class com.google.common.collect.ForwardingList
A sensible default implementation of ForwardingList.listIterator(), in terms of ForwardingList.listIterator(int).
standardListIterator(int) - Method in class com.google.common.collect.ForwardingList
A sensible default implementation of ForwardingList.listIterator(int), in terms of ForwardingCollection.size() and ForwardingList.get(int).
standardOffer(E) - Method in class com.google.common.collect.ForwardingQueue
A sensible definition of ForwardingQueue.offer(E) in terms of ForwardingCollection.add(E).
standardPeek() - Method in class com.google.common.collect.ForwardingQueue
A sensible definition of ForwardingQueue.peek() in terms of ForwardingQueue.element().
standardPoll() - Method in class com.google.common.collect.ForwardingQueue
A sensible definition of ForwardingQueue.poll() in terms of ForwardingQueue.remove().
standardPutAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.ForwardingMap
A sensible definition of ForwardingMap.putAll(Map) in terms of ForwardingMap.put(Object, Object).
standardRemove(Object) - Method in class com.google.common.collect.ForwardingCollection
A sensible definition of ForwardingCollection.remove(java.lang.Object) in terms of ForwardingCollection.iterator(), using the iterator's remove method.
standardRemove(Object) - Method in class com.google.common.collect.ForwardingMap
A sensible, albeit inefficient, definition of ForwardingMap.remove(java.lang.Object) in terms of the iterator method of ForwardingMap.entrySet().
standardRemove(Object) - Method in class com.google.common.collect.ForwardingMultiset
A sensible definition of ForwardingCollection.remove(Object) in terms of ForwardingMultiset.remove(Object, int).
standardRemove(Object) - Method in class com.google.common.collect.ForwardingSortedMap
A sensible definition of ForwardingMap.remove(java.lang.Object) in terms of the iterator() of the entrySet() of ForwardingSortedMap.tailMap(K).
standardRemove(Object) - Method in class com.google.common.collect.ForwardingSortedSet
A sensible definition of ForwardingCollection.remove(java.lang.Object) in terms of the iterator() method of ForwardingSortedSet.tailSet(E).
standardRemoveAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
A sensible definition of ForwardingCollection.removeAll(java.util.Collection) in terms of ForwardingCollection.iterator(), using the iterator's remove method.
standardRemoveAll(Collection<?>) - Method in class com.google.common.collect.ForwardingMultiset
A sensible definition of ForwardingCollection.removeAll(java.util.Collection) in terms of the removeAll method of ForwardingMultiset.elementSet().
standardRetainAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
A sensible definition of ForwardingCollection.retainAll(java.util.Collection) in terms of ForwardingCollection.iterator(), using the iterator's remove method.
standardRetainAll(Collection<?>) - Method in class com.google.common.collect.ForwardingMultiset
A sensible definition of ForwardingCollection.retainAll(java.util.Collection) in terms of the retainAll method of ForwardingMultiset.elementSet().
standardSetCount(E, int) - Method in class com.google.common.collect.ForwardingMultiset
A sensible definition of ForwardingMultiset.setCount(Object, int) in terms of ForwardingMultiset.count(Object), ForwardingMultiset.add(Object, int), and ForwardingMultiset.remove(Object, int).
standardSetCount(E, int, int) - Method in class com.google.common.collect.ForwardingMultiset
A sensible definition of ForwardingMultiset.setCount(Object, int, int) in terms of ForwardingMultiset.count(Object) and ForwardingMultiset.setCount(Object, int).
standardSize() - Method in class com.google.common.collect.ForwardingMultiset
A sensible, albeit inefficient, definition of ForwardingCollection.size() in terms of ForwardingMultiset.entrySet().
standardStartAndWait() - Method in class com.google.common.util.concurrent.ForwardingService
A sensible default implementation of ForwardingService.startAndWait(), in terms of ForwardingService.start().
standardStopAndWait() - Method in class com.google.common.util.concurrent.ForwardingService
A sensible default implementation of ForwardingService.stopAndWait(), in terms of ForwardingService.stop().
standardSubList(int, int) - Method in class com.google.common.collect.ForwardingList
A sensible default implementation of ForwardingList.subList(int, int).
standardSubMap(K, K) - Method in class com.google.common.collect.ForwardingSortedMap
A sensible default implementation of ForwardingSortedMap.subMap(Object, Object) in terms of ForwardingSortedMap.headMap(Object) and ForwardingSortedMap.tailMap(Object).
standardSubSet(E, E) - Method in class com.google.common.collect.ForwardingSortedSet
A sensible default implementation of ForwardingSortedSet.subSet(Object, Object) in terms of ForwardingSortedSet.headSet(Object) and ForwardingSortedSet.tailSet(Object).
standardToArray() - Method in class com.google.common.collect.ForwardingCollection
A sensible definition of ForwardingCollection.toArray() in terms of ForwardingCollection.toArray(Object[]).
standardToArray(T[]) - Method in class com.google.common.collect.ForwardingCollection
A sensible definition of ForwardingCollection.toArray(Object[]) in terms of ForwardingCollection.size() and ForwardingCollection.iterator().
standardToString() - Method in class com.google.common.collect.ForwardingCollection
A sensible definition of ForwardingObject.toString() in terms of ForwardingCollection.iterator().
standardToString() - Method in class com.google.common.collect.ForwardingMap
A sensible definition of ForwardingObject.toString() in terms of the iterator method of ForwardingMap.entrySet().
standardToString() - Method in class com.google.common.collect.ForwardingMapEntry
A sensible definition of ForwardingObject.toString() in terms of ForwardingMapEntry.getKey() and ForwardingMapEntry.getValue().
standardToString() - Method in class com.google.common.collect.ForwardingMultiset
A sensible definition of ForwardingObject.toString() as entrySet().toString() .
standardValues() - Method in class com.google.common.collect.ForwardingMap
Deprecated. Use the StandardValues constructor instead. This method will be removed from Guava in Guava release 11.0.
start() - Method in class com.google.common.base.Stopwatch
Starts the stopwatch.
start() - Static method in class com.google.common.collect.ComparisonChain
Begins a new chained comparison statement.
start() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
 
start() - Method in class com.google.common.util.concurrent.AbstractIdleService
 
start() - Method in class com.google.common.util.concurrent.AbstractService
 
start() - Method in class com.google.common.util.concurrent.ForwardingService
 
start() - Method in interface com.google.common.util.concurrent.Service
If the service state is Service.State.NEW, this initiates service startup and returns immediately.
startAndWait() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
 
startAndWait() - Method in class com.google.common.util.concurrent.AbstractIdleService
 
startAndWait() - Method in class com.google.common.util.concurrent.AbstractService
 
startAndWait() - Method in class com.google.common.util.concurrent.ForwardingService
 
startAndWait() - Method in interface com.google.common.util.concurrent.Service
Initiates service startup (if necessary), returning once the service has finished starting.
startFinalizer(Class<?>, Object) - Static method in class com.google.common.base.internal.Finalizer
Deprecated. Starts the Finalizer thread.
startUp() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
Start the service.
startUp() - Method in class com.google.common.util.concurrent.AbstractIdleService
Start the service.
state() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
 
state() - Method in class com.google.common.util.concurrent.AbstractIdleService
 
state() - Method in class com.google.common.util.concurrent.AbstractService
 
state() - Method in class com.google.common.util.concurrent.ForwardingService
 
state() - Method in interface com.google.common.util.concurrent.Service
Returns the lifecycle state of the service.
stats() - Method in class com.google.common.cache.AbstractCache
 
stats() - Method in interface com.google.common.cache.Cache
Returns a current snapshot of this cache's cumulative statistics.
stats() - Method in class com.google.common.cache.ForwardingCache
 
stop() - Method in class com.google.common.base.Stopwatch
Stops the stopwatch.
stop() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
 
stop() - Method in class com.google.common.util.concurrent.AbstractIdleService
 
stop() - Method in class com.google.common.util.concurrent.AbstractService
 
stop() - Method in class com.google.common.util.concurrent.ForwardingService
 
stop() - Method in interface com.google.common.util.concurrent.Service
If the service is starting or running, this initiates service shutdown and returns immediately.
stopAndWait() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
 
stopAndWait() - Method in class com.google.common.util.concurrent.AbstractIdleService
 
stopAndWait() - Method in class com.google.common.util.concurrent.AbstractService
 
stopAndWait() - Method in class com.google.common.util.concurrent.ForwardingService
 
stopAndWait() - Method in interface com.google.common.util.concurrent.Service
Initiates service shutdown (if necessary), returning once the service has finished stopping.
Stopwatch - Class in com.google.common.base
An object that measures elapsed time in nanoseconds.
Stopwatch() - Constructor for class com.google.common.base.Stopwatch
Creates (but does not start) a new stopwatch using System.nanoTime() as its time source.
Stopwatch(Ticker) - Constructor for class com.google.common.base.Stopwatch
Creates (but does not start) a new stopwatch, using the specified time source.
Strings - Class in com.google.common.base
Static utility methods pertaining to String or CharSequence instances.
STX - Static variable in class com.google.common.base.Ascii
Start of Text: A communication control character which precedes a sequence of characters that is to be treated as an entity and entirely transmitted through to the ultimate destination.
SUB - Static variable in class com.google.common.base.Ascii
Substitute: A character that may be substituted for a character which is determined to be invalid or in error.
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
 
subMap(K, K) - Method in class com.google.common.collect.ImmutableSortedMap
This method returns a ImmutableSortedMap, consisting of the entries whose keys ranges from fromKey, inclusive, to toKey, exclusive.
submit(Callable<T>) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
 
submit(Runnable) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
 
submit(Runnable, T) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
 
submit(Callable<T>) - Method in class com.google.common.util.concurrent.ForwardingListeningExecutorService
 
submit(Runnable) - Method in class com.google.common.util.concurrent.ForwardingListeningExecutorService
 
submit(Runnable, T) - Method in class com.google.common.util.concurrent.ForwardingListeningExecutorService
 
submit(Callable<T>) - Method in interface com.google.common.util.concurrent.ListeningExecutorService
 
submit(Runnable) - Method in interface com.google.common.util.concurrent.ListeningExecutorService
 
submit(Runnable, T) - Method in interface com.google.common.util.concurrent.ListeningExecutorService
 
Subscribe - Annotation Type in com.google.common.eventbus
Marks a method as an event handler, as used by AnnotatedHandlerFinder and EventBus.
subSet(C, C) - Method in class com.google.common.collect.ContiguousSet
 
subSet(E, E) - Method in class com.google.common.collect.ForwardingSortedSet
 
subSet(E, E) - Method in class com.google.common.collect.ImmutableSortedSet
successfulAsList(ListenableFuture<? extends V>...) - Static method in class com.google.common.util.concurrent.Futures
Creates a new ListenableFuture whose value is a list containing the values of all its successful input futures.
successfulAsList(Iterable<? extends ListenableFuture<? extends V>>) - Static method in class com.google.common.util.concurrent.Futures
Creates a new ListenableFuture whose value is a list containing the values of all its successful input futures.
Supplier<T> - Interface in com.google.common.base
A class that can supply objects of a single type.
supplierFunction() - Static method in class com.google.common.base.Suppliers
Returns a function that accepts a supplier and returns the result of invoking Supplier.get() on that supplier.
Suppliers - Class in com.google.common.base
Useful suppliers.
symmetricDifference(Set<? extends E>, Set<? extends E>) - Static method in class com.google.common.collect.Sets
Returns an unmodifiable view of the symmetric difference of two sets.
SYN - Static variable in class com.google.common.base.Ascii
Synchronous Idle: A communication control character used by a synchronous transmission system in the absence of any other character to provide a signal from which synchronism may be achieved or retained.
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.
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.
synchronizedSupplier(Supplier<T>) - Static method in class com.google.common.base.Suppliers
Returns a supplier whose get() method synchronizes on delegate before calling it, making it thread-safe.
systemExit() - Static method in class com.google.common.util.concurrent.UncaughtExceptionHandlers
Returns an exception handler that exits the system.
systemTicker() - Static method in class com.google.common.base.Ticker
A ticker that reads the current time using System.nanoTime().

T

Table<R,C,V> - Interface in com.google.common.collect
A collection that associates an ordered pair of keys, called a row key and a column key, with a single value.
Table.Cell<R,C,V> - Interface in com.google.common.collect
Row key / column key / value triplet corresponding to a mapping in a table.
Tables - Class in com.google.common.collect
Provides static methods that involve a Table.
tailMap(K) - Method in class com.google.common.collect.ForwardingSortedMap
 
tailMap(K) - Method in class com.google.common.collect.ImmutableSortedMap
This method returns a ImmutableSortedMap, consisting of the entries whose keys are greater than or equals to fromKey.
tailSet(C) - Method in class com.google.common.collect.ContiguousSet
 
tailSet(E) - Method in class com.google.common.collect.ForwardingSortedSet
 
tailSet(E) - Method in class com.google.common.collect.ImmutableSortedSet
take() - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
 
takeUninterruptibly(BlockingQueue<E>) - Static method in class com.google.common.util.concurrent.Uninterruptibles
Invokes queue.take() uninterruptibly.
ThreadFactoryBuilder - Class in com.google.common.util.concurrent
A ThreadFactory builder, providing any combination of these features: whether threads should be marked as daemon threads a naming format a thread priority an uncaught exception handler a backing thread factory If no backing thread factory is provided, a default backing thread factory is used as if by calling setThreadFactory(Executors.defaultThreadFactory()).
ThreadFactoryBuilder() - Constructor for class com.google.common.util.concurrent.ThreadFactoryBuilder
Creates a new ThreadFactory builder.
Throwables - Class in com.google.common.base
Static utility methods pertaining to instances of Throwable.
throwCause(Exception, boolean) - Static method in class com.google.common.base.Throwables
Deprecated. For throwCause(e, false), use propagateIfPossible(e.getCause(), Exception.class); throw e;. For throwCause(e, true), there is no exact equivalent. Callers are encouraged to consider whether the cause contains all useful stack trace context. (It usually does if it comes from within the thread, e.g., for an InvocationTargetException, and it usually does not otherwise, e.g., for an ExecutionException.) If the cause contains all useful context, consider throwing it directly if your method signature permits or wrapping it in an appropriate exception if not. If the cause does not contain all useful context, consider propagating the wrapper exception or rewrapping the cause in an appropriate exception. For the particular case of exceptions thrown by Future.get, consider Futures.get(java.util.concurrent.Future, Class). This method will be removed from Guava in Guava release 11.0.
Ticker - Class in com.google.common.base
A time source; returns a time value representing the number of nanoseconds elapsed since some fixed but arbitrary point in time.
Ticker() - Constructor for class com.google.common.base.Ticker
Constructor for use by subclasses.
ticker(Ticker) - Method in class com.google.common.cache.CacheBuilder
Specifies a nanosecond-precision time source for use in determining when entries should be expired.
TimeLimiter - Interface in com.google.common.util.concurrent
Produces proxies that impose a time limit on method calls to the proxied object.
to(CaseFormat, String) - Method in enum com.google.common.base.CaseFormat
Converts the specified String s from this format to the specified format.
toAddrString(InetAddress) - Static method in class com.google.common.net.InetAddresses
Returns the string representation of an InetAddress.
toArray(Class<V>) - Method in class com.google.common.collect.ArrayTable
Returns a two-dimensional array with the table contents.
toArray() - Method in class com.google.common.collect.ConcurrentHashMultiset
 
toArray(T[]) - Method in class com.google.common.collect.ConcurrentHashMultiset
 
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
 
toArray(Iterable<? extends T>, Class<T>) - Static method in class com.google.common.collect.Iterables
Copies an iterable's elements into an array.
toArray(Iterator<? extends T>, Class<T>) - Static method in class com.google.common.collect.Iterators
Copies an iterator's elements into an array.
toArray() - Method in class com.google.common.collect.MinMaxPriorityQueue
 
toArray(Collection<Boolean>) - Static method in class com.google.common.primitives.Booleans
Copies a collection of Boolean instances into a new array of primitive boolean values.
toArray(Collection<Byte>) - Static method in class com.google.common.primitives.Bytes
Copies a collection of Byte instances into a new array of primitive byte values.
toArray(Collection<Character>) - Static method in class com.google.common.primitives.Chars
Copies a collection of Character instances into a new array of primitive char values.
toArray(Collection<Double>) - Static method in class com.google.common.primitives.Doubles
Copies a collection of Double instances into a new array of primitive double values.
toArray(Collection<Float>) - Static method in class com.google.common.primitives.Floats
Copies a collection of Float instances into a new array of primitive float values.
toArray(Collection<Integer>) - Static method in class com.google.common.primitives.Ints
Copies a collection of Integer instances into a new array of primitive int values.
toArray(Collection<Long>) - Static method in class com.google.common.primitives.Longs
Copies a collection of Long instances into a new array of primitive long values.
toArray(Collection<Short>) - Static method in class com.google.common.primitives.Shorts
Copies a collection of Short instances into a new array of primitive short values.
toByteArray() - Method in interface com.google.common.io.ByteArrayDataOutput
Returns the contents that have been written to this instance, as a byte array.
toByteArray(InputStream) - Static method in class com.google.common.io.ByteStreams
Reads all bytes from an input stream into a byte array.
toByteArray(InputSupplier<? extends InputStream>) - Static method in class com.google.common.io.ByteStreams
Returns the data from a InputStream factory as a byte array.
toByteArray(File) - Static method in class com.google.common.io.Files
Reads all bytes from a file into a byte array.
toByteArray(URL) - Static method in class com.google.common.io.Resources
Reads all bytes from a URL into a byte array.
toByteArray(char) - Static method in class com.google.common.primitives.Chars
Returns a big-endian representation of value in a 2-element byte array; equivalent to ByteBuffer.allocate(2).putChar(value).array().
toByteArray(int) - Static method in class com.google.common.primitives.Ints
Returns a big-endian representation of value in a 4-element byte array; equivalent to ByteBuffer.allocate(4).putInt(value).array().
toByteArray(long) - Static method in class com.google.common.primitives.Longs
Returns a big-endian representation of value in an 8-element byte array; equivalent to ByteBuffer.allocate(8).putLong(value).array().
toByteArray(short) - Static method in class com.google.common.primitives.Shorts
Returns a big-endian representation of value in a 2-element byte array; equivalent to ByteBuffer.allocate(2).putShort(value).array().
toInt(byte) - Static method in class com.google.common.primitives.UnsignedBytes
Returns the value of the given byte as an integer, when treated as unsigned.
toLowerCase(String) - Static method in class com.google.common.base.Ascii
Returns a copy of the input string in which all uppercase ASCII characters have been converted to lowercase.
toLowerCase(char) - Static method in class com.google.common.base.Ascii
If the argument is an uppercase ASCII character returns the lowercase equivalent.
topPrivateDomain() - Method in class com.google.common.net.InternetDomainName
Returns the portion of this domain name that is one level beneath the public suffix.
toString() - Method in class com.google.common.base.Equivalence.Wrapper
Returns a string representation for this equivalence wrapper.
toString() - Method in class com.google.common.base.Objects.ToStringHelper
Returns a string in the format specified by Objects.toStringHelper(Object).
toString() - Method in class com.google.common.base.Optional
Returns a string representation for this instance.
toString() - Method in class com.google.common.base.Stopwatch
Returns a string representation of the current elapsed time; equivalent to toString(4) (four significant figures).
toString(int) - Method in class com.google.common.base.Stopwatch
Returns a string representation of the current elapsed time, choosing an appropriate unit and using the specified number of significant figures.
toString() - Method in class com.google.common.cache.CacheBuilder
Returns a string representation for this CacheBuilder instance.
toString() - Method in class com.google.common.cache.CacheStats
 
toString() - Method in class com.google.common.cache.RemovalNotification
Returns a string representation of the form {key}={value}.
toString() - Method in class com.google.common.collect.ArrayTable
Returns the string representation rowMap().toString().
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.ContiguousSet
Returns a short-hand representation of the contents such as "[1..100]".
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(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 class com.google.common.collect.LinkedListMultimap
Returns a string representation of the multimap, generated by calling toString on the map returned by Multimap.asMap().
toString() - Method in interface com.google.common.collect.MapConstraint
Returns a brief human readable description of this constraint, such as "Not null".
toString() - Method in class com.google.common.collect.MapMaker
Returns a string representation for this MapMaker instance.
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
toString() - Method in class com.google.common.collect.Range
Returns a string representation of this range, such as "[3..5)" (other examples are listed in the class documentation).
toString(Readable) - Static method in class com.google.common.io.CharStreams
Reads all characters from a Readable object into a String.
toString(InputSupplier<R>) - Static method in class com.google.common.io.CharStreams
Returns the characters from a Readable & Closeable object supplied by a factory as a String.
toString(File, Charset) - Static method in class com.google.common.io.Files
Reads all characters from a file into a String, using the given character set.
toString(URL, Charset) - Static method in class com.google.common.io.Resources
Reads all characters from a URL into a String, using the given character set.
toString() - Method in class com.google.common.net.HostAndPort
Rebuild the host:port string, including brackets if necessary.
toString() - Method in class com.google.common.net.HostSpecifier
Returns a string representation of the host specifier suitable for inclusion in a URI.
toString() - Method in class com.google.common.net.InternetDomainName
 
toString(long) - Static method in class com.google.common.primitives.UnsignedLongs
Returns a string representation of x, where x is treated as unsigned.
toString(long, int) - Static method in class com.google.common.primitives.UnsignedLongs
Returns a string representation of x for the given radix, where x is treated as unsigned.
toString() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
 
toString() - Method in class com.google.common.util.concurrent.AbstractIdleService
 
toString() - Method in class com.google.common.util.concurrent.AbstractService
 
toStringFunction() - Static method in class com.google.common.base.Functions
Returns a function that calls toString() on its argument.
toStringHelper(Object) - Static method in class com.google.common.base.Objects
Creates an instance of Objects.ToStringHelper.
toStringHelper(Class<?>) - Static method in class com.google.common.base.Objects
Creates an instance of Objects.ToStringHelper in the same manner as Objects.toStringHelper(Object), but using the name of clazz instead of using an instance's Object.getClass().
toStringHelper(String) - Static method in class com.google.common.base.Objects
Creates an instance of Objects.ToStringHelper in the same manner as Objects.toStringHelper(Object), but using className instead of using an instance's Object.getClass().
totalLoadTime() - Method in class com.google.common.cache.CacheStats
Returns the total number of nanoseconds the cache has spent loading new values.
touch(File) - Static method in class com.google.common.io.Files
Creates an empty file or updates the last updated timestamp on the same as the unix command of the same name.
toUpperCase(String) - Static method in class com.google.common.base.Ascii
Returns a copy of the input string in which all lowercase ASCII characters have been converted to uppercase.
toUpperCase(char) - Static method in class com.google.common.base.Ascii
If the argument is a lowercase ASCII character returns the uppercase equivalent.
toUriString(InetAddress) - Static method in class com.google.common.net.InetAddresses
Returns the string representation of an InetAddress suitable for inclusion in a URI.
transform(Collection<F>, Function<? super F, T>) - Static method in class com.google.common.collect.Collections2
Returns a collection that applies function to each element of fromCollection.
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.
transform(ListenableFuture<I>, Function<? super I, ? extends O>) - Static method in class com.google.common.util.concurrent.Futures
Returns a new ListenableFuture whose result is the product of applying the given Function to the result of the given Future.
transform(ListenableFuture<I>, Function<? super I, ? extends O>, Executor) - Static method in class com.google.common.util.concurrent.Futures
Returns a new ListenableFuture whose result is the product of applying the given Function to the result of the given Future.
transform(Future<I>, Function<? super I, ? extends O>) - Static method in class com.google.common.util.concurrent.Futures
Deprecated. Obtain a ListenableFuture (following the advice in its documentation) and use Futures.transform(ListenableFuture, Function) or use Futures.lazyTransform(Future, Function), which will apply the transformation on each call to get(). This method is scheduled for deletion from Guava in Guava release 11.0.
transformEntries(Map<K, V1>, Maps.EntryTransformer<? super K, ? super V1, V2>) - Static method in class com.google.common.collect.Maps
Returns a view of a map whose values are derived from the original map's entries.
transformEntries(Multimap<K, V1>, Maps.EntryTransformer<? super K, ? super V1, V2>) - Static method in class com.google.common.collect.Multimaps
Returns a view of a multimap whose values are derived from the original multimap's entries.
transformEntries(ListMultimap<K, V1>, Maps.EntryTransformer<? super K, ? super V1, V2>) - Static method in class com.google.common.collect.Multimaps
Returns a view of a ListMultimap whose values are derived from the original multimap's entries.
transformEntries(SortedMap<K, V1>, Maps.EntryTransformer<? super K, ? super V1, V2>) - Static method in class com.google.common.collect.SortedMaps
Returns a view of a sorted map whose values are derived from the original sorted map's entries.
transformEntry(K, V1) - Method in interface com.google.common.collect.Maps.EntryTransformer
Determines an output value based on a key-value pair.
transformValues(Map<K, V1>, Function<? super V1, V2>) - Static method in class com.google.common.collect.Maps
Returns a view of a map where each value is transformed by a function.
transformValues(Multimap<K, V1>, Function<? super V1, V2>) - Static method in class com.google.common.collect.Multimaps
Returns a view of a multimap where each value is transformed by a function.
transformValues(ListMultimap<K, V1>, Function<? super V1, V2>) - Static method in class com.google.common.collect.Multimaps
Returns a view of a ListMultimap where each value is transformed by a function.
transformValues(SortedMap<K, V1>, Function<? super V1, V2>) - Static method in class com.google.common.collect.SortedMaps
Returns a view of a sorted map where each value is transformed by a function.
transformValues(Table<R, C, V1>, Function<? super V1, V2>) - Static method in class com.google.common.collect.Tables
Returns a view of a table where each value is transformed by a function.
transpose(Table<R, C, V>) - Static method in class com.google.common.collect.Tables
Creates a transposed view of a given table that flips its row and column keys.
TreeBasedTable<R,C,V> - Class in com.google.common.collect
Implementation of Table whose row keys and column keys are ordered by their natural ordering or by supplied comparators.
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.
TreeMultiset<E> - Class in com.google.common.collect
A multiset which maintains the ordering of its elements, according to either their natural order or an explicit Comparator.
triggerShutdown() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
Invoked to request the service to stop.
trimAndCollapseFrom(CharSequence, char) - Method in class com.google.common.base.CharMatcher
Collapses groups of matching characters exactly as CharMatcher.collapseFrom(java.lang.CharSequence, char) does, except that groups of matching characters at the start or end of the sequence are removed without replacement.
trimFrom(CharSequence) - Method in class com.google.common.base.CharMatcher
Returns a substring of the input character sequence that omits all characters this matcher matches from the beginning and from the end of the string.
trimLeadingFrom(CharSequence) - Method in class com.google.common.base.CharMatcher
Returns a substring of the input character sequence that omits all characters this matcher matches from the beginning of the string.
trimResults() - Method in class com.google.common.base.Splitter
Returns a splitter that behaves equivalently to this splitter, but automatically removes leading and trailing whitespace from each returned substring; equivalent to trimResults(CharMatcher.WHITESPACE).
trimResults(CharMatcher) - Method in class com.google.common.base.Splitter
Returns a splitter that behaves equivalently to this splitter, but removes all leading or trailing characters matching the given CharMatcher from each returned substring.
trimToSize() - Method in class com.google.common.collect.ArrayListMultimap
Reduces the memory used by this ArrayListMultimap, if feasible.
trimTrailingFrom(CharSequence) - Method in class com.google.common.base.CharMatcher
Returns a substring of the input character sequence that omits all characters this matcher matches from the end of the string.
tryEnter() - Method in class com.google.common.util.concurrent.Monitor
Enters this monitor if it is possible to do so immediately.
tryEnterIf(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
Enters this monitor if it is possible to do so immediately and the guard is satisfied.

U

UncaughtExceptionHandlers - Class in com.google.common.util.concurrent
Factories for Thread.UncaughtExceptionHandler instances.
UncheckedExecutionException - Exception in com.google.common.util.concurrent
Unchecked variant of ExecutionException.
UncheckedExecutionException() - Constructor for exception com.google.common.util.concurrent.UncheckedExecutionException
Creates a new instance with null as its detail message.
UncheckedExecutionException(String) - Constructor for exception com.google.common.util.concurrent.UncheckedExecutionException
Creates a new instance with the given detail message.
UncheckedExecutionException(String, Throwable) - Constructor for exception com.google.common.util.concurrent.UncheckedExecutionException
Creates a new instance with the given detail message and cause.
UncheckedExecutionException(Throwable) - Constructor for exception com.google.common.util.concurrent.UncheckedExecutionException
Creates a new instance with the given cause.
UncheckedTimeoutException - Exception in com.google.common.util.concurrent
Unchecked version of TimeoutException.
UncheckedTimeoutException() - Constructor for exception com.google.common.util.concurrent.UncheckedTimeoutException
 
UncheckedTimeoutException(String) - Constructor for exception com.google.common.util.concurrent.UncheckedTimeoutException
 
UncheckedTimeoutException(Throwable) - Constructor for exception com.google.common.util.concurrent.UncheckedTimeoutException
 
UncheckedTimeoutException(String, Throwable) - Constructor for exception com.google.common.util.concurrent.UncheckedTimeoutException
 
UninterruptibleFuture<V> - Interface in com.google.common.util.concurrent
Deprecated. Use getUninterruptibly. Scheduled for deletion in Guava Release 11.
Uninterruptibles - Class in com.google.common.util.concurrent
Utilities for treating interruptible operations as uninterruptible.
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.
uniqueIndex(I, Function<? super V, K>) - Static method in class com.google.common.collect.Maps
Deprecated. use Maps.uniqueIndex(Iterator, Function) by casting values to Iterator<V>, or better yet, by implementing only Iterator and not Iterable. This method is scheduled for deletion in March 2012.
uniqueIndex(Iterator<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<? extends K, ? extends 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.
unmodifiableIterable(ImmutableCollection<E>) - Static method in class com.google.common.collect.Iterables
Deprecated. no need to use this
unmodifiableIterator(Iterator<T>) - Static method in class com.google.common.collect.Iterators
Returns an unmodifiable view of iterator.
unmodifiableIterator(UnmodifiableIterator<T>) - Static method in class com.google.common.collect.Iterators
Deprecated. no need to use this
UnmodifiableIterator<E> - Class in com.google.common.collect
An iterator that does not support UnmodifiableIterator.remove().
UnmodifiableIterator() - Constructor for class com.google.common.collect.UnmodifiableIterator
Constructor for use by subclasses.
UnmodifiableListIterator<E> - Class in com.google.common.collect
A list iterator that does not support UnmodifiableIterator.remove(), UnmodifiableListIterator.add(E), or UnmodifiableListIterator.set(E).
UnmodifiableListIterator() - Constructor for class com.google.common.collect.UnmodifiableListIterator
Constructor for use by subclasses.
unmodifiableListMultimap(ListMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns an unmodifiable view of the specified ListMultimap.
unmodifiableListMultimap(ImmutableListMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Deprecated. no need to use this
unmodifiableMultimap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns an unmodifiable view of the specified multimap.
unmodifiableMultimap(ImmutableMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Deprecated. no need to use this
unmodifiableMultiset(Multiset<? extends E>) - Static method in class com.google.common.collect.Multisets
Returns an unmodifiable view of the specified multiset.
unmodifiableMultiset(ImmutableMultiset<E>) - Static method in class com.google.common.collect.Multisets
Deprecated. no need to use this
unmodifiableSetMultimap(SetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns an unmodifiable view of the specified SetMultimap.
unmodifiableSetMultimap(ImmutableSetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Deprecated. no need to use this
unmodifiableSortedSetMultimap(SortedSetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
Returns an unmodifiable view of the specified SortedSetMultimap.
unregister(Object) - Method in class com.google.common.eventbus.EventBus
Unregisters all handler methods on a registered object.
UnsignedBytes - Class in com.google.common.primitives
Static utility methods pertaining to byte primitives that interpret values as unsigned (that is, any negative value b is treated as the positive value 256 + b).
UnsignedLongs - Class in com.google.common.primitives
Static utility methods pertaining to long primitives that interpret values as unsigned (that is, any negative value x is treated as the positive value 2^64 + x).
unwrap(Class<T>) - Static method in class com.google.common.primitives.Primitives
Returns the corresponding primitive type of type if it is a wrapper type; otherwise returns type itself.
upperBoundType() - Method in class com.google.common.collect.Range
Returns the type of this range's upper bound: BoundType.CLOSED if the range includes its upper endpoint, BoundType.OPEN if it does not.
upperEndpoint() - Method in class com.google.common.collect.Range
Returns the upper endpoint of this range.
upTo(C, BoundType) - Static method in class com.google.common.collect.Ranges
Returns a range with no lower bound up to the given endpoint, which may be either inclusive (closed) or exclusive (open).
US - Static variable in class com.google.common.base.Ascii
 
US_ASCII - Static variable in class com.google.common.base.Charsets
US-ASCII: seven-bit ASCII, a.k.a.
useForNull(String) - Method in class com.google.common.base.Joiner.MapJoiner
Returns a map joiner with the same behavior as this one, except automatically substituting nullText for any provided null keys or values.
useForNull(String) - Method in class com.google.common.base.Joiner
Returns a joiner with the same behavior as this one, except automatically substituting nullText for any provided null elements.
usingToString() - Static method in class com.google.common.collect.Ordering
Returns an ordering that compares objects by the natural ordering of their string representations as returned by toString().
UTF_16 - Static variable in class com.google.common.base.Charsets
UTF-16: sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order mark.
UTF_16BE - Static variable in class com.google.common.base.Charsets
UTF-16BE: sixteen-bit UCS Transformation Format, big-endian byte order.
UTF_16LE - Static variable in class com.google.common.base.Charsets
UTF-16LE: sixteen-bit UCS Transformation Format, little-endian byte order.
UTF_8 - Static variable in class com.google.common.base.Charsets
UTF-8: eight-bit UCS Transformation Format.

V

valueComparator() - Method in class com.google.common.collect.ForwardingSortedSetMultimap
 
valueComparator() - Method in interface com.google.common.collect.SortedSetMultimap
Returns the comparator that orders the multimap values, with 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.CaseFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.common.cache.RemovalCause
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.common.collect.BoundType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.common.util.concurrent.Service.State
Returns the enum constant of this type with the specified name.
valueOfFunction(Class<T>) - Static method in class com.google.common.base.Enums
Returns a Function that maps an Enum name to the associated Enum constant.
values() - Static method in enum com.google.common.base.CaseFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.common.cache.RemovalCause
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.google.common.collect.ArrayTable
Returns an unmodifiable collection of all values, which may contain duplicates.
values() - Method in interface com.google.common.collect.BiMap
values() - Static method in enum com.google.common.collect.BoundType
Returns an array containing the constants of this enum type, in the order they are declared.
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.ForwardingTable
 
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.ImmutableSortedMap
Returns an immutable collection of the values in this map, sorted by the ordering of the corresponding keys.
values() - Method in class com.google.common.collect.LinkedHashMultimap
Returns a collection of all values in the multimap.
values() - Method in class com.google.common.collect.LinkedListMultimap
Returns a collection of all values in the multimap.
values() - Method in interface com.google.common.collect.Multimap
Returns a collection of all values in the multimap.
values() - Method in interface com.google.common.collect.Table
Returns a collection of all values, which may contain duplicates.
values() - Static method in enum com.google.common.util.concurrent.Service.State
Returns an array containing the constants of this enum type, in the order they are declared.
valueType() - Method in class com.google.common.collect.EnumBiMap
Returns the associated value type.
VisibleForTesting - Annotation Type in com.google.common.annotations
An annotation that indicates that the visibility of a type or member has been relaxed to make the code testable.
VT - Static variable in class com.google.common.base.Ascii
Vertical Tabulation ('\v'): A format effector which controls the movement of the printing position to the next in a series of predetermined printing lines.

W

waitFor(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
Waits for the guard to be satisfied.
waitFor(Monitor.Guard, long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
Waits for the guard to be satisfied.
waitForUninterruptibly(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
Waits for the guard to be satisfied.
waitForUninterruptibly(Monitor.Guard, long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
Waits for the guard to be satisfied.
wasEvicted() - Method in class com.google.common.cache.RemovalNotification
Returns true if there was an automatic removal due to eviction (the cause is neither RemovalCause.EXPLICIT nor RemovalCause.REPLACED).
weakKeys() - Method in class com.google.common.cache.CacheBuilder
Specifies that each key (not value) stored in the cache should be wrapped in a WeakReference (by default, strong references are used).
weakKeys() - Method in class com.google.common.collect.GenericMapMaker
See MapMaker.weakKeys().
weakKeys() - Method in class com.google.common.collect.MapMaker
Specifies that each key (not value) stored in the map should be wrapped in a WeakReference (by default, strong references are used).
weakValues() - Method in class com.google.common.cache.CacheBuilder
Specifies that each value (not key) stored in the cache should be wrapped in a WeakReference (by default, strong references are used).
weakValues() - Method in class com.google.common.collect.GenericMapMaker
See MapMaker.weakValues().
weakValues() - Method in class com.google.common.collect.MapMaker
Specifies that each value (not key) stored in the map should be wrapped in a WeakReference (by default, strong references are used).
WHITESPACE - Static variable in class com.google.common.base.CharMatcher
Determines whether a character is whitespace according to the latest Unicode standard, as illustrated here.
withDefaultPort(int) - Method in class com.google.common.net.HostAndPort
Provide a default port if the parsed string contained only a host.
withKeyValueSeparator(String) - Method in class com.google.common.base.Joiner
Returns a MapJoiner using the given key-value separator, and the same configuration as this Joiner otherwise.
withKeyValueSeparator(String) - Method in class com.google.common.base.Splitter
Returns a MapSplitter which splits entries based on this splitter, and splits entries into keys and values using the specified separator.
withKeyValueSeparator(Splitter) - Method in class com.google.common.base.Splitter
Returns a MapSplitter which splits entries based on this splitter, and splits entries into keys and values using the specified key-value splitter.
wrap(S) - Method in class com.google.common.base.Equivalence
Returns a wrapper of reference that implements Object.equals() such that wrap(this, a).equals(wrap(this, b)) if and only if this.equivalent(a, b).
wrap(Class<T>) - Static method in class com.google.common.primitives.Primitives
Returns the corresponding wrapper type of type if it is a primitive type; otherwise returns type itself.
write(int) - Method in interface com.google.common.io.ByteArrayDataOutput
 
write(byte[]) - Method in interface com.google.common.io.ByteArrayDataOutput
 
write(byte[], int, int) - Method in interface com.google.common.io.ByteArrayDataOutput
 
write(byte[], OutputSupplier<? extends OutputStream>) - Static method in class com.google.common.io.ByteStreams
Writes a byte array to an output stream from the given supplier.
write(CharSequence, OutputSupplier<W>) - Static method in class com.google.common.io.CharStreams
Writes a character sequence (such as a string) to an appendable object from the given supplier.
write(byte[], int, int) - Method in class com.google.common.io.CountingOutputStream
 
write(int) - Method in class com.google.common.io.CountingOutputStream
 
write(int) - Method in class com.google.common.io.FileBackedOutputStream
 
write(byte[]) - Method in class com.google.common.io.FileBackedOutputStream
 
write(byte[], int, int) - Method in class com.google.common.io.FileBackedOutputStream
 
write(byte[], File) - Static method in class com.google.common.io.Files
Overwrites a file with the contents of a byte array.
write(CharSequence, File, Charset) - Static method in class com.google.common.io.Files
Writes a character sequence (such as a string) to a file using the given character set.
write(byte[], int, int) - Method in class com.google.common.io.LittleEndianDataOutputStream
 
write(int) - Method in class com.google.common.io.NullOutputStream
Discards the specified byte.
write(byte[], int, int) - Method in class com.google.common.io.NullOutputStream
Discards the specified byte array.
writeBoolean(boolean) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeBoolean(boolean) - Method in class com.google.common.io.LittleEndianDataOutputStream
 
writeByte(int) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeByte(int) - Method in class com.google.common.io.LittleEndianDataOutputStream
 
writeBytes(String) - Method in interface com.google.common.io.ByteArrayDataOutput
Deprecated. This method is dangerous as it discards the high byte of every character. For UTF-8, use write(s.getBytes(Charsets.UTF_8)).
writeBytes(String) - Method in class com.google.common.io.LittleEndianDataOutputStream
Deprecated. The semantics of writeBytes(String s) are considered dangerous. Please use LittleEndianDataOutputStream.writeUTF(String s), LittleEndianDataOutputStream.writeChars(String s) or another write method instead.
writeChar(int) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeChar(int) - Method in class com.google.common.io.LittleEndianDataOutputStream
Writes a char as specified by DataOutputStream.writeChar(int), except using little-endian byte order.
writeChars(String) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeChars(String) - Method in class com.google.common.io.LittleEndianDataOutputStream
Writes a String as specified by DataOutputStream.writeChars(String), except each character is written using little-endian byte order.
writeDouble(double) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeDouble(double) - Method in class com.google.common.io.LittleEndianDataOutputStream
Writes a double as specified by DataOutputStream.writeDouble(double), except using little-endian byte order.
writeFloat(float) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeFloat(float) - Method in class com.google.common.io.LittleEndianDataOutputStream
Writes a float as specified by DataOutputStream.writeFloat(float), except using little-endian byte order.
writeInt(int) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeInt(int) - Method in class com.google.common.io.LittleEndianDataOutputStream
Writes an int as specified by DataOutputStream.writeInt(int), except using little-endian byte order.
writeLong(long) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeLong(long) - Method in class com.google.common.io.LittleEndianDataOutputStream
Writes a long as specified by DataOutputStream.writeLong(long), except using little-endian byte order.
writeShort(int) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeShort(int) - Method in class com.google.common.io.LittleEndianDataOutputStream
Writes a short as specified by DataOutputStream.writeShort(int), except using little-endian byte order.
writeUTF(String) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeUTF(String) - Method in class com.google.common.io.LittleEndianDataOutputStream
 

X

XOFF - Static variable in class com.google.common.base.Ascii
Transmission off.
XON - Static variable in class com.google.common.base.Ascii
Transmission on/off: Although originally defined as DC1, this ASCII control character is now better known as the XON code used for software flow control in serial communications.

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

Copyright © 2010-2011. All Rights Reserved.