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

A

AbstractCheckedFuture<V,E 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 Future 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
 
AbstractListenableFuture<V> - Class in com.google.common.util.concurrent
An abstract base implementation of the listener support provided by ListenableFuture.
AbstractListenableFuture() - Constructor for class com.google.common.util.concurrent.AbstractListenableFuture
 
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
 
add(Runnable, Executor) - Method in class com.google.common.util.concurrent.ExecutionList
Add the runnable/executor pair to the list of pairs to execute.
addDelayedShutdownHook(ExecutorService, long, TimeUnit) - Static method in class com.google.common.util.concurrent.Executors
Add a shutdown hook to wait for thread completion in the given service.
addListener(Runnable, Executor) - Method in class com.google.common.util.concurrent.AbstractCheckedFuture
 
addListener(Runnable, Executor) - Method in class com.google.common.util.concurrent.AbstractListenableFuture
 
addListener(Runnable, Executor) - Method in interface com.google.common.util.concurrent.ListenableFuture
Adds a listener and executor to the ListenableFuture.
addListener(Runnable, Executor) - Method in class com.google.common.util.concurrent.ListenableFutureTask
 
and(CharMatcher) - Method in class com.google.common.base.CharMatcher
Returns a matcher that matches any character matched by both this matcher and other.
ANY - Static variable in class com.google.common.base.CharMatcher
Matches any character.
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.
apply(Character) - Method in class com.google.common.base.CharMatcher
Returns true if this matcher matches the given character.
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.
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[]).
asWriter(Appendable) - Static method in class com.google.common.io.CharStreams
Returns a Writer that sends all output to the given Appendable target.
available() - Method in class com.google.common.io.LimitInputStream
 

B

Booleans - Class in com.google.common.primitives
Static utility methods pertaining to boolean primitives, that are not already found in either Boolean or Arrays.
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.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

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.
cancel(boolean) - Method in class com.google.common.util.concurrent.AbstractCheckedFuture
 
cancel(boolean) - Method in class com.google.common.util.concurrent.AbstractFuture
 
cancel() - Method in class com.google.common.util.concurrent.AbstractFuture
Subclasses should invoke this method to mark the future as cancelled.
cancel(boolean) - Method in class com.google.common.util.concurrent.ForwardingFuture
 
cancel(boolean) - Method in class com.google.common.util.concurrent.ValueFuture
CaseFormat - Enum in com.google.common.base
Utility class for converting between various case formats.
chain(ListenableFuture<I>, Function<? super I, ? extends ListenableFuture<? extends O>>) - Static method in class com.google.common.util.concurrent.Futures
Creates a new ListenableFuture that wraps another ListenableFuture.
chain(ListenableFuture<I>, Function<? super I, ? extends ListenableFuture<? extends O>>, Executor) - Static method in class com.google.common.util.concurrent.Futures
Creates a new ListenableFuture that wraps another ListenableFuture.
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
 
CharMatcher.LookupTable - Class in com.google.common.base
A bit array with one bit per char value, used by CharMatcher.precomputed().
CharMatcher.LookupTable() - Constructor for class com.google.common.base.CharMatcher.LookupTable
 
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.
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,E extends Exception> - Interface in com.google.common.util.concurrent
A CheckedFuture is an extension of Future that includes versions of the get methods that can throw a checked exception and allows listeners to be attached to the future.
checkedGet() - Method in class com.google.common.util.concurrent.AbstractCheckedFuture
 
checkedGet(long, TimeUnit) - Method in class com.google.common.util.concurrent.AbstractCheckedFuture
 
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.
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.
closeQuietly(Closeable) - Static method in class com.google.common.io.Closeables
Equivalent to calling close(closeable, true), but with no IOException in the signature.
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.
com.google.common.base - package com.google.common.base
 
com.google.common.io - package com.google.common.io
 
com.google.common.primitives - package com.google.common.primitives
 
com.google.common.util.concurrent - package com.google.common.util.concurrent
 
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.
compose(ListenableFuture<I>, Function<? super I, ? extends O>) - Static method in class com.google.common.util.concurrent.Futures
Creates a new ListenableFuture that wraps another ListenableFuture.
compose(Future<I>, Function<? super I, ? extends O>) - Static method in class com.google.common.util.concurrent.Futures
Creates a new Future that wraps another Future.
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.
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.
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, 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.
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.
create() - Static method in class com.google.common.util.concurrent.ValueFuture
Creates a new ValueFuture in the default state.
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.

