All Classes Interface Summary Class Summary Enum Summary Exception Summary Error Summary Annotation Types Summary
Class |
Description |
AbstractBiMapTester<K,V> |
Skeleton for a tester of a BiMap .
|
AbstractCache<K,V> |
This class provides a skeletal implementation of the Cache interface to minimize the
effort required to implement this interface.
|
AbstractCache.SimpleStatsCounter |
|
AbstractCache.StatsCounter |
|
AbstractCheckedFuture<V,X extends java.lang.Exception> |
|
AbstractCheckedFutureTest |
|
AbstractCollectionTester<E> |
Base class for collection testers.
|
AbstractCollectionTestSuiteBuilder<B extends AbstractCollectionTestSuiteBuilder<B,E>,E> |
Abstract superclass of all test-suite builders for collection interfaces.
|
AbstractContainerTester<C,E> |
Base class for testers of classes (including Collection
and Map ) that contain elements.
|
AbstractContainerTester.ArrayWithDuplicate<E> |
|
AbstractExecutionThreadService |
|
AbstractFuture<V> |
An abstract implementation of ListenableFuture , intended for advanced users only.
|
AbstractGraph<N> |
This class provides a skeletal implementation of Graph .
|
AbstractIdleService |
Base class for services that do not need a thread while "running" but may need one during startup
and shutdown.
|
AbstractInvocationHandler |
Abstract implementation of InvocationHandler that handles Object.equals(java.lang.Object) ,
Object.hashCode() and Object.toString() .
|
AbstractIterator<T> |
This class provides a skeletal implementation of the Iterator
interface, to make this interface easier to implement for certain types of
data sources.
|
AbstractListenableFutureTest |
|
AbstractListeningExecutorService |
|
AbstractListIndexOfTester<E> |
|
AbstractListMultimapTester<K,V> |
Superclass for all ListMultimap testers.
|
AbstractListTester<E> |
Base class for list testers.
|
AbstractLoadingCache<K,V> |
This class provides a skeletal implementation of the Cache interface to minimize the
effort required to implement this interface.
|
AbstractMapTester<K,V> |
Base class for map testers.
|
AbstractMultimapTester<K,V,M extends Multimap<K,V>> |
Superclass for all Multimap testers.
|
AbstractMultisetSetCountTester<E> |
|
AbstractMultisetTester<E> |
Base class for multiset collection tests.
|
AbstractNetwork<N,E> |
This class provides a skeletal implementation of Network .
|
AbstractPackageSanityTests |
Automatically runs sanity checks against top level classes in the same package of the test that
extends AbstractPackageSanityTests .
|
AbstractQueueTester<E> |
Base class for queue collection tests.
|
AbstractScheduledService |
|
AbstractScheduledService.CustomScheduler |
|
AbstractScheduledService.CustomScheduler.Schedule |
A value object that represents an absolute delay until a task should be invoked.
|
AbstractScheduledService.Scheduler |
|
AbstractSequentialIterator<T> |
This class provides a skeletal implementation of the Iterator
interface for sequences whose next element can always be derived from the
previous element.
|
AbstractService |
|
AbstractSetTester<E> |
|
AbstractTester<G> |
This abstract base class for testers allows the framework to inject needed
information after JUnit constructs the instances.
|
AbstractValueGraph<N,V> |
This class provides a skeletal implementation of ValueGraph .
|
AllowConcurrentEvents |
Marks an event subscriber method as being thread-safe.
|
AnEnum |
A sample enumerated type we use for testing.
|
ArbitraryInstances |
Supplies an arbitrary "default" instance for a wide range of types, often useful in testing
utilities.
|
ArrayBasedCharEscaper |
A CharEscaper that uses an array to quickly look up replacement characters for a given
char value.
|
ArrayBasedEscaperMap |
|
ArrayBasedUnicodeEscaper |
A UnicodeEscaper that uses an array to quickly look up replacement characters for a given
code point.
|
ArrayListMultimap<K,V> |
Implementation of Multimap that uses an ArrayList to store
the values for a given key.
|
ArrayTable<R,C,V> |
Fixed-size Table implementation backed by a two-dimensional array.
|
Ascii |
Static methods pertaining to ASCII characters (those in the range of values 0x00 through
0x7F ), and to strings containing such characters.
|
AsyncCallable<V> |
Computes a value, possibly asynchronously.
|
AsyncEventBus |
An EventBus that takes the Executor of your choice and uses it to dispatch events,
allowing dispatch to occur asynchronously.
|
AsyncFunction<I,O> |
Transforms a value, possibly asynchronously.
|
AtomicDouble |
A double value that may be updated atomically.
|
AtomicDoubleArray |
A double array in which elements may be updated atomically.
|
AtomicLongMap<K> |
A map containing long values that can be atomically updated.
|
Atomics |
Static utility methods pertaining to classes in the java.util.concurrent.atomic package.
|
BaseComparable |
Simple base class to verify that we handle generics correctly.
|
BaseEncoding |
A binary encoding scheme for reversibly translating between byte sequences and printable ASCII
strings.
|
BaseEncoding.DecodingException |
Exception indicating invalid base-encoded input encountered while decoding.
|
Beta |
Signifies that a public API (public class, method or field) is subject to incompatible changes,
or even removal, in a future release.
|
BigIntegerMath |
A class for arithmetic on values of type BigInteger .
|
BiMap<K,V> |
A bimap (or "bidirectional map") is a map that preserves the uniqueness of
its values as well as that of its keys.
|
BiMapClearTester<K,V> |
Tester for BiMap.clear .
|
BiMapGenerators |
Generators of various BiMap s and derived
collections.
|
BiMapGenerators.ImmutableBiMapCopyOfEntriesGenerator |
|
BiMapGenerators.ImmutableBiMapCopyOfGenerator |
|
BiMapGenerators.ImmutableBiMapGenerator |
|
BiMapInverseTester<K,V> |
Tests for the inverse view of a BiMap.
|
BiMapPutTester<K,V> |
Tester for BiMap.put and BiMap.forcePut .
|
BiMapRemoveTester<K,V> |
Tester for BiMap.remove .
|
BiMapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests a BiMap
implementation.
|
BinaryTreeTraverser<T> |
A variant of TreeTraverser for binary trees, providing additional traversals specific to
binary trees.
|
BloomFilter<T> |
A Bloom filter for instances of T .
|
Booleans |
Static utility methods pertaining to boolean primitives, that are not already found in
either Boolean or Arrays .
|
BoundType |
Indicates whether an endpoint of some range is contained in the range itself ("closed") or not
("open").
|
ByteArrayDataInput |
An extension of DataInput for reading from in-memory byte arrays; its methods offer
identical functionality but do not throw IOException .
|
ByteArrayDataOutput |
An extension of DataOutput for writing to in-memory byte arrays; its methods offer
identical functionality but do not throw IOException .
|
ByteProcessor<T> |
A callback interface to process bytes from a stream.
|
Bytes |
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.
|
ByteSink |
A destination to which bytes can be written, such as a file.
|
ByteSource |
A readable source of bytes, such as a file.
|
ByteStreams |
Provides utility methods for working with byte arrays and I/O streams.
|
Cache<K,V> |
A semi-persistent mapping from keys to values.
|
CacheBuilder<K,V> |
A builder of LoadingCache and Cache instances having any combination of the
following features:
automatic loading of entries into the cache
least-recently-used eviction when a maximum size is exceeded
time-based expiration of entries, measured since last access or last write
keys automatically wrapped in weak references
values automatically wrapped in weak or soft references
notification of evicted (or otherwise removed) entries
accumulation of cache access statistics
|
CacheBuilderSpec |
|
CacheLoader<K,V> |
Computes or retrieves values, based on a key, for use in populating a LoadingCache .
|
CacheLoader.InvalidCacheLoadException |
Thrown to indicate that an invalid response was returned from a call to CacheLoader .
|
CacheLoader.UnsupportedLoadingOperationException |
Exception thrown by loadAll() to indicate that it is not supported.
|
CacheStats |
Statistics about the performance of a Cache .
|
Callables |
Static utility methods pertaining to the Callable interface.
|
CaseFormat |
Utility class for converting between various ASCII case formats.
|
CharEscaper |
An object that converts literal text into a format safe for inclusion in a particular context
(such as an XML document).
|
CharEscaperBuilder |
Simple helper class to build a "sparse" array of objects based on the indexes that were added to
it.
|
CharMatcher |
Determines a true or false value for any Java char value, just as Predicate does
for any Object .
|
Chars |
Static utility methods pertaining to char primitives, that are not already found in
either Character or Arrays .
|
Charsets |
Contains constant definitions for the six standard Charset instances, which are
guaranteed to be supported by all Java platform implementations.
|
CharSink |
A destination to which characters can be written, such as a text file.
|
CharSource |
A readable source of characters, such as a text file.
|
CharStreams |
Provides utility methods for working with character streams.
|
CheckedFuture<V,X extends java.lang.Exception> |
A CheckedFuture is a ListenableFuture that includes versions of the get
methods that can throw a checked exception.
|
ClassPath |
Scans the source of a ClassLoader and finds all loadable classes and resources.
|
ClassPath.ClassInfo |
|
ClassPath.ResourceInfo |
Represents a class path resource that can be either a class file or any other resource file
loadable from the class path.
|
ClassSanityTester |
Tester that runs automated sanity tests for any given class.
|
ClassToInstanceMap<B> |
A map, each entry of which maps a Java
raw type to an instance of that type.
|
Closeables |
Utility methods for working with Closeable objects.
|
Closer |
A Closeable that collects Closeable resources and closes them all when it is
closed.
|
CollectionAddAllTester<E> |
A generic JUnit test which tests addAll operations on a collection.
|
CollectionAddTester<E> |
A generic JUnit test which tests add operations on a collection.
|
CollectionClearTester<E> |
A generic JUnit test which tests clear() operations on a collection.
|
CollectionContainsAllTester<E> |
A generic JUnit test which tests containsAll() operations on a
collection.
|
CollectionContainsTester<E> |
A generic JUnit test which tests contains() operations on a
collection.
|
CollectionCreationTester<E> |
A generic JUnit test which tests creation (typically through a constructor or
static factory method) of a collection.
|
CollectionEqualsTester<E> |
Tests Collection.equals(java.lang.Object) .
|
CollectionFeature |
Optional features of classes derived from Collection .
|
CollectionFeature.Require |
|
CollectionIsEmptyTester<E> |
A generic JUnit test which tests isEmpty() operations on a
collection.
|
CollectionIteratorTester<E> |
A generic JUnit test which tests iterator operations on a collection.
|
CollectionRemoveAllTester<E> |
A generic JUnit test which tests removeAll operations on a
collection.
|
CollectionRemoveTester<E> |
A generic JUnit test which tests remove operations on a collection.
|
CollectionRetainAllTester<E> |
A generic JUnit test which tests retainAll operations on a
collection.
|
Collections2 |
Provides static methods for working with Collection instances.
|
CollectionSerializationEqualTester<E> |
Basic reserialization test for collection types that must preserve equals() behavior
when reserialized.
|
CollectionSerializationTester<E> |
Basic reserialization test for collections.
|
CollectionSize |
When describing the features of the collection produced by a given generator
(i.e.
|
CollectionSize.Require |
|
CollectionSizeTester<E> |
A generic JUnit test which tests size() operations on a collection.
|
CollectionTestSuiteBuilder<E> |
|
CollectionToArrayTester<E> |
A generic JUnit test which tests toArray() operations on a
collection.
|
CollectionToStringTester<E> |
A generic JUnit test which tests toString() operations on a
collection.
|
ComparisonChain |
A utility for performing a chained comparison statement.
|
ComputationException |
Wraps an exception that occurred during a computation.
|
ConcurrentHashMultiset<E> |
A multiset that supports concurrent modifications and that provides atomic versions of most
Multiset operations (exceptions where noted).
|
ConcurrentMapPutIfAbsentTester<K,V> |
A generic JUnit test which tests putIfAbsent operations on a concurrent map.
|
ConcurrentMapRemoveTester<K,V> |
Tester for ConcurrentMap.remove(java.lang.Object, java.lang.Object) .
|
ConcurrentMapReplaceEntryTester<K,V> |
A generic JUnit test which tests replace(K, V, V) operations on a concurrent map.
|
ConcurrentMapReplaceTester<K,V> |
A generic JUnit test which tests replace(K, V) operations on a concurrent map.
|
ConcurrentMapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests a ConcurrentMap
implementation.
|
ConcurrentNavigableMapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a ConcurrentNavigableMap implementation.
|
ConflictingRequirementsException |
Thrown when requirements on a tester method or class conflict with
each other.
|
ContiguousSet<C extends java.lang.Comparable> |
|
Converter<A,B> |
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.
|
CountingInputStream |
An InputStream that counts the number of bytes read.
|
CountingOutputStream |
An OutputStream that counts the number of bytes written.
|
CycleDetectingLockFactory |
The CycleDetectingLockFactory creates ReentrantLock instances and
ReentrantReadWriteLock instances that detect potential deadlock by checking for cycles in
lock acquisition order.
|
CycleDetectingLockFactory.Policies |
|
CycleDetectingLockFactory.Policy |
Encapsulates the action to be taken when a potential deadlock is encountered.
|
CycleDetectingLockFactory.PotentialDeadlockException |
Represents a detected cycle in lock acquisition ordering.
|
CycleDetectingLockFactory.WithExplicitOrdering<E extends java.lang.Enum<E>> |
A CycleDetectingLockFactory.WithExplicitOrdering provides the additional enforcement
of an application-specified ordering of lock acquisitions.
|
DeadEvent |
Wraps an event that was posted, but which had no subscribers and thus could not be delivered.
|
Defaults |
This class provides default values for all Java types, as defined by the JLS.
|
DerivedCollectionGenerators |
Derived suite generators, split out of the suite builders so that they are available to GWT.
|
DerivedCollectionGenerators.Bound |
Two bounds (from and to) define how to build a subMap.
|
DerivedCollectionGenerators.MapEntrySetGenerator<K,V> |
|
DerivedCollectionGenerators.MapKeySetGenerator<K,V> |
|
DerivedCollectionGenerators.MapSortedKeySetGenerator<K,V> |
|
DerivedCollectionGenerators.MapValueCollectionGenerator<K,V> |
|
DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator<K,V> |
|
DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator<E> |
|
DerivedComparable |
Simple derived class to verify that we handle generics correctly.
|
DerivedGenerator |
A generator that relies on a preexisting generator for most of its work.
|
DerivedGoogleCollectionGenerators |
Derived suite generators for Guava collection interfaces, split out of the suite builders so that
they are available to GWT.
|
DerivedGoogleCollectionGenerators.BiMapValueSetGenerator<K,V> |
|
DerivedGoogleCollectionGenerators.InverseBiMapGenerator<K,V> |
|
DerivedGoogleCollectionGenerators.MapGenerator<K,V> |
|
DerivedIteratorTestSuiteBuilder<E> |
Given a test iterable generator, builds a test suite for the
iterable's iterator, by delegating to a IteratorTestSuiteBuilder .
|
DerivedTestIteratorGenerator<E> |
Adapts a test iterable generator to give a TestIteratorGenerator.
|
DiscreteDomain<C extends java.lang.Comparable> |
A descriptor for a discrete Comparable domain such as all
Integer instances.
|
DoubleMath |
A class for arithmetic on doubles that is not covered by Math .
|
Doubles |
Static utility methods pertaining to double primitives, that are not already found in
either Double or Arrays .
|
ElementOrder<T> |
Used to represent the order of elements in a data structure that supports different options for
iteration order guarantees.
|
ElementOrder.Type |
The type of ordering that this object specifies.
|
EndpointPair<N> |
An immutable pair representing the two endpoints of an edge in a graph.
|
EnumBiMap<K extends java.lang.Enum<K>,V extends java.lang.Enum<V>> |
A BiMap backed by two EnumMap instances.
|
EnumHashBiMap<K extends java.lang.Enum<K>,V> |
A BiMap backed by an EnumMap instance for keys-to-values, and
a HashMap instance for values-to-keys.
|
EnumMultiset<E extends java.lang.Enum<E>> |
Multiset implementation backed by an EnumMap .
|
Enums |
Utility methods for working with Enum instances.
|
EqualsTester |
Tester for equals() and hashCode() methods of a class.
|
Equivalence<T> |
A strategy for determining whether two instances are considered equivalent.
|
Equivalence.Wrapper<T> |
|
EquivalenceTester<T> |
Tester for Equivalence relationships between groups of objects.
|
Escaper |
An object that converts literal text into a format safe for inclusion in a particular context
(such as an XML document).
|
EscaperAsserts |
Extra assert methods for testing Escaper implementations.
|
Escapers |
Static utility methods pertaining to Escaper instances.
|
Escapers.Builder |
A builder for simple, fast escapers.
|
EventBus |
Dispatches events to listeners, and provides ways for listeners to register themselves.
|
EvictingQueue<E> |
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.
|
ExampleIteratorTester<E> |
A non-empty tester for Iterator .
|
ExecutionError |
Error variant of ExecutionException .
|
ExecutionList |
A support class for ListenableFuture implementations to manage their listeners.
|
FakeTicker |
A Ticker whose value can be advanced programmatically in test.
|
FakeTimeLimiter |
A TimeLimiter implementation which actually does not attempt to limit time at all.
|
Feature<T> |
Base class for enumerating the features of an interface to be tested.
|
FeatureSpecificTestSuiteBuilder<B extends FeatureSpecificTestSuiteBuilder<B,G>,G> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
the object generated by a G, selecting appropriate tests by matching them
against specified features.
|
FeatureUtil |
Utilities for collecting and validating tester requirements from annotations.
|
FileBackedOutputStream |
An OutputStream that starts buffering to a byte array, but switches to file buffering
once the data reaches a configurable size.
|
Files |
Provides utility methods for working with files.
|
FileWriteMode |
Modes for opening a file for writing.
|
FinalizablePhantomReference<T> |
Phantom reference with a finalizeReferent() method which a background thread invokes
after the garbage collector reclaims the referent.
|
FinalizableReference |
Implemented by references that have code to run after garbage collection of their referents.
|
FinalizableReferenceQueue |
|
FinalizableSoftReference<T> |
Soft reference with a finalizeReferent() method which a background thread invokes after
the garbage collector reclaims the referent.
|
FinalizableWeakReference<T> |
Weak reference with a finalizeReferent() method which a background thread invokes after
the garbage collector reclaims the referent.
|
Finalizer |
Thread that finalizes referents.
|
Floats |
Static utility methods pertaining to float primitives, that are not already found in
either Float or Arrays .
|
FluentIterable<E> |
An expanded Iterable API, providing functionality similar to Java 8's powerful streams library in a slightly different way.
|
Flushables |
Utility methods for working with Flushable objects.
|
ForwardingBlockingDeque<E> |
A BlockingDeque which forwards all its method calls to another BlockingDeque .
|
ForwardingBlockingQueue<E> |
A BlockingQueue which forwards all its method calls to another BlockingQueue .
|
ForwardingCache<K,V> |
A cache which forwards all its method calls to another cache.
|
ForwardingCache.SimpleForwardingCache<K,V> |
A simplified version of ForwardingCache where subclasses can pass in an already
constructed Cache as the delegate.
|
ForwardingCheckedFuture<V,X extends java.lang.Exception> |
A future which forwards all its method calls to another future.
|
ForwardingCheckedFuture.SimpleForwardingCheckedFuture<V,X extends java.lang.Exception> |
|
ForwardingCollection<E> |
A collection which forwards all its method calls to another collection.
|
ForwardingConcurrentMap<K,V> |
A concurrent map which forwards all its method calls to another concurrent
map.
|
ForwardingDeque<E> |
A deque which forwards all its method calls to another deque.
|
ForwardingExecutorService |
An executor service which forwards all its method calls to another executor service.
|
ForwardingFuture<V> |
A Future which forwards all its method calls to another future.
|
ForwardingFuture.SimpleForwardingFuture<V> |
A simplified version of ForwardingFuture where subclasses can pass in an already
constructed Future as the delegate.
|
ForwardingIterator<T> |
An iterator which forwards all its method calls to another iterator.
|
ForwardingList<E> |
A list which forwards all its method calls to another list.
|
ForwardingListenableFuture<V> |
|
ForwardingListenableFuture.SimpleForwardingListenableFuture<V> |
|
ForwardingListeningExecutorService |
A listening executor service which forwards all its method calls to another listening executor
service.
|
ForwardingListIterator<E> |
A list iterator which forwards all its method calls to another list
iterator.
|
ForwardingListMultimap<K,V> |
A list multimap which forwards all its method calls to another list multimap.
|
ForwardingLoadingCache<K,V> |
A cache which forwards all its method calls to another cache.
|
ForwardingLoadingCache.SimpleForwardingLoadingCache<K,V> |
|
ForwardingMap<K,V> |
A map which forwards all its method calls to another map.
|
ForwardingMapEntry<K,V> |
A map entry which forwards all its method calls to another map entry.
|
ForwardingMultimap<K,V> |
A multimap which forwards all its method calls to another multimap.
|
ForwardingMultiset<E> |
A multiset which forwards all its method calls to another multiset.
|
ForwardingNavigableMap<K,V> |
A navigable map which forwards all its method calls to another navigable map.
|
ForwardingNavigableSet<E> |
A navigable set which forwards all its method calls to another navigable set.
|
ForwardingObject |
|
ForwardingQueue<E> |
A queue which forwards all its method calls to another queue.
|
ForwardingSet<E> |
A set which forwards all its method calls to another set.
|
ForwardingSetMultimap<K,V> |
A set multimap which forwards all its method calls to another set multimap.
|
ForwardingSortedMap<K,V> |
A sorted map which forwards all its method calls to another sorted map.
|
ForwardingSortedMultiset<E> |
A sorted multiset which forwards all its method calls to another sorted multiset.
|
ForwardingSortedSet<E> |
A sorted set which forwards all its method calls to another sorted set.
|
ForwardingSortedSetMultimap<K,V> |
A sorted set multimap which forwards all its method calls to another sorted
set multimap.
|
ForwardingTable<R,C,V> |
A table which forwards all its method calls to another table.
|
ForwardingWrapperTester |
Tester to ensure forwarding wrapper works by delegating calls to the corresponding method
with the same parameters forwarded and return value forwarded back or exception propagated as is.
|
Function<F,T> |
Determines an output value based on an input value; a pre-Java-8 version of
java.util.function.Function .
|
Functions |
Static utility methods pertaining to com.google.common.base.Function instances; see that
class for information about migrating to java.util.function .
|
Funnel<T> |
An object which can send data from an object of type T into a PrimitiveSink .
|
Funnels |
Funnels for common types.
|
FutureCallback<V> |
A callback for accepting the results of a Future computation
asynchronously.
|
Futures |
Static utility methods pertaining to the Future interface.
|
Futures.FutureCombiner<V> |
A helper to create a new ListenableFuture whose result is generated from a combination
of input futures.
|
GcFinalization |
Testing utilities relating to garbage collection finalization.
|
GcFinalization.FinalizationPredicate |
A predicate that is expected to return true subsequent to finalization, that is, one
of the following actions taken by the garbage collector when performing a full collection in
response to System.gc() :
invoking the finalize methods of unreachable objects
clearing weak references to unreachable referents
enqueuing weak references to unreachable referents in their reference queue
|
Graph<N> |
An interface for graph-structured data,
whose edges are anonymous entities with no identity or information of their own.
|
GraphBuilder<N> |
A builder for constructing instances of MutableGraph with user-defined properties.
|
Graphs |
|
GwtCompatible |
The presence of this annotation on a type indicates that the type may be used with the
Google Web Toolkit (GWT).
|
GwtIncompatible |
The presence of this annotation on an API indicates that the method may not be used with
the Google Web Toolkit (GWT).
|
HashBasedTable<R,C,V> |
Implementation of Table using linked hash tables.
|
HashBiMap<K,V> |
A BiMap backed by two hash tables.
|
HashCode |
An immutable hash code of arbitrary bit length.
|
Hasher |
A PrimitiveSink that can compute a hash code after reading the input.
|
HashFunction |
A hash function is a collision-averse pure function that maps an arbitrary block of data to a
number called a hash code.
|
Hashing |
Static methods to obtain HashFunction instances, and other static hashing-related
utilities.
|
HashingInputStream |
An InputStream that maintains a hash of the data read from it.
|
HashingOutputStream |
An OutputStream that maintains a hash of the data written to it.
|
HashMultimap<K,V> |
Implementation of Multimap using hash tables.
|
HashMultiset<E> |
Multiset implementation backed by a HashMap .
|
Helpers |
|
Helpers.NullsBefore |
Compares strings in natural order except that null comes immediately before a given value.
|
Helpers.NullsBeforeB |
|
Helpers.NullsBeforeTwo |
|
HostAndPort |
An immutable representation of a host and port.
|
HostSpecifier |
A syntactically valid host specifier, suitable for use in a URI.
|
HtmlEscapers |
Escaper instances suitable for strings to be included in HTML attribute values and
most elements' text contents.
|
HttpHeaders |
Contains constant definitions for the HTTP header field names.
|
ImmutableBiMap<K,V> |
|
ImmutableBiMap.Builder<K,V> |
A builder for creating immutable bimap instances, especially public
static final bimaps ("constant bimaps").
|
ImmutableClassToInstanceMap<B> |
|
ImmutableClassToInstanceMap.Builder<B> |
A builder for creating immutable class-to-instance maps.
|
ImmutableCollection<E> |
A Collection whose contents will never change, and which offers a few additional
guarantees detailed below.
|
ImmutableCollection.Builder<E> |
|
ImmutableGraph<N> |
A Graph whose elements and structural relationships will never change.
|
ImmutableList<E> |
A List whose contents will never change, with many other important properties detailed at
ImmutableCollection .
|
ImmutableList.Builder<E> |
A builder for creating immutable list instances, especially public
static final lists ("constant lists").
|
ImmutableListMultimap<K,V> |
|
ImmutableListMultimap.Builder<K,V> |
A builder for creating immutable ListMultimap instances, especially
public static final multimaps ("constant multimaps").
|
ImmutableMap<K,V> |
A Map whose contents will never change, with many other important properties detailed at
ImmutableCollection .
|
ImmutableMap.Builder<K,V> |
A builder for creating immutable map instances, especially public
static final maps ("constant maps").
|
ImmutableMultimap<K,V> |
|
ImmutableMultimap.Builder<K,V> |
A builder for creating immutable multimap instances, especially
public static final multimaps ("constant multimaps").
|
ImmutableMultiset<E> |
|
ImmutableMultiset.Builder<E> |
A builder for creating immutable multiset instances, especially
public static final multisets ("constant multisets").
|
ImmutableNetwork<N,E> |
A Network whose elements and structural relationships will never change.
|
ImmutableRangeMap<K extends java.lang.Comparable<?>,V> |
|
ImmutableRangeMap.Builder<K extends java.lang.Comparable<?>,V> |
A builder for immutable range maps.
|
ImmutableRangeSet<C extends java.lang.Comparable> |
|
ImmutableRangeSet.Builder<C extends java.lang.Comparable<?>> |
A builder for immutable range sets.
|
ImmutableSet<E> |
A Set whose contents will never change, with many other important properties detailed at
ImmutableCollection .
|
ImmutableSet.Builder<E> |
A builder for creating ImmutableSet instances.
|
ImmutableSetMultimap<K,V> |
|
ImmutableSetMultimap.Builder<K,V> |
A builder for creating immutable SetMultimap instances, especially
public static final multimaps ("constant multimaps").
|
ImmutableSortedMap<K,V> |
A NavigableMap whose contents will never change, with many other important properties
detailed at ImmutableCollection .
|
ImmutableSortedMap.Builder<K,V> |
A builder for creating immutable sorted map instances, especially
public static final maps ("constant maps").
|
ImmutableSortedMultiset<E> |
|
ImmutableSortedMultiset.Builder<E> |
A builder for creating immutable multiset instances, especially public static final
multisets ("constant multisets").
|
ImmutableSortedSet<E> |
A NavigableSet whose contents will never change, with many other important properties
detailed at ImmutableCollection .
|
ImmutableSortedSet.Builder<E> |
A builder for creating immutable sorted set instances, especially
public static final sets ("constant sets"), with a given comparator.
|
ImmutableTable<R,C,V> |
|
ImmutableTable.Builder<R,C,V> |
A builder for creating immutable table instances, especially public
static final tables ("constant tables").
|
ImmutableTypeToInstanceMap<B> |
|
ImmutableTypeToInstanceMap.Builder<B> |
A builder for creating immutable type-to-instance maps.
|
ImmutableValueGraph<N,V> |
A ValueGraph whose elements and structural relationships will never change.
|
InetAddresses |
Static utility methods pertaining to InetAddress instances.
|
InetAddresses.TeredoInfo |
A simple immutable data class to encapsulate the information to be found in a Teredo address.
|
Interner<E> |
Provides equivalent behavior to String.intern() for other immutable
types.
|
Interners |
Contains static methods pertaining to instances of Interner .
|
InternetDomainName |
An immutable well-formed internet domain name, such as com or
foo.co.uk .
|
IntMath |
A class for arithmetic on values of type int .
|
Ints |
Static utility methods pertaining to int primitives, that are not already found in either
Integer or Arrays .
|
Invokable<T,R> |
Wrapper around either a Method or a Constructor .
|
Iterables |
This class contains static utility methods that operate on or return objects
of type Iterable .
|
IteratorFeature |
A method supported by implementations of the Iterator or
ListIterator interface.
|
Iterators |
This class contains static utility methods that operate on or return objects
of type Iterator .
|
IteratorTester<E> |
A utility for testing an Iterator implementation by comparing its behavior to
that of a "known good" reference implementation.
|
IteratorTestSuiteBuilder<E> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
an Iterator implementation.
|
JdkFutureAdapters |
Utilities necessary for working with libraries that supply plain Future instances.
|
Joiner |
An object which joins pieces of text (specified as an array, Iterable , varargs or even a
Map ) with a separator.
|
Joiner.MapJoiner |
An object that joins map entries in the same manner as Joiner joins iterables and
arrays.
|
LinearTransformation |
The representation of a linear transformation between real numbers x and y .
|
LinearTransformation.LinearTransformationBuilder |
This is an intermediate stage in the construction process.
|
LineProcessor<T> |
A callback to be used with the streaming readLines methods.
|
LineReader |
A class for reading lines of text.
|
LinkedHashMultimap<K,V> |
Implementation of Multimap that does not allow duplicate key-value
entries and that returns collections whose iterators follow the ordering in
which the data was added to the multimap.
|
LinkedHashMultiset<E> |
A Multiset implementation with predictable iteration order.
|
LinkedListMultimap<K,V> |
An implementation of ListMultimap that supports deterministic
iteration order for both keys and values.
|
ListAddAllAtIndexTester<E> |
A generic JUnit test which tests addAll(int, Collection) operations
on a list.
|
ListAddAllTester<E> |
A generic JUnit test which tests addAll(Collection) operations on a
list.
|
ListAddAtIndexTester<E> |
A generic JUnit test which tests add(int, Object) operations on a
list.
|
ListAddTester<E> |
A generic JUnit test which tests add(Object) operations on a list.
|
ListCreationTester<E> |
A generic JUnit test which tests creation (typically through a constructor or
static factory method) of a list.
|
ListenableFuture<V> |
A Future that accepts completion listeners.
|
ListenableFutureTask<V> |
|
ListenableScheduledFuture<V> |
|
ListeningExecutorService |
|
ListeningScheduledExecutorService |
A ScheduledExecutorService that returns ListenableFuture instances from its
ExecutorService methods.
|
ListEqualsTester<E> |
Tests List.equals(java.lang.Object) .
|
ListFeature |
Optional features of classes derived from List .
|
ListFeature.Require |
|
ListGenerators |
Common generators of different types of lists.
|
ListGenerators.BuilderAddAllListGenerator |
|
ListGenerators.BuilderAddListGenerator |
|
ListGenerators.BuilderReversedListGenerator |
|
ListGenerators.CharactersOfCharSequenceGenerator |
|
ListGenerators.CharactersOfStringGenerator |
|
ListGenerators.ImmutableListHeadSubListGenerator |
|
ListGenerators.ImmutableListMiddleSubListGenerator |
|
ListGenerators.ImmutableListOfGenerator |
|
ListGenerators.ImmutableListTailSubListGenerator |
|
ListGenerators.UnhashableElementsImmutableListGenerator |
|
ListGetTester<E> |
A generic JUnit test which tests get() operations on a list.
|
ListHashCodeTester<E> |
Tests List.hashCode() .
|
ListIndexOfTester<E> |
A generic JUnit test which tests indexOf() operations on a list.
|
ListIteratorTester<E> |
A utility similar to IteratorTester for testing a
ListIterator against a known good reference implementation.
|
ListLastIndexOfTester<E> |
A generic JUnit test which tests lastIndexOf() operations on a list.
|
ListListIteratorTester<E> |
A generic JUnit test which tests listIterator operations on a list.
|
ListMultimap<K,V> |
A Multimap that can hold duplicate key-value pairs and that maintains
the insertion ordering of values for a given key.
|
ListMultimapAsMapTester<K,V> |
|
ListMultimapEqualsTester<K,V> |
|
ListMultimapPutAllTester<K,V> |
|
ListMultimapPutTester<K,V> |
|
ListMultimapRemoveTester<K,V> |
|
ListMultimapReplaceValuesTester<K,V> |
|
ListMultimapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a ListMultimap implementation.
|
ListRemoveAllTester<E> |
A generic JUnit test which tests removeAll operations on a list.
|
ListRemoveAtIndexTester<E> |
A generic JUnit test which tests remove(int) operations on a list.
|
ListRemoveTester<E> |
A generic JUnit test which tests remove(Object) operations on a list.
|
ListRetainAllTester<E> |
A generic JUnit test which tests retainAll operations on a list.
|
Lists |
Static utility methods pertaining to List instances.
|
ListSetTester<E> |
A generic JUnit test which tests set() operations on a list.
|
ListSubListTester<E> |
A generic JUnit test which tests subList() operations on a list.
|
ListTestSuiteBuilder<E> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a List implementation.
|
ListToArrayTester<E> |
A generic JUnit test which tests toArray() operations on a list.
|
LittleEndianDataInputStream |
An implementation of DataInput that uses little-endian byte ordering for reading
short , int , float , double , and long values.
|
LittleEndianDataOutputStream |
An implementation of DataOutput that uses little-endian byte ordering for writing
char , short , int , float , double , and long values.
|
LoadingCache<K,V> |
A semi-persistent mapping from keys to values.
|
LongMath |
A class for arithmetic on values of type long .
|
Longs |
Static utility methods pertaining to long primitives, that are not already found in
either Long or Arrays .
|
MapClearTester<K,V> |
A generic JUnit test which tests clear() operations on a map.
|
MapConstraint<K,V> |
Deprecated.
|
MapConstraints |
Deprecated.
|
MapContainsKeyTester<K,V> |
A generic JUnit test which tests containsKey() operations on a map.
|
MapContainsValueTester<K,V> |
A generic JUnit test which tests containsValue() operations on a map.
|
MapCreationTester<K,V> |
A generic JUnit test which tests creation (typically through a constructor or
static factory method) of a map.
|
MapDifference<K,V> |
An object representing the differences between two maps.
|
MapDifference.ValueDifference<V> |
A difference between the mappings from two maps with the same key.
|
MapEntrySetTester<K,V> |
Tests Map.entrySet() .
|
MapEqualsTester<K,V> |
Tests Map.equals(java.lang.Object) .
|
MapFeature |
Optional features of classes derived from Map .
|
MapFeature.Require |
|
MapGenerators |
Generators of different types of map and related collections, such as
keys, entries and values.
|
MapGenerators.ImmutableEnumMapGenerator |
|
MapGenerators.ImmutableMapCopyOfEntriesGenerator |
|
MapGenerators.ImmutableMapCopyOfEnumMapGenerator |
|
MapGenerators.ImmutableMapCopyOfGenerator |
|
MapGenerators.ImmutableMapEntryListGenerator |
|
MapGenerators.ImmutableMapGenerator |
|
MapGenerators.ImmutableMapKeyListGenerator |
|
MapGenerators.ImmutableMapUnhashableValuesGenerator |
|
MapGenerators.ImmutableMapValueListGenerator |
|
MapGetTester<K,V> |
A generic JUnit test which tests get operations on a map.
|
MapHashCodeTester<K,V> |
Tests Map.hashCode() .
|
MapInterfaceTest<K,V> |
Tests representing the contract of Map .
|
MapIsEmptyTester<K,V> |
A generic JUnit test which tests isEmpty() operations on a
map.
|
MapMaker |
A builder of ConcurrentMap instances that can have keys or values automatically
wrapped in weak references.
|
MapPutAllTester<K,V> |
A generic JUnit test which tests putAll operations on a map.
|
MapPutTester<K,V> |
A generic JUnit test which tests put operations on a map.
|
MapRemoveTester<K,V> |
A generic JUnit test which tests remove operations on a map.
|
Maps |
Static utility methods pertaining to Map instances (including instances of
SortedMap , BiMap , etc.).
|
Maps.EntryTransformer<K,V1,V2> |
A transformation of the value of a key-value pair, using both key and value
as inputs.
|
MapSerializationTester<K,V> |
Basic serialization test for maps.
|
MapSizeTester<K,V> |
A generic JUnit test which tests size() operations on a map.
|
MapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a Map implementation.
|
MapToStringTester<K,V> |
A generic JUnit test which tests toString() operations on a map.
|
MediaType |
|
MinimalCollection<E> |
A simplistic collection which implements only the bare minimum allowed by the
spec, and throws exceptions whenever it can.
|
MinimalIterable<E> |
An implementation of Iterable which throws an exception on all
invocations of the MinimalIterable.iterator() method after the first, and whose
iterator is always unmodifiable.
|
MinimalSet<E> |
A simplistic set which implements the bare minimum so that it can be used in
tests without relying on any specific Set implementations.
|
MinMaxPriorityQueue<E> |
A double-ended priority queue, which provides constant-time access to both
its least element and its greatest element, as determined by the queue's
specified comparator.
|
MinMaxPriorityQueue.Builder<B> |
The builder class used in creation of min-max priority queues.
|
MockFutureListener |
A simple mock implementation of Runnable that can be used for
testing ListenableFutures.
|
Monitor |
A synchronization abstraction supporting waiting on arbitrary boolean conditions.
|
Monitor.Guard |
A boolean condition for which a thread may wait.
|
MoreExecutors |
Factory and utility methods for Executor , ExecutorService ,
and ThreadFactory .
|
MoreObjects |
Helper functions that operate on any Object , and are not already provided in
Objects .
|
MoreObjects.ToStringHelper |
|
Multimap<K,V> |
A collection that maps keys to values, similar to Map , but in which
each key may be associated with multiple values.
|
MultimapAsMapGetTester<K,V> |
Tests for Multimap.asMap().get(Object) .
|
MultimapAsMapTester<K,V> |
|
MultimapBuilder<K0,V0> |
A builder for a multimap implementation that allows customization of the backing map and value
collection implementations used in a particular multimap.
|
MultimapBuilder.ListMultimapBuilder<K0,V0> |
|
MultimapBuilder.MultimapBuilderWithKeys<K0> |
An intermediate stage in a MultimapBuilder in which the key-value collection map
implementation has been specified, but the value collection implementation has not.
|
MultimapBuilder.SetMultimapBuilder<K0,V0> |
|
MultimapBuilder.SortedSetMultimapBuilder<K0,V0> |
|
MultimapClearTester<K,V> |
|
MultimapContainsEntryTester<K,V> |
|
MultimapContainsKeyTester<K,V> |
Tester for the containsKey methods of Multimap and its asMap() view.
|
MultimapContainsValueTester<K,V> |
|
MultimapEntriesTester<K,V> |
Tester for Multimap.entries .
|
MultimapEqualsTester<K,V> |
Tester for Multimap.equals .
|
MultimapFeature |
Optional features of classes derived from Multimap .
|
MultimapFeature.Require |
|
MultimapGetTester<K,V> |
|
MultimapKeySetTester<K,V> |
Tester for Multimap.keySet .
|
MultimapKeysTester<K,V> |
Tester for Multimap.entries .
|
MultimapPutAllMultimapTester<K,V> |
|
MultimapPutIterableTester<K,V> |
|
MultimapPutTester<K,V> |
|
MultimapRemoveAllTester<K,V> |
|
MultimapRemoveEntryTester<K,V> |
|
MultimapReplaceValuesTester<K,V> |
|
Multimaps |
Provides static methods acting on or generating a Multimap .
|
MultimapSizeTester<K,V> |
Tester for the size methods of Multimap and its views.
|
MultimapTestSuiteBuilder<K,V,M extends Multimap<K,V>> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a Multimap implementation.
|
MultimapToStringTester<K,V> |
Tester for Multimap.toString() .
|
MultimapValuesTester<K,V> |
Tester for Multimap.values .
|
Multiset<E> |
A collection that supports order-independent equality, like Set , but
may have duplicate elements.
|
Multiset.Entry<E> |
An unmodifiable element-count pair for a multiset.
|
MultisetAddTester<E> |
Tests for Multiset.add .
|
MultisetContainsTester<E> |
Tests for Multiset.containsAll not already addressed by CollectionContainsTester .
|
MultisetCountTester<E> |
Tests for Multiset#count .
|
MultisetElementSetTester<E> |
Tests for Multiset.elementSet() not covered by the derived SetTestSuiteBuilder .
|
MultisetEntrySetTester<E> |
Tests for Multiset.entrySet .
|
MultisetEqualsTester<E> |
Tests for Multiset.equals and Multiset.hashCode .
|
MultisetFeature |
Optional features of classes derived from Multiset .
|
MultisetFeature.Require |
|
MultisetIteratorTester<E> |
Tester to make sure the iterator().remove() implementation of Multiset works when
there are multiple occurrences of elements.
|
MultisetNavigationTester<E> |
Tester for navigation of SortedMultisets.
|
MultisetReadsTester<E> |
A generic JUnit test which tests multiset-specific read operations.
|
MultisetRemoveTester<E> |
Tests for Multiset#remove , Multiset.removeAll , and Multiset.retainAll
not already covered by the corresponding Collection testers.
|
Multisets |
Provides static utility methods for creating and working with Multiset instances.
|
MultisetSerializationTester<E> |
A generic JUnit test which tests multiset-specific serialization.
|
MultisetSetCountConditionallyTester<E> |
A generic JUnit test which tests conditional setCount() operations on
a multiset.
|
MultisetSetCountUnconditionallyTester<E> |
A generic JUnit test which tests unconditional setCount() operations
on a multiset.
|
MultisetTestSuiteBuilder<E> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a Multiset implementation.
|
MultisetTestSuiteBuilder.NoRecurse |
|
MutableClassToInstanceMap<B> |
A mutable class-to-instance map backed by an arbitrary user-provided map.
|
MutableGraph<N> |
A subinterface of Graph which adds mutation methods.
|
MutableNetwork<N,E> |
A subinterface of Network which adds mutation methods.
|
MutableTypeToInstanceMap<B> |
A mutable type-to-instance map.
|
MutableValueGraph<N,V> |
A subinterface of ValueGraph which adds mutation methods.
|
NavigableMapNavigationTester<K,V> |
A generic JUnit test which tests operations on a NavigableMap.
|
NavigableMapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a NavigableMap implementation.
|
NavigableMapTestSuiteBuilder.NavigableMapSubmapTestMapGenerator<K,V> |
|
NavigableSetNavigationTester<E> |
A generic JUnit test which tests operations on a NavigableSet.
|
NavigableSetTestSuiteBuilder<E> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a NavigableSet implementation.
|
NavigableSetTestSuiteBuilder.NavigableSetSubsetTestSetGenerator<E> |
|
Network<N,E> |
An interface for graph-structured data,
whose edges are unique objects.
|
NetworkBuilder<N,E> |
A builder for constructing instances of MutableNetwork with user-defined properties.
|
NullPointerTester |
A test utility that verifies that your methods and constructors throw NullPointerException or UnsupportedOperationException whenever null
is passed to a parameter that isn't annotated with Nullable .
|
NullPointerTester.Visibility |
Visibility of any method or constructor.
|
ObjectArrays |
Static utility methods pertaining to object arrays.
|
Objects |
Helper functions that can operate on any Object .
|
Objects.ToStringHelper |
Deprecated.
|
OneSizeGenerator<T,E> |
Generator for collection of a particular size.
|
OneSizeTestContainerGenerator<T,E> |
The subject-generator interface accepted by Collection testers, for testing
a Collection at one particular CollectionSize .
|
Optional<T> |
An immutable object that may contain a non-null reference to another object.
|
Ordering<T> |
A comparator, with additional methods to support common operations.
|
PairedStats |
An immutable value object capturing some basic statistics about a collection of paired double
values (e.g.
|
PairedStatsAccumulator |
A mutable object which accumulates paired double values (e.g.
|
Parameter |
Represents a method or constructor parameter.
|
PatternFilenameFilter |
File name filter that only accepts files matching a regular expression.
|
PeekingIterator<E> |
An iterator that supports a one-element lookahead while iterating.
|
PercentEscaper |
A UnicodeEscaper that escapes some set of Java characters using a UTF-8 based percent
encoding scheme.
|
PerCollectionSizeTestSuiteBuilder<B extends PerCollectionSizeTestSuiteBuilder<B,G,T,E>,G extends TestContainerGenerator<T,E>,T,E> |
|
Preconditions |
Static convenience methods that help a method or constructor check whether it was invoked
correctly (whether its preconditions have been met).
|
Predicate<T> |
Determines a true or false value for a given input; a pre-Java-8 version of
java.util.function.Predicate .
|
Predicates |
Static utility methods pertaining to Predicate instances.
|
Primitives |
Contains static utility methods pertaining to primitive types and their corresponding wrapper
types.
|
PrimitiveSink |
An object which can receive a stream of primitive values.
|
PublicSuffixPatterns |
Do not use this class directly.
|
Quantiles |
Provides a fluent API for calculating
quantiles.
|
Quantiles.Scale |
Describes the point in a fluent API chain where only the scale (i.e.
|
Quantiles.ScaleAndIndex |
Describes the point in a fluent API chain where the scale and a single quantile index (i.e.
|
Quantiles.ScaleAndIndexes |
Describes the point in a fluent API chain where the scale and a multiple quantile indexes (i.e.
|
QueueElementTester<E> |
A generic JUnit test which tests element() operations on a queue.
|
QueueOfferTester<E> |
A generic JUnit test which tests offer operations on a queue.
|
QueuePeekTester<E> |
A generic JUnit test which tests peek() operations on a queue.
|
QueuePollTester<E> |
A generic JUnit test which tests poll() operations on a queue.
|
QueueRemoveTester<E> |
A generic JUnit test which tests remove() operations on a queue.
|
Queues |
Static utility methods pertaining to Queue and Deque instances.
|
QueueTestSuiteBuilder<E> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a queue implementation.
|
Range<C extends java.lang.Comparable> |
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." Note that it is not
possible to iterate over these contained values.
|
RangeMap<K extends java.lang.Comparable,V> |
A mapping from disjoint nonempty ranges to non-null values.
|
RangeSet<C extends java.lang.Comparable> |
|
RateLimiter |
A rate limiter.
|
Reflection |
Static utilities relating to Java reflection.
|
RemovalCause |
The reason why a cached entry was removed.
|
RemovalListener<K,V> |
An object that can receive a notification when an entry is removed from a cache.
|
RemovalListeners |
A collection of common removal listeners.
|
RemovalNotification<K,V> |
A notification of the removal of a single entry.
|
ReserializingTestCollectionGenerator<E> |
Reserializes the sets created by another test set generator.
|
ReserializingTestSetGenerator<E> |
Reserializes the sets created by another test set generator.
|
Resources |
Provides utility methods for working with resources in the classpath.
|
RowSortedTable<R,C,V> |
Interface that extends Table and whose rows are sorted.
|
Runnables |
Static utility methods pertaining to the Runnable interface.
|
SafeTreeMap<K,V> |
A wrapper around TreeMap that aggressively checks to see if keys are
mutually comparable.
|
SafeTreeSet<E> |
A wrapper around TreeSet that aggressively checks to see if elements
are mutually comparable.
|
SampleElements<E> |
A container class for the five sample elements we need for testing.
|
SampleElements.Chars |
|
SampleElements.Colliders |
|
SampleElements.Enums |
|
SampleElements.Ints |
|
SampleElements.Strings |
|
SampleElements.Unhashables |
|
SerializableTester |
Tests serialization and deserialization of an object, optionally asserting
that the resulting object is equal to the original.
|
Service |
|
Service.Listener |
A listener for the various state changes that a Service goes through in its lifecycle.
|
Service.State |
The lifecycle states of a service.
|
ServiceManager |
A manager for monitoring and controlling a set of services.
|
ServiceManager.Listener |
A listener for the aggregate state changes of the services that are under management.
|
SetAddAllTester<E> |
A generic JUnit test which tests addAll operations on a set.
|
SetAddTester<E> |
A generic JUnit test which tests add operations on a set.
|
SetCreationTester<E> |
A generic JUnit test which tests creation (typically through a constructor or
static factory method) of a set.
|
SetEqualsTester<E> |
Tests Set.equals(java.lang.Object) .
|
SetFeature |
Optional features of classes derived from Set .
|
SetFeature.Require |
|
SetGenerators |
Generators of different types of sets and derived collections from sets.
|
SetGenerators.ContiguousSetDescendingGenerator |
|
SetGenerators.ContiguousSetGenerator |
|
SetGenerators.ContiguousSetHeadsetGenerator |
|
SetGenerators.ContiguousSetSubsetGenerator |
|
SetGenerators.ContiguousSetTailsetGenerator |
|
SetGenerators.DegeneratedImmutableSetGenerator |
|
SetGenerators.ImmutableSetAsListGenerator |
|
SetGenerators.ImmutableSetCopyOfGenerator |
|
SetGenerators.ImmutableSetWithBadHashesGenerator |
|
SetGenerators.ImmutableSortedSetAsListGenerator |
|
SetGenerators.ImmutableSortedSetAsListSubListGenerator |
|
SetGenerators.ImmutableSortedSetCopyOfGenerator |
|
SetGenerators.ImmutableSortedSetDescendingAsListGenerator |
|
SetGenerators.ImmutableSortedSetDescendingGenerator |
|
SetGenerators.ImmutableSortedSetExplicitComparator |
|
SetGenerators.ImmutableSortedSetExplicitSuperclassComparatorGenerator |
|
SetGenerators.ImmutableSortedSetHeadsetGenerator |
|
SetGenerators.ImmutableSortedSetReversedOrderGenerator |
|
SetGenerators.ImmutableSortedSetSubsetAsListGenerator |
|
SetGenerators.ImmutableSortedSetSubsetAsListSubListGenerator |
|
SetGenerators.ImmutableSortedSetSubsetGenerator |
|
SetGenerators.ImmutableSortedSetTailsetGenerator |
|
SetGenerators.ImmutableSortedSetUnhashableGenerator |
|
SetGenerators.TestUnhashableSetGenerator |
|
SetHashCodeTester<E> |
Tests Set.hashCode() .
|
SetMultimap<K,V> |
A Multimap that cannot hold duplicate key-value pairs.
|
SetMultimapAsMapTester<K,V> |
|
SetMultimapEqualsTester<K,V> |
|
SetMultimapPutAllTester<K,V> |
|
SetMultimapPutTester<K,V> |
|
SetMultimapReplaceValuesTester<K,V> |
|
SetMultimapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a SetMultimap implementation.
|
SetRemoveTester<E> |
A generic JUnit test which tests remove operations on a set.
|
Sets |
Static utility methods pertaining to Set instances.
|
Sets.SetView<E> |
An unmodifiable view of a set which may be backed by other sets; this view
will change as the backing sets do.
|
SettableFuture<V> |
|
SetTestSuiteBuilder<E> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a Set implementation.
|
Shorts |
Static utility methods pertaining to short primitives, that are not already found in
either Short or Arrays .
|
SignedBytes |
Static utility methods pertaining to byte primitives that interpret values as signed.
|
SimpleTimeLimiter |
A TimeLimiter that runs method calls in the background using an ExecutorService .
|
SloppyTearDown |
Simple utility for when you want to create a TearDown that may throw
an exception but should not fail a test when it does.
|
SortedMapDifference<K,V> |
An object representing the differences between two sorted maps.
|
SortedMapGenerators |
Generators of sorted maps and derived collections.
|
SortedMapGenerators.ImmutableSortedMapCopyOfEntriesGenerator |
|
SortedMapGenerators.ImmutableSortedMapEntryListGenerator |
|
SortedMapGenerators.ImmutableSortedMapGenerator |
|
SortedMapGenerators.ImmutableSortedMapKeyListGenerator |
|
SortedMapGenerators.ImmutableSortedMapValueListGenerator |
|
SortedMapInterfaceTest<K,V> |
Tests representing the contract of SortedMap .
|
SortedMapNavigationTester<K,V> |
A generic JUnit test which tests operations on a SortedMap.
|
SortedMapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a SortedMap implementation.
|
SortedMultiset<E> |
A Multiset which maintains the ordering of its elements, according to
either their natural order or an explicit Comparator .
|
SortedMultisetTestSuiteBuilder<E> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests a
SortedMultiset implementation.
|
SortedSetMultimap<K,V> |
A SetMultimap whose set of values for a given key are kept sorted;
that is, they comprise a SortedSet .
|
SortedSetMultimapAsMapTester<K,V> |
|
SortedSetMultimapGetTester<K,V> |
|
SortedSetMultimapTestSuiteBuilder<K,V> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a SortedSetMultimap implementation.
|
SortedSetNavigationTester<E> |
A generic JUnit test which tests operations on a SortedSet.
|
SortedSetTestSuiteBuilder<E> |
Creates, based on your criteria, a JUnit test suite that exhaustively tests
a SortedSet implementation.
|
Splitter |
Extracts non-overlapping substrings from an input string, typically by recognizing appearances of
a separator sequence.
|
Splitter.MapSplitter |
An object that splits strings into maps as Splitter splits iterables and lists.
|
StandardSystemProperty |
Represents a standard system property.
|
Stats |
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.
|
StatsAccumulator |
A mutable object which accumulates double values and tracks some basic statistics over all the
values added so far.
|
Stopwatch |
An object that measures elapsed time in nanoseconds.
|
Strings |
Static utility methods pertaining to String or CharSequence instances.
|
Striped<L> |
A striped Lock/Semaphore/ReadWriteLock .
|
Subscribe |
Marks a method as an event subscriber.
|
SubscriberExceptionContext |
Context for an exception thrown by a subscriber.
|
SubscriberExceptionHandler |
Handler for exceptions thrown by event subscribers.
|
Supplier<T> |
A class that can supply objects of a single type; a pre-Java-8 version of
java.util.function.Supplier .
|
Suppliers |
Useful suppliers.
|
Table<R,C,V> |
A collection that associates an ordered pair of keys, called a row key and a
column key, with a single value.
|
Table.Cell<R,C,V> |
Row key / column key / value triplet corresponding to a mapping in a table.
|
Tables |
Provides static methods that involve a Table .
|
TearDown |
|
TearDownAccepter |
Any object which can accept registrations of TearDown instances.
|
TearDownStack |
A TearDownStack contains a stack of TearDown instances.
|
TestBiMapGenerator<K,V> |
Creates bimaps, containing sample entries, to be tested.
|
TestCharacterListGenerator |
Generates List<Character> instances for test suites.
|
TestCollectionGenerator<E> |
Creates collections, containing sample elements, to be tested.
|
TestCollidingSetGenerator |
A generator using sample elements whose hash codes all collide badly.
|
TestContainerGenerator<T,E> |
To be implemented by test generators of things that can contain
elements.
|
TestEnumMapGenerator |
|
TestEnumMultisetGenerator |
An abstract TestMultisetGenerator for generating multisets containing
enum values.
|
TestEnumSetGenerator |
An abstract TestSetGenerator for generating sets containing enum values.
|
TesterAnnotation |
Use this to meta-annotate XxxFeature.Require annotations, so that those annotations can
be used to decide whether to apply a test to a given class-under-test.
|
TesterRequirements |
Encapsulates the constraints that a class under test must satisfy in order
for a tester method to be run against that class.
|
TestingExecutors |
Factory methods for ExecutorService for testing.
|
TestIntegerSetGenerator |
Create integer sets for collection tests.
|
TestIntegerSortedSetGenerator |
Create integer sets for testing collections that are sorted by natural
ordering.
|
TestIteratorGenerator<E> |
Creates iterators to be tested.
|
TestListGenerator<E> |
Creates sets, containing sample elements, to be tested.
|
TestListMultimapGenerator<K,V> |
A generator for ListMultimap implementations based on test data.
|
TestLogHandler |
Tests may use this to intercept messages that are logged by the code under
test.
|
TestMapEntrySetGenerator<K,V> |
Creates map entries using sample keys and sample values.
|
TestMapGenerator<K,V> |
Creates maps, containing sample elements, to be tested.
|
TestMultimapGenerator<K,V,M extends Multimap<K,V>> |
Creates multimaps, containing sample elements, to be tested.
|
TestMultisetGenerator<E> |
Creates multisets, containing sample elements, to be tested.
|
TestQueueGenerator<E> |
Creates queues, containing sample elements, to be tested.
|
TestSetGenerator<E> |
Creates sets, containing sample elements, to be tested.
|
TestSetMultimapGenerator<K,V> |
A generator for SetMultimap implementations based on test data.
|
TestsForListsInJavaUtil |
Generates a test suite covering the List implementations in the
java.util package.
|
TestsForMapsInJavaUtil |
Generates a test suite covering the Map implementations in the
java.util package.
|
TestsForQueuesInJavaUtil |
Generates a test suite covering the Queue implementations in the
java.util package.
|
TestsForSetsInJavaUtil |
Generates a test suite covering the Set implementations in the
java.util package.
|
TestSortedMapGenerator<K,V> |
Creates sorted maps, containing sample elements, to be tested.
|
TestSortedSetGenerator<E> |
Creates sorted sets, containing sample elements, to be tested.
|
TestStringBiMapGenerator |
|
TestStringCollectionGenerator |
String creation for testing arbitrary collections.
|
TestStringListGenerator |
TODO: javadoc.
|
TestStringListMultimapGenerator |
A skeleton generator for a ListMultimap implementation.
|
TestStringMapGenerator |
|
TestStringMultisetGenerator |
Create multisets of strings for tests.
|
TestStringQueueGenerator |
Create queue of strings for tests.
|
TestStringSetGenerator |
Create string sets for collection tests.
|
TestStringSetMultimapGenerator |
A skeleton generator for a SetMultimap implementation.
|
TestStringSortedMapGenerator |
|
TestStringSortedSetGenerator |
Create string sets for testing collections that are sorted by natural
ordering.
|
TestSubjectGenerator<T> |
To be implemented by test generators that can produce test subjects without
requiring any parameters.
|
TestUnhashableCollectionGenerator<T extends java.util.Collection<UnhashableObject>> |
Creates collections containing unhashable sample elements, to be tested.
|
ThreadFactoryBuilder |
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
|
Throwables |
Static utility methods pertaining to instances of Throwable .
|
Ticker |
A time source; returns a time value representing the number of nanoseconds elapsed since some
fixed but arbitrary point in time.
|
TimeLimiter |
Produces proxies that impose a time limit on method calls to the proxied object.
|
TreeBasedTable<R,C,V> |
Implementation of Table whose row keys and column keys are ordered
by their natural ordering or by supplied comparators.
|
TreeMultimap<K,V> |
Implementation of Multimap whose keys and values are ordered by
their natural ordering or by supplied comparators.
|
TreeMultiset<E> |
A multiset which maintains the ordering of its elements, according to either their natural order
or an explicit Comparator .
|
TreeRangeMap<K extends java.lang.Comparable,V> |
An implementation of RangeMap based on a TreeMap , supporting
all optional operations.
|
TreeRangeSet<C extends java.lang.Comparable<?>> |
An implementation of RangeSet backed by a TreeMap .
|
TreeTraverser<T> |
Views elements of a type T as nodes in a tree, and provides methods to traverse the trees
induced by this traverser.
|
TypeParameter<T> |
|
TypeResolver |
An object of this class encapsulates type mappings from type variables.
|
TypeToInstanceMap<B> |
A map, each entry of which maps a TypeToken to an instance of that type.
|
TypeToken<T> |
A Type with generics.
|
UncaughtExceptionHandlers |
Factories for Thread.UncaughtExceptionHandler instances.
|
UncheckedExecutionException |
Unchecked variant of ExecutionException .
|
UncheckedTimeoutException |
Unchecked version of TimeoutException .
|
UnhashableObject |
An unhashable object to be used in testing as values in our collections.
|
UnicodeEscaper |
An Escaper that converts literal text into a format safe for inclusion in a particular
context (such as an XML document).
|
Uninterruptibles |
Utilities for treating interruptible operations as uninterruptible.
|
UnmodifiableCollectionTests |
A series of tests that support asserting that collections cannot be
modified, either through direct or indirect means.
|
UnmodifiableIterator<E> |
|
UnmodifiableListIterator<E> |
|
UnsignedBytes |
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 ).
|
UnsignedInteger |
A wrapper class for unsigned int values, supporting arithmetic operations.
|
UnsignedInts |
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 ).
|
UnsignedLong |
A wrapper class for unsigned long values, supporting arithmetic operations.
|
UnsignedLongs |
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 ).
|
UrlEscapers |
Escaper instances suitable for strings to be included in particular sections of URLs.
|
Utf8 |
Low-level, high-performance utility methods related to the UTF-8
character encoding.
|
ValueGraph<N,V> |
An interface for graph-
structured data, whose edges have associated non-unique values.
|
ValueGraphBuilder<N,V> |
A builder for constructing instances of MutableValueGraph with user-defined properties.
|
Verify |
Static convenience methods that serve the same purpose as Java language
assertions, except that they are always enabled.
|
VerifyException |
Exception thrown upon the failure of a
verification
check, including those performed by the convenience methods of the Verify class.
|
VisibleForTesting |
Annotates a program element that exists, or is more widely visible than otherwise necessary, only
for use in test code.
|
Weigher<K,V> |
Calculates the weights of cache entries.
|
WrongType |
A type which will never be used as the element type of any collection in our
tests, and so can be used to test how a Collection behaves when given input
of the wrong type.
|
XmlEscapers |
Escaper instances suitable for strings to be included in XML attribute values and
elements' text contents.
|