All Classes and Interfaces
Class
Description
This class provides a skeletal implementation of the
Cache
interface to minimize the
effort required to implement this interface.A thread-safe
AbstractCache.StatsCounter
implementation for use by Cache
implementors.Accumulates statistics during the operation of a
Cache
for presentation by Cache.stats()
.Base class for services that can implement
AbstractExecutionThreadService.startUp()
, AbstractExecutionThreadService.run()
and AbstractExecutionThreadService.shutDown()
methods.An abstract implementation of
ListenableFuture
, intended for advanced users only.This class provides a skeletal implementation of
Graph
.Base class for services that do not need a thread while "running" but may need one during startup
and shutdown.
Abstract implementation of
InvocationHandler
that handles Object.equals(java.lang.Object)
, Object.hashCode()
and Object.toString()
.This class provides a skeletal implementation of the
Iterator
interface, to make this
interface easier to implement for certain types of data sources.Abstract
ListeningExecutorService
implementation that creates ListenableFuture
instances for each Runnable
and Callable
submitted to it.This class provides a skeletal implementation of the
Cache
interface to minimize the
effort required to implement this interface.This class provides a skeletal implementation of
Network
.Base class for services that can implement
AbstractScheduledService.startUp()
and AbstractScheduledService.shutDown()
but while in
the "running" state need to perform a periodic task.A
AbstractScheduledService.Scheduler
that provides a convenient way for the AbstractScheduledService
to
use a dynamically changing schedule.A value object that represents an absolute delay until a task should be invoked.
A scheduler defines the policy for how the
AbstractScheduledService
should run its
task.This class provides a skeletal implementation of the
Iterator
interface for sequences
whose next element can always be derived from the previous element.Base class for implementing services that can handle
AbstractService.doStart()
and AbstractService.doStop()
requests, responding to them with AbstractService.notifyStarted()
and AbstractService.notifyStopped()
callbacks.This class provides a skeletal implementation of
ValueGraph
.Marks an event subscriber method as being thread-safe.
A
CharEscaper
that uses an array to quickly look up replacement characters for a given
char
value.An implementation-specific parameter class suitable for initializing
ArrayBasedCharEscaper
or ArrayBasedUnicodeEscaper
instances.A
UnicodeEscaper
that uses an array to quickly look up replacement characters for a given
code point.Implementation of
Multimap
that uses an ArrayList
to store the values for a given
key.Fixed-size
Table
implementation backed by a two-dimensional array.Static methods pertaining to ASCII characters (those in the range of values
0x00
through
0x7F
), and to strings containing such characters.Computes a value, possibly asynchronously.
An
EventBus
that takes the Executor of your choice and uses it to dispatch events,
allowing dispatch to occur asynchronously.Transforms a value, possibly asynchronously.
A
double
value that may be updated atomically.A
double
array in which elements may be updated atomically.A map containing
long
values that can be atomically updated.Static utility methods pertaining to classes in the
java.util.concurrent.atomic
package.A binary encoding scheme for reversibly translating between byte sequences and printable ASCII
strings.
Exception indicating invalid base-encoded input encountered while decoding.
Signifies that a public API (public class, method or field) is subject to incompatible changes,
or even removal, in a future release.
A class for arithmetic on
BigDecimal
that is not covered by its built-in methods.A class for arithmetic on values of type
BigInteger
.A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as
that of its keys.
A Bloom filter for instances of
T
.Indicates whether an endpoint of some range is contained in the range itself ("closed") or not
("open").
An extension of
DataInput
for reading from in-memory byte arrays; its methods offer
identical functionality but do not throw IOException
.An extension of
DataOutput
for writing to in-memory byte arrays; its methods offer
identical functionality but do not throw IOException
.A callback interface to process bytes from a stream.
A destination to which bytes can be written, such as a file.
A readable source of bytes, such as a file.
Provides utility methods for working with byte arrays and I/O streams.
A semi-persistent mapping from keys to values.
A builder of
LoadingCache
and Cache
instances.A specification of a
CacheBuilder
configuration.Computes or retrieves values, based on a key, for use in populating a
LoadingCache
.Thrown to indicate that an invalid response was returned from a call to
CacheLoader
.Exception thrown by
loadAll()
to indicate that it is not supported.Statistics about the performance of a
Cache
.Static utility methods pertaining to the
Callable
interface.Utility class for converting between various ASCII case formats.
An object that converts literal text into a format safe for inclusion in a particular context
(such as an XML document).
Simple helper class to build a "sparse" array of objects based on the indexes that were added to
it.
Contains constant definitions for the six standard
Charset
instances, which are
guaranteed to be supported by all Java platform implementations.A destination to which characters can be written, such as a text file.
A readable source of characters, such as a text file.
Provides utility methods for working with character streams.
Scans the source of a
ClassLoader
and finds all loadable classes and resources.Represents a class that can be loaded through
ClassPath.ClassInfo.load()
.Represents a class path resource that can be either a class file or any other resource file
loadable from the class path.
A map, each entry of which maps a Java raw type to an
instance of that type.
Utility methods for working with
Closeable
objects.A step in a pipeline of an asynchronous computation.
An operation that computes a
ClosingFuture
of a result.A function from an input to a
ClosingFuture
of a result.An operation that computes a result.
A function from an input to a result.
A builder of a
ClosingFuture
step that is derived from more than one input step.An operation that returns a
ClosingFuture
result and may throw an exception.An operation that returns a result and may throw an exception.
A generic
ClosingFuture.Combiner
that lets you use a lambda or method reference to combine two ClosingFuture
s.A function that returns a
ClosingFuture
when applied to the values of the two futures
passed to ClosingFuture.whenAllSucceed(ClosingFuture, ClosingFuture)
.A function that returns a value when applied to the values of the two futures passed to
ClosingFuture.whenAllSucceed(ClosingFuture, ClosingFuture)
.A generic
ClosingFuture.Combiner
that lets you use a lambda or method reference to combine three
ClosingFuture
s.A function that returns a
ClosingFuture
when applied to the values of the three
futures passed to ClosingFuture.whenAllSucceed(ClosingFuture, ClosingFuture, ClosingFuture)
.A function that returns a value when applied to the values of the three futures passed to
ClosingFuture.whenAllSucceed(ClosingFuture, ClosingFuture, ClosingFuture)
.A generic
ClosingFuture.Combiner
that lets you use a lambda or method reference to combine four
ClosingFuture
s.A function that returns a
ClosingFuture
when applied to the values of the four
futures passed to ClosingFuture.whenAllSucceed(ClosingFuture, ClosingFuture, ClosingFuture, ClosingFuture)
.A function that returns a value when applied to the values of the four futures passed to
ClosingFuture.whenAllSucceed(ClosingFuture, ClosingFuture, ClosingFuture, ClosingFuture)
.A generic
ClosingFuture.Combiner
that lets you use a lambda or method reference to combine five
ClosingFuture
s.A function that returns a
ClosingFuture
when applied to the values of the five
futures passed to ClosingFuture.whenAllSucceed(ClosingFuture, ClosingFuture, ClosingFuture, ClosingFuture, ClosingFuture)
.A function that returns a value when applied to the values of the five futures passed to
ClosingFuture.whenAllSucceed(ClosingFuture, ClosingFuture, ClosingFuture, ClosingFuture, ClosingFuture)
.An object that can capture objects to be closed later, when a
ClosingFuture
pipeline is
done.An object that can return the value of the
ClosingFuture
s that are passed to ClosingFuture.whenAllComplete(Iterable)
or ClosingFuture.whenAllSucceed(Iterable)
.An object that holds the final result of an asynchronous
ClosingFuture
operation and
allows the user to close all the closeable objects that were captured during it for later
closing.Represents an operation that accepts a
ClosingFuture.ValueAndCloser
for the last step in a ClosingFuture
pipeline.Provides static methods for working with
Collection
instances.Provides static methods for working with
Comparator
instances.A utility for performing a chained comparison statement.
Deprecated.
A multiset that supports concurrent modifications and that provides atomic versions of most
Multiset
operations (exceptions where noted).A sorted set of contiguous values in a given
DiscreteDomain
.A function from
A
to B
with an associated reverse function from B
to A
; used for converting back and forth between different representations of the same
information.An
InputStream
that counts the number of bytes read.An OutputStream that counts the number of bytes written.
The
CycleDetectingLockFactory
creates ReentrantLock
instances and ReentrantReadWriteLock
instances that detect potential deadlock by checking for cycles in lock
acquisition order.Pre-defined
CycleDetectingLockFactory.Policy
implementations.Encapsulates the action to be taken when a potential deadlock is encountered.
Represents a detected cycle in lock acquisition ordering.
A
CycleDetectingLockFactory.WithExplicitOrdering
provides the additional enforcement of
an application-specified ordering of lock acquisitions.Wraps an event that was posted, but which had no subscribers and thus could not be delivered.
This class provides default values for all Java types, as defined by the JLS.
A descriptor for a discrete
Comparable
domain such as all Integer
instances.A class for arithmetic on doubles that is not covered by
Math
.Used to represent the order of elements in a data structure that supports different options for
iteration order guarantees.
The type of ordering that this object specifies.
An immutable pair representing the two endpoints of an edge in a graph.
A
BiMap
backed by two EnumMap
instances.A
BiMap
backed by an EnumMap
instance for keys-to-values, and a HashMap
instance for values-to-keys.Multiset implementation specialized for enum elements, supporting all single-element operations
in O(1).
Utility methods for working with
Enum
instances.A strategy for determining whether two instances are considered equivalent, and for computing
hash codes in a manner consistent with that equivalence.
Wraps an object so that
Equivalence.Wrapper.equals(Object)
and Equivalence.Wrapper.hashCode()
delegate to an Equivalence
.An object that converts literal text into a format safe for inclusion in a particular context
(such as an XML document).
Static utility methods pertaining to
Escaper
instances.A builder for simple, fast escapers.
Dispatches events to listeners, and provides ways for listeners to register themselves.
A non-blocking queue which automatically evicts elements from the head of the queue when
attempting to add new elements onto the queue and it is full.
Error
variant of ExecutionException
.A support class for
ListenableFuture
implementations to manage their listeners.Serializes execution of tasks, somewhat like an "asynchronous
synchronized
block."A TimeLimiter implementation which actually does not attempt to limit time at all.
An
OutputStream
that starts buffering to a byte array, but switches to file buffering
once the data reaches a configurable size.Provides utility methods for working with files.
Modes for opening a file for writing.
Phantom reference with a
finalizeReferent()
method which a background thread invokes
after the garbage collector reclaims the referent.Implemented by references that have code to run after garbage collection of their referents.
A reference queue with an associated background thread that dequeues references and invokes
FinalizableReference.finalizeReferent()
on them.Soft reference with a
finalizeReferent()
method which a background thread invokes after
the garbage collector reclaims the referent.Weak reference with a
finalizeReferent()
method which a background thread invokes after
the garbage collector reclaims the referent.A
ListenableFuture
that supports fluent chains of operations.A discouraged (but not deprecated) precursor to Java's superior
Stream
library.Utility methods for working with
Flushable
objects.Deprecated.
This class has moved to
com.google.common.util.concurrent
.A
BlockingDeque
which forwards all its method calls to another BlockingDeque
.A
BlockingQueue
which forwards all its method calls to another BlockingQueue
.A cache which forwards all its method calls to another cache.
A simplified version of
ForwardingCache
where subclasses can pass in an already
constructed Cache
as the delegate.A collection which forwards all its method calls to another collection.
A concurrent map which forwards all its method calls to another concurrent map.
A deque which forwards all its method calls to another deque.
An executor service which forwards all its method calls to another executor service.
A
Future
which forwards all its method calls to another future.A simplified version of
ForwardingFuture
where subclasses can pass in an already
constructed Future
as the delegate.An iterator which forwards all its method calls to another iterator.
A list which forwards all its method calls to another list.
A
ListenableFuture
which forwards all its method calls to another future.A simplified version of
ForwardingListenableFuture
where subclasses can pass in an
already constructed ListenableFuture
as the delegate.A listening executor service which forwards all its method calls to another listening executor
service.
A list iterator which forwards all its method calls to another list iterator.
A list multimap which forwards all its method calls to another list multimap.
A cache which forwards all its method calls to another cache.
A simplified version of
ForwardingLoadingCache
where subclasses can pass in an already
constructed LoadingCache
as the delegate.A map which forwards all its method calls to another map.
A map entry which forwards all its method calls to another map entry.
A multimap which forwards all its method calls to another multimap.
A multiset which forwards all its method calls to another multiset.
A navigable map which forwards all its method calls to another navigable map.
A navigable set which forwards all its method calls to another navigable set.
An abstract base class for implementing the decorator pattern.
A queue which forwards all its method calls to another queue.
A set which forwards all its method calls to another set.
A set multimap which forwards all its method calls to another set multimap.
A sorted map which forwards all its method calls to another sorted map.
A sorted multiset which forwards all its method calls to another sorted multiset.
A sorted set which forwards all its method calls to another sorted set.
A sorted set multimap which forwards all its method calls to another sorted set multimap.
A table which forwards all its method calls to another table.
Legacy version of
java.util.function.Function
.Static utility methods pertaining to
com.google.common.base.Function
instances; see that
class for information about migrating to java.util.function
.An object which can send data from an object of type
T
into a PrimitiveSink
.Funnels for common types.
A callback for accepting the results of a
Future
computation
asynchronously.Static utility methods pertaining to the
Future
interface.A helper to create a new
ListenableFuture
whose result is generated from a combination
of input futures.An interface for graph-structured data,
whose edges are anonymous entities with no identity or information of their own.
A builder for constructing instances of
MutableGraph
or ImmutableGraph
with
user-defined properties.The presence of this annotation on a type indicates that the type may be used with the Google Web Toolkit (GWT).
The presence of this annotation on an API indicates that the method may not be used with
the Google Web Toolkit (GWT).
Implementation of
Table
using linked hash tables.A
BiMap
backed by two hash tables.An immutable hash code of arbitrary bit length.
A
PrimitiveSink
that can compute a hash code after reading the input.A hash function is a collision-averse pure function that maps an arbitrary block of data to a
number called a hash code.
Static methods to obtain
HashFunction
instances, and other static hashing-related
utilities.An
InputStream
that maintains a hash of the data read from it.An
OutputStream
that maintains a hash of the data written to it.Implementation of
Multimap
using hash tables.Multiset implementation backed by a
HashMap
.An immutable representation of a host and port.
A syntactically valid host specifier, suitable for use in a URI.
Escaper
instances suitable for strings to be included in HTML attribute values and
most elements' text contents.Contains constant definitions for the HTTP header field names.
Values for the
Referrer-Policy
header.A
BiMap
whose contents will never change, with many other important properties detailed
at ImmutableCollection
.A builder for creating immutable bimap instances, especially
public static final
bimaps
("constant bimaps").A
ClassToInstanceMap
whose contents will never change, with many other important
properties detailed at ImmutableCollection
.A builder for creating immutable class-to-instance maps.
A
Collection
whose contents will never change, and which offers a few additional
guarantees detailed below.Abstract base class for builders of
ImmutableCollection
types.An immutable array of
double
values, with an API resembling List
.A builder for
ImmutableDoubleArray
instances; obtained using ImmutableDoubleArray.builder(int)
.A
Graph
whose elements and structural relationships will never change.A builder for creating
ImmutableGraph
instances, especially static final
graphs.An immutable array of
int
values, with an API resembling List
.A builder for
ImmutableIntArray
instances; obtained using ImmutableIntArray.builder(int)
.A
List
whose contents will never change, with many other important properties detailed at
ImmutableCollection
.A builder for creating immutable list instances, especially
public static final
lists
("constant lists").A
ListMultimap
whose contents will never change, with many other important properties
detailed at ImmutableCollection
.A builder for creating immutable
ListMultimap
instances, especially public
static final
multimaps ("constant multimaps").An immutable array of
long
values, with an API resembling List
.A builder for
ImmutableLongArray
instances; obtained using ImmutableLongArray.builder(int)
.A
Map
whose contents will never change, with many other important properties detailed at
ImmutableCollection
.A builder for creating immutable map instances, especially
public static final
maps
("constant maps").A
Multimap
whose contents will never change, with many other important properties
detailed at ImmutableCollection
.A builder for creating immutable multimap instances, especially
public static final
multimaps ("constant multimaps").A
Multiset
whose contents will never change, with many other important properties
detailed at ImmutableCollection
.A builder for creating immutable multiset instances, especially
public static final
multisets ("constant multisets").A
Network
whose elements and structural relationships will never change.A builder for creating
ImmutableNetwork
instances, especially static final
networks.A
RangeMap
whose contents will never change, with many other important properties
detailed at ImmutableCollection
.A builder for immutable range maps.
A
RangeSet
whose contents will never change, with many other important properties
detailed at ImmutableCollection
.A builder for immutable range sets.
A
Set
whose contents will never change, with many other important properties detailed at
ImmutableCollection
.A builder for creating
ImmutableSet
instances.A
SetMultimap
whose contents will never change, with many other important properties
detailed at ImmutableCollection
.A builder for creating immutable
SetMultimap
instances, especially public static
final
multimaps ("constant multimaps").A
NavigableMap
whose contents will never change, with many other important properties
detailed at ImmutableCollection
.A builder for creating immutable sorted map instances, especially
public static final
maps ("constant maps").A
SortedMultiset
whose contents will never change, with many other important properties
detailed at ImmutableCollection
.A builder for creating immutable multiset instances, especially
public static final
multisets ("constant multisets").A
NavigableSet
whose contents will never change, with many other important properties
detailed at ImmutableCollection
.A builder for creating immutable sorted set instances, especially
public static final
sets ("constant sets"), with a given comparator.A
Table
whose contents will never change, with many other important properties detailed
at ImmutableCollection
.A builder for creating immutable table instances, especially
public static final
tables
("constant tables").A type-to-instance map backed by an
ImmutableMap
.A builder for creating immutable type-to-instance maps.
A
ValueGraph
whose elements and structural relationships will never change.A builder for creating
ImmutableValueGraph
instances, especially static final
graphs.Static utility methods pertaining to
InetAddress
instances.A simple immutable data class to encapsulate the information to be found in a Teredo address.
Exception indicating that a recursive delete can't be performed because the file system does not
have the support necessary to guarantee that it is not vulnerable to race conditions that would
allow it to delete files and directories outside of the directory being deleted (i.e.,
SecureDirectoryStream
is not supported).Provides similar behavior to
String.intern()
for any immutable type.Contains static methods pertaining to instances of
Interner
.Builder for
Interner
instances.An immutable well-formed internet domain name, such as
com
or foo.co.uk
.A class for arithmetic on values of type
int
.Wrapper around either a
Method
or a Constructor
.An assortment of mainly legacy static utility methods that operate on or return objects of type
Iterable
.This class contains static utility methods that operate on or return objects of type
Iterator
.The presence of this annotation on an API indicates that the method may not be used with
J2kt.
Utilities necessary for working with libraries that supply plain
Future
instances.An object that joins map entries in the same manner as
Joiner
joins iterables and
arrays.The representation of a linear transformation between real numbers
x
and y
.This is an intermediate stage in the construction process.
A callback to be used with the streaming
readLines
methods.A class for reading lines of text.
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.A
Multiset
implementation with predictable iteration order.An implementation of
ListMultimap
that supports deterministic iteration order for both
keys and values.A
Future
that accepts completion listeners.A
FutureTask
that also implements the ListenableFuture
interface.Helper interface to implement both
ListenableFuture
and ScheduledFuture
.An
ExecutorService
that returns ListenableFuture
instances.A
ScheduledExecutorService
that returns ListenableFuture
instances from its
ExecutorService
methods.A
Multimap
that can hold duplicate key-value pairs and that maintains the insertion
ordering of values for a given key.Static utility methods pertaining to
List
instances.An implementation of
DataInput
that uses little-endian byte ordering for reading
short
, int
, float
, double
, and long
values.An implementation of
DataOutput
that uses little-endian byte ordering for writing
char
, short
, int
, float
, double
, and long
values.A semi-persistent mapping from keys to values.
A class for arithmetic on values of type
long
.An object representing the differences between two maps.
A difference between the mappings from two maps with the same key.
A builder of
ConcurrentMap
instances that can have keys or values automatically wrapped
in weak references.A transformation of the value of a key-value pair, using both key and value as inputs.
Represents an Internet Media Type
(also known as a MIME Type or Content Type).
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.
The builder class used in creation of min-max priority queues.
A synchronization abstraction supporting waiting on arbitrary boolean conditions.
A boolean condition for which a thread may wait.
Collectors not present in
java.util.stream.Collectors
that are not otherwise associated
with a com.google.common
type.Helper functions that operate on any
Object
, and are not already provided in Objects
.Support class for
MoreObjects.toStringHelper(java.lang.Object)
.A collection that maps keys to values, similar to
Map
, but in which each key may be
associated with multiple values.An immutable builder for
Multimap
instances, letting you independently select the desired
behaviors (for example, ordering) of the backing map and value-collections.A specialization of
MultimapBuilder
that generates ListMultimap
instances.An intermediate stage in a
MultimapBuilder
in which the key-value collection map
implementation has been specified, but the value collection implementation has not.A specialization of
MultimapBuilder
that generates SetMultimap
instances.A specialization of
MultimapBuilder
that generates SortedSetMultimap
instances.Provides static methods acting on or generating a
Multimap
.A collection that supports order-independent equality, like
Set
, but may have duplicate
elements.An unmodifiable element-count pair for a multiset.
Provides static utility methods for creating and working with
Multiset
instances.A mutable class-to-instance map backed by an arbitrary user-provided map.
A subinterface of
Graph
which adds mutation methods.A subinterface of
Network
which adds mutation methods.A mutable type-to-instance map.
A subinterface of
ValueGraph
which adds mutation methods.An interface for graph-structured data,
whose edges are unique objects.
A builder for constructing instances of
MutableNetwork
or ImmutableNetwork
with
user-defined properties.Static utility methods pertaining to object arrays.
Helper functions that can operate on any
Object
.An immutable object that may contain a non-null reference to another object.
A comparator, with additional methods to support common operations.
An immutable value object capturing some basic statistics about a collection of paired double
values (e.g. points on a plane).
A mutable object which accumulates paired double values (e.g. points on a plane) and tracks some
basic statistics over all the values added so far.
Represents a method or constructor parameter.
File name filter that only accepts files matching a regular expression.
An iterator that supports a one-element lookahead while iterating.
A
UnicodeEscaper
that escapes some set of Java characters using a UTF-8 based percent
encoding scheme.Static convenience methods that help a method or constructor check whether it was invoked
correctly (that is, whether its preconditions were met).
A functional interface for graph-structured data.
Legacy version of
java.util.function.Predicate
.Static utility methods pertaining to
Predicate
instances.Contains static utility methods pertaining to primitive types and their corresponding wrapper
types.
An object which can receive a stream of primitive values.
Provides a fluent API for calculating quantiles.
Describes the point in a fluent API chain where only the scale (i.e. the q in q-quantiles) has
been specified.
Describes the point in a fluent API chain where the scale and a single quantile index (i.e. the
q and the k in the kth q-quantile) have been specified.
Describes the point in a fluent API chain where the scale and a multiple quantile indexes (i.e.
A range (or "interval") defines the boundaries around a contiguous span of values of some
Comparable
type; for example, "integers from 1 to 100 inclusive."A mapping from disjoint nonempty ranges to non-null values.
A rate limiter.
Options for use with recursive delete methods (
MoreFiles.deleteRecursively(java.nio.file.Path, com.google.common.io.RecursiveDeleteOption...)
and MoreFiles.deleteDirectoryContents(java.nio.file.Path, com.google.common.io.RecursiveDeleteOption...)
).Static utilities relating to Java reflection.
The reason why a cached entry was removed.
An object that can receive a notification when an entry is removed from a cache.
A collection of common removal listeners.
A notification of the removal of a single entry.
Provides utility methods for working with resources in the classpath.
Interface that extends
Table
and whose rows are sorted.Static utility methods pertaining to the
Runnable
interface.An object with an operational state, plus asynchronous
Service.startAsync()
and Service.stopAsync()
lifecycle methods to transition between states.A listener for the various state changes that a
Service
goes through in its lifecycle.The lifecycle states of a service.
A manager for monitoring and controlling a set of services.
A listener for the aggregate state changes of the services that are under management.
A
Multimap
that cannot hold duplicate key-value pairs.Static utility methods pertaining to
Set
instances.An unmodifiable view of a set which may be backed by other sets; this view will change as the
backing sets do.
A
ListenableFuture
whose result can be set by a SettableFuture.set(Object)
, SettableFuture.setException(Throwable)
or SettableFuture.setFuture(ListenableFuture)
call.Static utility methods pertaining to
byte
primitives that interpret values as signed.A TimeLimiter that runs method calls in the background using an
ExecutorService
.An object representing the differences between two sorted maps.
A
Multiset
which maintains the ordering of its elements, according to either their
natural order or an explicit Comparator
.A
SetMultimap
whose set of values for a given key are kept sorted; that is, they comprise
a SortedSet
.Extracts non-overlapping substrings from an input string, typically by recognizing appearances of
a separator sequence.
An object that splits strings into maps as
Splitter
splits iterables and lists.Represents a standard system property.
A bundle of statistical summary values -- sum, count, mean/average, min and max, and several
forms of variance -- that were computed from a single set of zero or more floating-point values.
A mutable object which accumulates double values and tracks some basic statistics over all the
values added so far.
An object that accurately measures elapsed time: the measured duration between two
successive readings of "now" in the same process.
Static utility methods related to
Stream
instances.An analogue of
DoubleFunction
also accepting an index.An analogue of
Function
also accepting an index.An analogue of
IntFunction
also accepting an index.An analogue of
LongFunction
also accepting an index.Static utility methods pertaining to
String
or CharSequence
instances.A striped
Lock/Semaphore/ReadWriteLock
.Marks a method as an event subscriber.
Context for an exception thrown by a subscriber.
Handler for exceptions thrown by event subscribers.
A functional interface for graph-structured data.
Legacy version of
java.util.function.Supplier
.Useful suppliers.
A collection that associates an ordered pair of keys, called a row key and a column key, with a
single value.
Row key / column key / value triplet corresponding to a mapping in a table.
Provides static methods that involve a
Table
.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
Static utility methods pertaining to instances of
Throwable
.A time source; returns a time value representing the number of nanoseconds elapsed since some
fixed but arbitrary point in time.
Imposes a time limit on method calls.
An object that can traverse the nodes that are reachable from a specified (set of) start node(s)
using a specified
SuccessorsFunction
.Implementation of
Table
whose row keys and column keys are ordered by their natural
ordering or by supplied comparators.Implementation of
Multimap
whose keys and values are ordered by their natural ordering or
by supplied comparators.A multiset which maintains the ordering of its elements, according to either their natural order
or an explicit
Comparator
.An implementation of
RangeMap
based on a TreeMap
, supporting all optional
operations.Deprecated.
Use
Traverser
instead.Captures a free type variable that can be used in
TypeToken.where(com.google.common.reflect.TypeParameter<X>, com.google.common.reflect.TypeToken<X>)
.An object of this class encapsulates type mappings from type variables.
A map, each entry of which maps a
TypeToken
to an instance of that type.A
Type
with generics.Factories for
Thread.UncaughtExceptionHandler
instances.Unchecked variant of
ExecutionException
.Unchecked version of
TimeoutException
.An
Escaper
that converts literal text into a format safe for inclusion in a particular
context (such as an XML document).Utilities for treating interruptible operations as uninterruptible.
An iterator that does not support
UnmodifiableIterator.remove()
.A list iterator that does not support
UnmodifiableIterator.remove()
, UnmodifiableListIterator.add(E)
, or UnmodifiableListIterator.set(E)
.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
).A wrapper class for unsigned
int
values, supporting arithmetic operations.Static utility methods pertaining to
int
primitives that interpret values as
unsigned (that is, any negative value x
is treated as the positive value
2^32 + x
).A wrapper class for unsigned
long
values, supporting arithmetic operations.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
).Escaper
instances suitable for strings to be included in particular sections of URLs.Low-level, high-performance utility methods related to the UTF-8
character encoding.
An interface for graph-structured data,
whose edges have associated non-unique values.
A builder for constructing instances of
MutableValueGraph
or ImmutableValueGraph
with user-defined properties.Static convenience methods that serve the same purpose as Java language assertions,
except that they are always enabled.
Exception thrown upon the failure of a verification check,
including those performed by the convenience methods of the
Verify
class.Annotates a program element that exists, or is more widely visible than otherwise necessary, only
for use in test code.
Calculates the weights of cache entries.
Escaper
instances suitable for strings to be included in XML attribute values and
elements' text contents.
com.google.common
.