D

DaemonThreadFactory - Class in com.google.common.util.concurrent
Wraps another ThreadFactory, making all new threads daemon threads.
DaemonThreadFactory(ThreadFactory) - Constructor for class com.google.common.util.concurrent.DaemonThreadFactory
 
daemonThreadFactory() - Static method in class com.google.common.util.concurrent.Executors
Returns a ThreadFactory which creates daemon threads.
daemonThreadFactory(ThreadFactory) - Static method in class com.google.common.util.concurrent.Executors
Wraps another ThreadFactory, making all new threads daemon threads.
DEFAULT_FACTORY - Static variable in class com.google.common.util.concurrent.NamingThreadFactory
 
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.
delegate - Variable in class com.google.common.util.concurrent.AbstractCheckedFuture
The delegate, used to pass along all our methods.
delegate() - Method in class com.google.common.util.concurrent.ForwardingFuture
 
delegate() - Method in class com.google.common.util.concurrent.ForwardingService
 
deleteDirectoryContents(File) - Static method in class com.google.common.io.Files
Deletes all the files within a directory.
deleteRecursively(File) - Static method in class com.google.common.io.Files
Deletes a file or directory and all contents recursively.
DIGIT - Static variable in class com.google.common.base.CharMatcher
Determines whether a character is a digit according to Unicode.
done() - Method in class com.google.common.util.concurrent.AbstractFuture
 
done() - Method in class com.google.common.util.concurrent.AbstractListenableFuture
 
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.

E

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.
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.
ExecutionList - Class in com.google.common.util.concurrent
A list of (Runnable, Executor) pairs that guarantees that every Runnable that is added using the add method will be executed in its associated Executor after ExecutionList.run() is called.
ExecutionList() - Constructor for class com.google.common.util.concurrent.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.
Executors - Class in com.google.common.util.concurrent
Factory and utility methods for Executor, ExecutorService, and ThreadFactory.
Executors() - Constructor for class com.google.common.util.concurrent.Executors
 

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
 
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.
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.
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.
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.
ForwardingFuture<V> - Class in com.google.common.util.concurrent
A Future which forwards all its method calls to another future.
ForwardingFuture() - Constructor for class com.google.common.util.concurrent.ForwardingFuture
 
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
 
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 ? bytes of bytes; equivalent to ByteBuffer.wrap(bytes).getShort().
Futures - Class in com.google.common.util.concurrent
Static utility methods pertaining to the Future interface.

G

get() - Method in class com.google.common.util.concurrent.AbstractCheckedFuture
 
get(long, TimeUnit) - Method in class com.google.common.util.concurrent.AbstractCheckedFuture
 
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() - Method in interface com.google.common.util.concurrent.UninterruptibleFuture
 
get(long, TimeUnit) - Method in interface com.google.common.util.concurrent.UninterruptibleFuture
 
getCausalChain(Throwable) - Static method in class com.google.common.base.Throwables
Gets a Throwable cause chain as a list.
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.
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.
getExitingExecutorService(ThreadPoolExecutor, long, TimeUnit) - Static method in class com.google.common.util.concurrent.Executors
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.Executors
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.Executors
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.Executors
Converts the given ThreadPoolExecutor into a ScheduledExecutorService that exits when the application is complete.
getInput() - Method in interface com.google.common.io.InputSupplier
 
getOutput() - Method in interface com.google.common.io.OutputSupplier
 
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.
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.

H

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

I

immediateCheckedFuture(T) - Static method in class com.google.common.util.concurrent.Futures
Creates a CheckedFuture which has its value set immediately upon construction.
immediateFailedCheckedFuture(E) - Static method in class com.google.common.util.concurrent.Futures
Creates a CheckedFuture which has an exception set immediately upon construction.
immediateFailedFuture(Throwable) - Static method in class com.google.common.util.concurrent.Futures
Creates a ListenableFuture which has an exception set immediately upon construction.
immediateFuture(T) - Static method in class com.google.common.util.concurrent.Futures
Creates a ListenableFuture which has its value set immediately upon construction.
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(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.
InputSupplier<T> - Interface in com.google.common.io
An 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).
Ints - Class in com.google.common.primitives
Static utility methods pertaining to int primitives, that are not already found in either Integer or Arrays.
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.
is(char) - Static method in class com.google.common.base.CharMatcher
Returns a char matcher that matches only one specified character.
isCancelled() - Method in class com.google.common.util.concurrent.AbstractCheckedFuture
 
isCancelled() - Method in class com.google.common.util.concurrent.AbstractFuture
 
isCancelled() - Method in class com.google.common.util.concurrent.ForwardingFuture
 
isDone() - Method in class com.google.common.util.concurrent.AbstractCheckedFuture
 
isDone() - Method in class com.google.common.util.concurrent.AbstractFuture
 
isDone() - Method in class com.google.common.util.concurrent.ForwardingFuture
 
isNot(char) - Static method in class com.google.common.base.CharMatcher
Returns a char matcher that matches any character except the one specified.
ISO_8859_1 - Static variable in class com.google.common.base.Charsets
ISO-8859-1.
isRunning() - Method in interface com.google.common.base.Service
Returns true if this service is running.
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
 
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.

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 according to 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.
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.

L

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(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.
length(InputSupplier<? extends InputStream>) - Static method in class com.google.common.io.ByteStreams
Returns the length of a supplied input stream, in bytes.
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.
ListenableFuture<V> - Interface in com.google.common.util.concurrent
This interface defines a future that has listeners attached to it, which is useful for asynchronous workflows.
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
Creates a ListenableFutureTask that will upon running, execute the given Callable.
ListenableFutureTask(Runnable, V) - Constructor for 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.
Longs - Class in com.google.common.primitives
Static utility methods pertaining to long primitives, that are not already found in either Long or Arrays.

M

makeChecked(Future<T>, Function<Exception, E>) - Static method in class com.google.common.util.concurrent.Futures
Creates a CheckedFuture out of a normal Future and a Function that maps from Exception instances into the appropriate checked type.
makeListenable(Future<T>) - Static method in class com.google.common.util.concurrent.Futures
Creates a ListenableFuture out of a normal Future.
makeUninterruptible(Future<V>) - Static method in class com.google.common.util.concurrent.Futures
Returns an uninterruptible view of a Future.
mapException(Exception) - Method in class com.google.common.util.concurrent.AbstractCheckedFuture
Translate from an InterruptedException, CancellationException or ExecutionException to an exception of type E.
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.
matchesNoneOf(CharSequence) - Method in class com.google.common.base.CharMatcher
Returns true if a character sequence contains no matching characters.
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.
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.
move(File, File) - Static method in class com.google.common.io.Files
Moves the file from one path to another.

N

NamingThreadFactory - Class in com.google.common.util.concurrent
A ThreadFactory which decorates another ThreadFactory to set a name on each thread created.
NamingThreadFactory(String) - Constructor for class com.google.common.util.concurrent.NamingThreadFactory
Creates a new factory that delegates to the default thread factory for thread creation, then uses format to construct a name for the new thread.
NamingThreadFactory(String, ThreadFactory) - Constructor for class com.google.common.util.concurrent.NamingThreadFactory
Creates a new factory that delegates to backingFactory for thread creation, then uses format to construct a name for the new thread.
negate() - Method in class com.google.common.base.CharMatcher
Returns a matcher that matches any character not matched by this matcher.
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.
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.
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.
newThread(Runnable) - Method in class com.google.common.util.concurrent.DaemonThreadFactory
 
newThread(Runnable) - Method in class com.google.common.util.concurrent.NamingThreadFactory
 
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.
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.
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.
NullOutputStream - Class in com.google.common.io
Implementation of OutputStream that simply discards written bytes.
NullOutputStream() - Constructor for class com.google.common.io.NullOutputStream
 

O

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(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.
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.
or(CharMatcher) - Method in class com.google.common.base.CharMatcher
Returns a matcher that matches any character matched by either this matcher or other.
OutputSupplier<T> - Interface in com.google.common.io
An factory for writable streams of bytes or characters.

P

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.
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.
PRIMITIVE_TO_WRAPPER_TYPE - Static variable in class com.google.common.primitives.Primitives
A map from primitive types to their corresponding wrapper types.
PRIMITIVE_TYPES - Static variable in class com.google.common.primitives.Primitives
All nine primitive types (including void).
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, aDeclaredType, or anotherDeclaredType.

R

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
 
readByte() - Method in interface com.google.common.io.ByteArrayDataInput
 
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
 
readDouble() - Method in interface com.google.common.io.ByteArrayDataInput
 
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
 
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).
readInt() - Method in interface com.google.common.io.ByteArrayDataInput
 
readLine() - Method in interface com.google.common.io.ByteArrayDataInput
 
readLine() - Method in class com.google.common.io.LineReader
Reads a line of text.
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
 
readShort() - Method in interface com.google.common.io.ByteArrayDataInput
 
readUnsignedByte() - Method in interface com.google.common.io.ByteArrayDataInput
 
readUnsignedShort() - Method in interface com.google.common.io.ByteArrayDataInput
 
readUTF() - Method in interface com.google.common.io.ByteArrayDataInput
 
removeFrom(CharSequence) - Method in class com.google.common.base.CharMatcher
Returns a string containing all non-matching characters of a character sequence, in order.
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.
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.
Resources() - Constructor for class com.google.common.io.Resources
 
retainFrom(CharSequence) - Method in class com.google.common.base.CharMatcher
Returns a string containing all matching characters of a character sequence, in order.
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.
run() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
Run the service.
run() - Method in class com.google.common.util.concurrent.ExecutionList
Runs this execution list, executing all pairs in the order they were added.

S

sameThreadExecutor() - Static method in class com.google.common.util.concurrent.Executors
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.base
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.base
The lifecycle states of a service.
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.ValueFuture
Sets the value of this future.
setBits(CharMatcher.LookupTable) - Method in class com.google.common.base.CharMatcher
For use by implementors; sets the bit corresponding to each character ('\0' to '￿') that matches this matcher in the given bit array, leaving all other bits untouched.
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.ValueFuture
Sets the future to having failed with the given exception.
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.
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).
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
 
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.
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.
split(CharSequence) - Method in class com.google.common.base.Splitter
Splits the CharSequence passed in parameter.
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.
start() - Method in interface com.google.common.base.Service
If the service state is Service.State.NEW, this initiates service startup and returns immediately.
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
 
startAndWait() - Method in interface com.google.common.base.Service
Initiates service startup (if necessary), returning once the service has finished starting.
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
 
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 interface com.google.common.base.Service
Returns the lifecycle state of 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
 
stop() - Method in interface com.google.common.base.Service
If the service is Service.State.STARTING or Service.State.RUNNING, this initiates service shutdown and returns immediately.
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
 
stopAndWait() - Method in interface com.google.common.base.Service
Initiates service shutdown (if necessary), returning once the service has finished stopping.
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
 

T

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
Rethrows the cause exception of a given throwable, discarding the original throwable.
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.
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 ?-element byte array; equivalent to ByteBuffer.allocate(?).putShort(value).array().
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.util.concurrent.AbstractExecutionThreadService
 
toString() - Method in class com.google.common.util.concurrent.AbstractIdleService
 
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.
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.
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.

U

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
A Future whose get calls cannot be interrupted.
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).
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.
US_ASCII - Static variable in class com.google.common.base.Charsets
US-ASCII: seven-bit ASCII, a.k.a.
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

ValueFuture<V> - Class in com.google.common.util.concurrent
A simple ListenableFuture that holds a value or an exception.
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.base.Service.State
Returns the enum constant of this type with the specified name.
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.base.Service.State
Returns an array containing the constants of this enum type, in the order they are declared.

W

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.
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.
WRAPPER_TO_PRIMITIVE_TYPE - Static variable in class com.google.common.primitives.Primitives
A map from wrapper types to their corresponding primitive types.
WRAPPER_TYPES - Static variable in class com.google.common.primitives.Primitives
All nine wrapper types (including Void).
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(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
 
writeByte(int) - Method in interface com.google.common.io.ByteArrayDataOutput
 
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)).
writeChar(int) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeChars(String) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeDouble(double) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeFloat(float) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeInt(int) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeLong(long) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeShort(int) - Method in interface com.google.common.io.ByteArrayDataOutput
 
writeUTF(String) - Method in interface com.google.common.io.ByteArrayDataOutput
 

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