A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- A - com.google.common.collect.testing.AnEnum
- AAC_AUDIO - Static variable in class com.google.common.net.MediaType
-
Media type for Advanced Audio Coding.
- aboveSamplesGreater() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapSortedKeySetGenerator
- aboveSamplesGreater() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator
- aboveSamplesGreater() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator
- aboveSamplesGreater() - Method in interface com.google.common.collect.testing.TestSortedMapGenerator
-
Returns an entry with a key greater than the keys of the
TestContainerGenerator.samples()
and greater than the key ofTestSortedMapGenerator.aboveSamplesLesser()
. - aboveSamplesGreater() - Method in interface com.google.common.collect.testing.TestSortedSetGenerator
-
Returns an element greater than the
TestContainerGenerator.samples()
and greater thanTestSortedSetGenerator.aboveSamplesLesser()
. - aboveSamplesGreater() - Method in class com.google.common.collect.testing.TestStringSortedMapGenerator
- aboveSamplesGreater() - Method in class com.google.common.collect.testing.TestStringSortedSetGenerator
- aboveSamplesLesser() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapSortedKeySetGenerator
- aboveSamplesLesser() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator
- aboveSamplesLesser() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator
- aboveSamplesLesser() - Method in interface com.google.common.collect.testing.TestSortedMapGenerator
-
Returns an entry with a key greater than the keys of the
TestContainerGenerator.samples()
but less than the key ofTestSortedMapGenerator.aboveSamplesGreater()
. - aboveSamplesLesser() - Method in interface com.google.common.collect.testing.TestSortedSetGenerator
-
Returns an element greater than the
TestContainerGenerator.samples()
but less thanTestSortedSetGenerator.aboveSamplesGreater()
. - aboveSamplesLesser() - Method in class com.google.common.collect.testing.TestStringSortedMapGenerator
- aboveSamplesLesser() - Method in class com.google.common.collect.testing.TestStringSortedSetGenerator
- absent() - Static method in class com.google.common.base.Optional
-
Returns an
Optional
instance with no contained reference. - absent() - Method in annotation type com.google.common.collect.testing.features.CollectionFeature.Require
- absent() - Method in annotation type com.google.common.collect.testing.features.CollectionSize.Require
- absent() - Method in annotation type com.google.common.collect.testing.features.ListFeature.Require
- absent() - Method in annotation type com.google.common.collect.testing.features.MapFeature.Require
- absent() - Method in annotation type com.google.common.collect.testing.features.SetFeature.Require
- absent() - Method in annotation type com.google.common.collect.testing.google.MultimapFeature.Require
- absent() - Method in annotation type com.google.common.collect.testing.google.MultisetFeature.Require
- AbstractBiMapTester<K,V> - Class in com.google.common.collect.testing.google
-
Skeleton for a tester of a
BiMap
. - AbstractBiMapTester() - Constructor for class com.google.common.collect.testing.google.AbstractBiMapTester
- AbstractCache<K,V> - Class in com.google.common.cache
-
This class provides a skeletal implementation of the
Cache
interface to minimize the effort required to implement this interface. - AbstractCache() - Constructor for class com.google.common.cache.AbstractCache
-
Constructor for use by subclasses.
- AbstractCache.SimpleStatsCounter - Class in com.google.common.cache
-
A thread-safe
AbstractCache.StatsCounter
implementation for use byCache
implementors. - AbstractCache.StatsCounter - Interface in com.google.common.cache
-
Accumulates statistics during the operation of a
Cache
for presentation byCache.stats()
. - AbstractCheckedFuture<V,X extends java.lang.Exception> - Class in com.google.common.util.concurrent
-
A delegating wrapper around a
ListenableFuture
that adds support for theAbstractCheckedFuture.checkedGet()
andAbstractCheckedFuture.checkedGet(long, TimeUnit)
methods. - AbstractCheckedFuture(ListenableFuture<V>) - Constructor for class com.google.common.util.concurrent.AbstractCheckedFuture
-
Constructs an
AbstractCheckedFuture
that wraps a delegate. - AbstractCheckedFutureTest - Class in com.google.common.util.concurrent.testing
-
Test case to make sure the
CheckedFuture.checkedGet()
andCheckedFuture.checkedGet(long, TimeUnit)
methods work correctly. - AbstractCheckedFutureTest() - Constructor for class com.google.common.util.concurrent.testing.AbstractCheckedFutureTest
- AbstractCollectionTester<E> - Class in com.google.common.collect.testing
-
Base class for collection testers.
- AbstractCollectionTester() - Constructor for class com.google.common.collect.testing.AbstractCollectionTester
- AbstractCollectionTestSuiteBuilder<B extends AbstractCollectionTestSuiteBuilder<B,E>,E> - Class in com.google.common.collect.testing
-
Abstract superclass of all test-suite builders for collection interfaces.
- AbstractCollectionTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.AbstractCollectionTestSuiteBuilder
- AbstractContainerTester<C,E> - Class in com.google.common.collect.testing
-
Base class for testers of classes (including
Collection
andMap
) that contain elements. - AbstractContainerTester() - Constructor for class com.google.common.collect.testing.AbstractContainerTester
- AbstractContainerTester.ArrayWithDuplicate<E> - Class in com.google.common.collect.testing
- AbstractExecutionThreadService - Class in com.google.common.util.concurrent
-
Base class for services that can implement
AbstractExecutionThreadService.startUp()
,AbstractExecutionThreadService.run()
andAbstractExecutionThreadService.shutDown()
methods. - AbstractExecutionThreadService() - Constructor for class com.google.common.util.concurrent.AbstractExecutionThreadService
-
Constructor for use by subclasses.
- AbstractFuture<V> - Class in com.google.common.util.concurrent
-
An abstract implementation of
ListenableFuture
, intended for advanced users only. - AbstractFuture() - Constructor for class com.google.common.util.concurrent.AbstractFuture
-
Constructor for use by subclasses.
- AbstractGraph<N> - Class in com.google.common.graph
-
This class provides a skeletal implementation of
Graph
. - AbstractGraph() - Constructor for class com.google.common.graph.AbstractGraph
- AbstractIdleService - Class in com.google.common.util.concurrent
-
Base class for services that do not need a thread while "running" but may need one during startup and shutdown.
- AbstractIdleService() - Constructor for class com.google.common.util.concurrent.AbstractIdleService
-
Constructor for use by subclasses.
- AbstractInvocationHandler - Class in com.google.common.reflect
-
Abstract implementation of
InvocationHandler
that handlesObject.equals(java.lang.Object)
,Object.hashCode()
andObject.toString()
. - AbstractInvocationHandler() - Constructor for class com.google.common.reflect.AbstractInvocationHandler
- AbstractIterator<T> - Class in com.google.common.collect
-
This class provides a skeletal implementation of the
Iterator
interface, to make this interface easier to implement for certain types of data sources. - AbstractIterator() - Constructor for class com.google.common.collect.AbstractIterator
-
Constructor for use by subclasses.
- AbstractListenableFutureTest - Class in com.google.common.util.concurrent.testing
-
Abstract test case parent for anything implementing
ListenableFuture
. - AbstractListenableFutureTest() - Constructor for class com.google.common.util.concurrent.testing.AbstractListenableFutureTest
- AbstractListeningExecutorService - Class in com.google.common.util.concurrent
-
Abstract
ListeningExecutorService
implementation that createsListenableFuture
instances for eachRunnable
andCallable
submitted to it. - AbstractListeningExecutorService() - Constructor for class com.google.common.util.concurrent.AbstractListeningExecutorService
- AbstractListIndexOfTester<E> - Class in com.google.common.collect.testing.testers
-
Common parent class for
ListIndexOfTester
andListLastIndexOfTester
. - AbstractListIndexOfTester() - Constructor for class com.google.common.collect.testing.testers.AbstractListIndexOfTester
- AbstractListMultimapTester<K,V> - Class in com.google.common.collect.testing.google
-
Superclass for all
ListMultimap
testers. - AbstractListMultimapTester() - Constructor for class com.google.common.collect.testing.google.AbstractListMultimapTester
- AbstractListTester<E> - Class in com.google.common.collect.testing.testers
-
Base class for list testers.
- AbstractListTester() - Constructor for class com.google.common.collect.testing.testers.AbstractListTester
- AbstractLoadingCache<K,V> - Class in com.google.common.cache
-
This class provides a skeletal implementation of the
Cache
interface to minimize the effort required to implement this interface. - AbstractLoadingCache() - Constructor for class com.google.common.cache.AbstractLoadingCache
-
Constructor for use by subclasses.
- AbstractMapTester<K,V> - Class in com.google.common.collect.testing
-
Base class for map testers.
- AbstractMapTester() - Constructor for class com.google.common.collect.testing.AbstractMapTester
- AbstractMultimapTester<K,V,M extends Multimap<K,V>> - Class in com.google.common.collect.testing.google
-
Superclass for all
Multimap
testers. - AbstractMultimapTester() - Constructor for class com.google.common.collect.testing.google.AbstractMultimapTester
- AbstractMultisetSetCountTester<E> - Class in com.google.common.collect.testing.google
-
Common superclass for
MultisetSetCountUnconditionallyTester
andMultisetSetCountConditionallyTester
. - AbstractMultisetSetCountTester() - Constructor for class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- AbstractMultisetTester<E> - Class in com.google.common.collect.testing.google
-
Base class for multiset collection tests.
- AbstractMultisetTester() - Constructor for class com.google.common.collect.testing.google.AbstractMultisetTester
- AbstractNetwork<N,E> - Class in com.google.common.graph
-
This class provides a skeletal implementation of
Network
. - AbstractNetwork() - Constructor for class com.google.common.graph.AbstractNetwork
- AbstractPackageSanityTests - Class in com.google.common.testing
-
Automatically runs sanity checks against top level classes in the same package of the test that extends
AbstractPackageSanityTests
. - AbstractPackageSanityTests() - Constructor for class com.google.common.testing.AbstractPackageSanityTests
- AbstractQueueTester<E> - Class in com.google.common.collect.testing.testers
-
Base class for queue collection tests.
- AbstractQueueTester() - Constructor for class com.google.common.collect.testing.testers.AbstractQueueTester
- AbstractScheduledService - Class in com.google.common.util.concurrent
-
Base class for services that can implement
AbstractScheduledService.startUp()
andAbstractScheduledService.shutDown()
but while in the "running" state need to perform a periodic task. - AbstractScheduledService() - Constructor for class com.google.common.util.concurrent.AbstractScheduledService
-
Constructor for use by subclasses.
- AbstractScheduledService.CustomScheduler - Class in com.google.common.util.concurrent
-
A
AbstractScheduledService.Scheduler
that provides a convenient way for theAbstractScheduledService
to use a dynamically changing schedule. - AbstractScheduledService.CustomScheduler.Schedule - Class in com.google.common.util.concurrent
-
A value object that represents an absolute delay until a task should be invoked.
- AbstractScheduledService.Scheduler - Class in com.google.common.util.concurrent
-
A scheduler defines the policy for how the
AbstractScheduledService
should run its task. - AbstractSequentialIterator<T> - Class in com.google.common.collect
-
This class provides a skeletal implementation of the
Iterator
interface for sequences whose next element can always be derived from the previous element. - AbstractSequentialIterator(T) - Constructor for class com.google.common.collect.AbstractSequentialIterator
-
Creates a new iterator with the given first element, or, if
firstOrNull
is null, creates a new empty iterator. - AbstractService - Class in com.google.common.util.concurrent
-
Base class for implementing services that can handle
AbstractService.doStart()
andAbstractService.doStop()
requests, responding to them withAbstractService.notifyStarted()
andAbstractService.notifyStopped()
callbacks. - AbstractService() - Constructor for class com.google.common.util.concurrent.AbstractService
-
Constructor for use by subclasses.
- AbstractSetTester<E> - Class in com.google.common.collect.testing.testers
- AbstractSetTester() - Constructor for class com.google.common.collect.testing.testers.AbstractSetTester
- AbstractTester<G> - Class in com.google.common.collect.testing
-
This abstract base class for testers allows the framework to inject needed information after JUnit constructs the instances.
- AbstractTester() - Constructor for class com.google.common.collect.testing.AbstractTester
- AbstractValueGraph<N,V> - Class in com.google.common.graph
-
This class provides a skeletal implementation of
ValueGraph
. - AbstractValueGraph() - Constructor for class com.google.common.graph.AbstractValueGraph
- accept(File, String) - Method in class com.google.common.io.PatternFilenameFilter
- ACCEPT - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Accept
header field name. - ACCEPT_CHARSET - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Accept-Charset
header field name. - ACCEPT_ENCODING - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Accept-Encoding
header field name. - ACCEPT_LANGUAGE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Accept-Language
header field name. - ACCEPT_RANGES - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Accept-Ranges
header field name. - ACCESS_CONTROL_ALLOW_CREDENTIALS - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Access-Control-Allow-Credentials
header field name. - ACCESS_CONTROL_ALLOW_HEADERS - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Access-Control-Allow-Headers
header field name. - ACCESS_CONTROL_ALLOW_METHODS - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Access-Control-Allow-Methods
header field name. - ACCESS_CONTROL_ALLOW_ORIGIN - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Access-Control-Allow-Origin
header field name. - ACCESS_CONTROL_EXPOSE_HEADERS - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Access-Control-Expose-Headers
header field name. - ACCESS_CONTROL_MAX_AGE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Access-Control-Max-Age
header field name. - ACCESS_CONTROL_REQUEST_HEADERS - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Access-Control-Request-Headers
header field name. - ACCESS_CONTROL_REQUEST_METHOD - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Access-Control-Request-Method
header field name. - ACK - Static variable in class com.google.common.base.Ascii
-
Acknowledge: A communication control character transmitted by a receiver as an affirmative response to a sender.
- acquire() - Method in class com.google.common.util.concurrent.RateLimiter
-
Acquires a single permit from this
RateLimiter
, blocking until the request can be granted. - acquire(int) - Method in class com.google.common.util.concurrent.RateLimiter
-
Acquires the given number of permits from this
RateLimiter
, blocking until the request can be granted. - actualContents() - Method in class com.google.common.collect.testing.AbstractCollectionTester
- actualContents() - Method in class com.google.common.collect.testing.AbstractContainerTester
- actualContents() - Method in class com.google.common.collect.testing.AbstractMapTester
- actualContents() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- add(double) - Method in class com.google.common.math.StatsAccumulator
-
Adds the given value to the dataset.
- add(double, double) - Method in class com.google.common.math.PairedStatsAccumulator
-
Adds the given pair of values to the dataset.
- add(int, E) - Method in class com.google.common.collect.ForwardingList
- add(int, E) - Method in class com.google.common.collect.ImmutableList
-
Deprecated.Unsupported operation.
- add(Range<C>) - Method in class com.google.common.collect.ImmutableRangeSet
-
Deprecated.Unsupported operation.
- add(Range<C>) - Method in class com.google.common.collect.ImmutableRangeSet.Builder
-
Add the specified range to this builder.
- add(Range<C>) - Method in interface com.google.common.collect.RangeSet
-
Adds the specified range to this
RangeSet
(optional operation). - add(Range<C>) - Method in class com.google.common.collect.TreeRangeSet
- add(E) - Method in class com.google.common.collect.EvictingQueue
-
Adds the given element to this queue.
- add(E) - Method in class com.google.common.collect.ForwardingCollection
- add(E) - Method in class com.google.common.collect.ForwardingListIterator
- add(E) - Method in class com.google.common.collect.ImmutableCollection
-
Deprecated.Unsupported operation.
- add(E) - Method in class com.google.common.collect.ImmutableCollection.Builder
-
Adds
element
to theImmutableCollection
being built. - add(E) - Method in class com.google.common.collect.ImmutableList.Builder
-
Adds
element
to theImmutableList
. - add(E) - Method in class com.google.common.collect.ImmutableMultiset.Builder
-
Adds
element
to theImmutableMultiset
. - add(E) - Method in class com.google.common.collect.ImmutableSet.Builder
-
Adds
element
to theImmutableSet
. - add(E) - Method in class com.google.common.collect.ImmutableSortedMultiset.Builder
-
Adds
element
to theImmutableSortedMultiset
. - add(E) - Method in class com.google.common.collect.ImmutableSortedSet.Builder
-
Adds
element
to theImmutableSortedSet
. - add(E) - Method in class com.google.common.collect.MinMaxPriorityQueue
-
Adds the given element to this queue.
- add(E) - Method in interface com.google.common.collect.Multiset
-
Adds a single occurrence of the specified element to this multiset.
- add(E) - Method in class com.google.common.collect.testing.SafeTreeSet
- add(E) - Method in class com.google.common.collect.UnmodifiableListIterator
-
Deprecated.Unsupported operation.
- add(E...) - Method in class com.google.common.collect.ImmutableCollection.Builder
-
Adds each element of
elements
to theImmutableCollection
being built. - add(E...) - Method in class com.google.common.collect.ImmutableList.Builder
-
Adds each element of
elements
to theImmutableList
. - add(E...) - Method in class com.google.common.collect.ImmutableMultiset.Builder
-
Adds each element of
elements
to theImmutableMultiset
. - add(E...) - Method in class com.google.common.collect.ImmutableSet.Builder
-
Adds each element of
elements
to theImmutableSet
, ignoring duplicate elements (only the first duplicate element is added). - add(E...) - Method in class com.google.common.collect.ImmutableSortedMultiset.Builder
-
Adds each element of
elements
to theImmutableSortedMultiset
. - add(E...) - Method in class com.google.common.collect.ImmutableSortedSet.Builder
-
Adds each element of
elements
to theImmutableSortedSet
, ignoring duplicate elements (only the first duplicate element is added). - add(E, int) - Method in class com.google.common.collect.ConcurrentHashMultiset
-
Adds a number of occurrences of the specified element to this multiset.
- add(E, int) - Method in class com.google.common.collect.ForwardingMultiset
- add(E, int) - Method in class com.google.common.collect.ImmutableMultiset
-
Deprecated.Unsupported operation.
- add(E, int) - Method in interface com.google.common.collect.Multiset
-
Adds a number of occurrences of an element to this multiset.
- add(E, int) - Method in class com.google.common.collect.TreeMultiset
- add(Runnable, Executor) - Method in class com.google.common.util.concurrent.ExecutionList
-
Adds the
Runnable
and accompanyingExecutor
to the list of listeners to execute. - add(String, boolean) - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Adds a name/value pair to the formatted output in
name=value
format. - add(String, boolean) - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Adds a name/value pair to the formatted output in
name=value
format. - add(String, char) - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Adds a name/value pair to the formatted output in
name=value
format. - add(String, char) - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Adds a name/value pair to the formatted output in
name=value
format. - add(String, double) - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Adds a name/value pair to the formatted output in
name=value
format. - add(String, double) - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Adds a name/value pair to the formatted output in
name=value
format. - add(String, float) - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Adds a name/value pair to the formatted output in
name=value
format. - add(String, float) - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Adds a name/value pair to the formatted output in
name=value
format. - add(String, int) - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Adds a name/value pair to the formatted output in
name=value
format. - add(String, int) - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Adds a name/value pair to the formatted output in
name=value
format. - add(String, long) - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Adds a name/value pair to the formatted output in
name=value
format. - add(String, long) - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Adds a name/value pair to the formatted output in
name=value
format. - add(String, Object) - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Adds a name/value pair to the formatted output in
name=value
format. - add(String, Object) - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Adds a name/value pair to the formatted output in
name=value
format. - addAll(double...) - Method in class com.google.common.math.StatsAccumulator
-
Adds the given values to the dataset.
- addAll(int...) - Method in class com.google.common.math.StatsAccumulator
-
Adds the given values to the dataset.
- addAll(int, Collection<? extends E>) - Method in class com.google.common.collect.ForwardingList
- addAll(int, Collection<? extends E>) - Method in class com.google.common.collect.ImmutableList
-
Deprecated.Unsupported operation.
- addAll(long...) - Method in class com.google.common.math.StatsAccumulator
-
Adds the given values to the dataset.
- addAll(RangeSet<C>) - Method in class com.google.common.collect.ImmutableRangeSet
-
Deprecated.Unsupported operation.
- addAll(RangeSet<C>) - Method in class com.google.common.collect.ImmutableRangeSet.Builder
-
Add all ranges from the specified range set to this builder.
- addAll(RangeSet<C>) - Method in interface com.google.common.collect.RangeSet
-
Adds all of the ranges from the specified range set to this range set (optional operation).
- addAll(PairedStats) - Method in class com.google.common.math.PairedStatsAccumulator
-
Adds the given statistics to the dataset, as if the individual values used to compute the statistics had been added directly.
- addAll(Stats) - Method in class com.google.common.math.StatsAccumulator
-
Adds the given statistics to the dataset, as if the individual values used to compute the statistics had been added directly.
- addAll(Iterable<? extends E>) - Method in class com.google.common.collect.ImmutableCollection.Builder
-
Adds each element of
elements
to theImmutableCollection
being built. - addAll(Iterable<? extends E>) - Method in class com.google.common.collect.ImmutableList.Builder
-
Adds each element of
elements
to theImmutableList
. - addAll(Iterable<? extends E>) - Method in class com.google.common.collect.ImmutableMultiset.Builder
-
Adds each element of
elements
to theImmutableMultiset
. - addAll(Iterable<? extends E>) - Method in class com.google.common.collect.ImmutableSet.Builder
-
Adds each element of
elements
to theImmutableSet
, ignoring duplicate elements (only the first duplicate element is added). - addAll(Iterable<? extends E>) - Method in class com.google.common.collect.ImmutableSortedMultiset.Builder
-
Adds each element of
elements
to theImmutableSortedMultiset
. - addAll(Iterable<? extends E>) - Method in class com.google.common.collect.ImmutableSortedSet.Builder
-
Adds each element of
elements
to theImmutableSortedSet
, ignoring duplicate elements (only the first duplicate element is added). - addAll(Iterable<? extends Number>) - Method in class com.google.common.math.StatsAccumulator
-
Adds the given values to the dataset.
- addAll(Collection<? extends E>) - Method in class com.google.common.collect.EvictingQueue
- addAll(Collection<? extends E>) - Method in class com.google.common.collect.ForwardingCollection
- addAll(Collection<? extends E>) - Method in class com.google.common.collect.ImmutableCollection
-
Deprecated.Unsupported operation.
- addAll(Collection<? extends E>) - Method in class com.google.common.collect.MinMaxPriorityQueue
- addAll(Collection<? extends E>) - Method in class com.google.common.collect.testing.MinimalCollection
- addAll(Collection<? extends E>) - Method in class com.google.common.collect.testing.SafeTreeSet
- addAll(Collection<E>, Iterable<? extends E>) - Static method in class com.google.common.collect.testing.Helpers
- addAll(Collection<T>, Iterable<? extends T>) - Static method in class com.google.common.collect.Iterables
-
Adds all elements in
iterable
tocollection
. - addAll(Collection<T>, Iterator<? extends T>) - Static method in class com.google.common.collect.Iterators
-
Adds all elements in
iterator
tocollection
. - addAll(Iterator<? extends E>) - Method in class com.google.common.collect.ImmutableCollection.Builder
-
Adds each element of
elements
to theImmutableCollection
being built. - addAll(Iterator<? extends E>) - Method in class com.google.common.collect.ImmutableList.Builder
-
Adds each element of
elements
to theImmutableList
. - addAll(Iterator<? extends E>) - Method in class com.google.common.collect.ImmutableMultiset.Builder
-
Adds each element of
elements
to theImmutableMultiset
. - addAll(Iterator<? extends E>) - Method in class com.google.common.collect.ImmutableSet.Builder
-
Adds each element of
elements
to theImmutableSet
, ignoring duplicate elements (only the first duplicate element is added). - addAll(Iterator<? extends E>) - Method in class com.google.common.collect.ImmutableSortedMultiset.Builder
-
Adds each element of
elements
to theImmutableSortedMultiset
. - addAll(Iterator<? extends E>) - Method in class com.google.common.collect.ImmutableSortedSet.Builder
-
Adds each element of
elements
to theImmutableSortedSet
, ignoring duplicate elements (only the first duplicate element is added). - addAll(Iterator<? extends Number>) - Method in class com.google.common.math.StatsAccumulator
-
Adds the given values to the dataset.
- addAndGet(double) - Method in class com.google.common.util.concurrent.AtomicDouble
-
Atomically adds the given value to the current value.
- addAndGet(int, double) - Method in class com.google.common.util.concurrent.AtomicDoubleArray
-
Atomically adds the given value to the element at index
i
. - addAndGet(K, long) - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Adds
delta
to the value currently associated withkey
, and returns the new value. - addCallback(ListenableFuture<V>, FutureCallback<? super V>) - Static method in class com.google.common.util.concurrent.Futures
-
Registers separate success and failure callbacks to be run when the
Future
's computation is complete or, if the computation is already complete, immediately. - addCallback(ListenableFuture<V>, FutureCallback<? super V>, Executor) - Static method in class com.google.common.util.concurrent.Futures
-
Registers separate success and failure callbacks to be run when the
Future
's computation is complete or, if the computation is already complete, immediately. - addCopies(E, int) - Method in class com.google.common.collect.ImmutableMultiset.Builder
-
Adds a number of occurrences of an element to this
ImmutableMultiset
. - addCopies(E, int) - Method in class com.google.common.collect.ImmutableSortedMultiset.Builder
-
Adds a number of occurrences of an element to this
ImmutableSortedMultiset
. - addDelayedShutdownHook(ExecutorService, long, TimeUnit) - Static method in class com.google.common.util.concurrent.MoreExecutors
-
Add a shutdown hook to wait for thread completion in the given
service
. - addEdge(N, N, E) - Method in interface com.google.common.graph.MutableNetwork
-
Adds
edge
connectingnodeU
tonodeV
. - addEqualityGroup(Object...) - Method in class com.google.common.testing.EqualsTester
-
Adds
equalityGroup
with objects that are supposed to be equal to each other and not equal to any other equality groups added to this tester. - addEquivalenceGroup(Iterable<T>) - Method in class com.google.common.testing.EquivalenceTester
- addEquivalenceGroup(T, T...) - Method in class com.google.common.testing.EquivalenceTester
-
Adds a group of objects that are supposed to be equivalent to each other and not equivalent to objects in any other equivalence group added to this tester.
- addEscape(char, String) - Method in class com.google.common.escape.CharEscaperBuilder
-
Add a new mapping from an index to an object to the escaping.
- addEscape(char, String) - Method in class com.google.common.escape.Escapers.Builder
-
Adds a replacement string for the given input character.
- addEscapes(char[], String) - Method in class com.google.common.escape.CharEscaperBuilder
-
Add multiple mappings at once for a particular index.
- addFirst(E) - Method in class com.google.common.collect.ForwardingDeque
- addImpliedFeatures(Set<Feature<?>>) - Static method in class com.google.common.collect.testing.features.FeatureUtil
-
Given a set of features, add to it all the features directly or indirectly implied by any of them, and return it.
- addLast(E) - Method in class com.google.common.collect.ForwardingDeque
- addListener(Service.Listener, Executor) - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
- addListener(Service.Listener, Executor) - Method in class com.google.common.util.concurrent.AbstractIdleService
- addListener(Service.Listener, Executor) - Method in class com.google.common.util.concurrent.AbstractScheduledService
- addListener(Service.Listener, Executor) - Method in class com.google.common.util.concurrent.AbstractService
- addListener(Service.Listener, Executor) - Method in interface com.google.common.util.concurrent.Service
-
Registers a
Service.Listener
to be executed on the given executor. - addListener(ServiceManager.Listener) - Method in class com.google.common.util.concurrent.ServiceManager
-
Registers a
ServiceManager.Listener
to be run when thisServiceManager
changes state. - addListener(ServiceManager.Listener, Executor) - Method in class com.google.common.util.concurrent.ServiceManager
-
Registers a
ServiceManager.Listener
to be executed on the given executor. - addListener(Runnable, Executor) - Method in class com.google.common.util.concurrent.AbstractFuture
-
Registers a listener to be run on the given executor.
- addListener(Runnable, Executor) - Method in class com.google.common.util.concurrent.ForwardingListenableFuture
- addListener(Runnable, Executor) - Method in interface com.google.common.util.concurrent.ListenableFuture
-
Registers a listener to be run on the given executor.
- addListener(Runnable, Executor) - Method in class com.google.common.util.concurrent.ListenableFutureTask
- addNode(N) - Method in interface com.google.common.graph.MutableGraph
-
Adds
node
if it is not already present. - addNode(N) - Method in interface com.google.common.graph.MutableNetwork
-
Adds
node
if it is not already present. - addNode(N) - Method in interface com.google.common.graph.MutableValueGraph
-
Adds
node
if it is not already present. - addTearDown(TearDown) - Method in interface com.google.common.testing.TearDownAccepter
-
Registers a TearDown implementor which will be run after the test proper.
- addTearDown(TearDown) - Method in class com.google.common.testing.TearDownStack
- addValue(boolean) - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Adds an unnamed value to the formatted output.
- addValue(boolean) - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Adds an unnamed value to the formatted output.
- addValue(char) - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Adds an unnamed value to the formatted output.
- addValue(char) - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Adds an unnamed value to the formatted output.
- addValue(double) - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Adds an unnamed value to the formatted output.
- addValue(double) - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Adds an unnamed value to the formatted output.
- addValue(float) - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Adds an unnamed value to the formatted output.
- addValue(float) - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Adds an unnamed value to the formatted output.
- addValue(int) - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Adds an unnamed value to the formatted output.
- addValue(int) - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Adds an unnamed value to the formatted output.
- addValue(long) - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Adds an unnamed value to the formatted output.
- addValue(long) - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Adds an unnamed value to the formatted output.
- addValue(Object) - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Adds an unnamed value to the formatted output.
- addValue(Object) - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Adds an unnamed value to the formatted output.
- adjacentEdges(Object) - Method in class com.google.common.graph.AbstractNetwork
- adjacentEdges(Object) - Method in interface com.google.common.graph.Network
-
Returns the edges which have an
incident node
in common withedge
. - adjacentNode(Object) - Method in class com.google.common.graph.EndpointPair
-
Returns the node that is adjacent to
node
along the origin edge. - adjacentNodes(Object) - Method in interface com.google.common.graph.Graph
-
Returns the nodes which have an incident edge in common with
node
in this graph. - adjacentNodes(Object) - Method in interface com.google.common.graph.Network
-
Returns the nodes which have an incident edge in common with
node
in this network. - adler32() - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the Adler-32 checksum algorithm (32 hash bits) by delegating to the
Adler32
Checksum
. - advance(long) - Method in class com.google.common.testing.FakeTicker
-
Advances the ticker value by
nanoseconds
. - advance(long, TimeUnit) - Method in class com.google.common.testing.FakeTicker
-
Advances the ticker value by
time
intimeUnit
. - advance(Iterator<?>, int) - Static method in class com.google.common.collect.Iterators
-
Calls
next()
oniterator
, eithernumberToAdvance
times or untilhasNext()
returnsfalse
, whichever comes first. - AFTER_LAST - Static variable in class com.google.common.collect.testing.SampleElements.Strings
- AFTER_LAST_2 - Static variable in class com.google.common.collect.testing.SampleElements.Strings
- afterDone() - Method in class com.google.common.util.concurrent.AbstractFuture
-
Callback method that is called exactly once after the future is completed.
- AGE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Age
header field name. - all() - Static method in class com.google.common.collect.Range
-
Returns a range that contains every value of type
C
. - all(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
-
Returns
true
if every element initerable
satisfies the predicate. - all(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
-
Returns
true
if every element returned byiterator
satisfies the given predicate. - allAsList(ListenableFuture<? extends V>...) - Static method in class com.google.common.util.concurrent.Futures
-
Creates a new
ListenableFuture
whose value is a list containing the values of all its input futures, if all succeed. - allAsList(Iterable<? extends ListenableFuture<? extends V>>) - Static method in class com.google.common.util.concurrent.Futures
-
Creates a new
ListenableFuture
whose value is a list containing the values of all its input futures, if all succeed. - allEqual() - Static method in class com.google.common.collect.Ordering
-
Returns an ordering which treats all values as equal, indicating "no ordering." Passing this ordering to any stable sort algorithm results in no change to the order of elements.
- allMatch(Predicate<? super E>) - Method in class com.google.common.collect.FluentIterable
-
Returns
true
if every element in this fluent iterable satisfies the predicate. - ALLOW - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Allow
header field name. - AllowConcurrentEvents - Annotation Type in com.google.common.eventbus
-
Marks an event subscriber method as being thread-safe.
- ALLOWS_ANY_NULL_QUERIES - com.google.common.collect.testing.features.MapFeature
-
The map does not throw
NullPointerException
on anynull
queries. - ALLOWS_NULL_ENTRY_QUERIES - com.google.common.collect.testing.features.MapFeature
-
The map does not throw
NullPointerException
on calls such asentrySet().contains(null)
orentrySet().remove(null)
- ALLOWS_NULL_KEY_QUERIES - com.google.common.collect.testing.features.MapFeature
-
The map does not throw
NullPointerException
on calls such ascontainsKey(null)
,get(null)
,keySet().contains(null)
orremove(null)
. - ALLOWS_NULL_KEYS - com.google.common.collect.testing.features.MapFeature
- ALLOWS_NULL_QUERIES - com.google.common.collect.testing.features.CollectionFeature
-
The collection must not throw
NullPointerException
on calls such ascontains(null)
orremove(null)
, but instead must return a simplefalse
. - ALLOWS_NULL_VALUE_QUERIES - com.google.common.collect.testing.features.MapFeature
-
The map does not throw
NullPointerException
on calls such ascontainsValue(null)
,values().contains(null)
orvalues().remove(null)
. - ALLOWS_NULL_VALUES - com.google.common.collect.testing.features.CollectionFeature
- ALLOWS_NULL_VALUES - com.google.common.collect.testing.features.MapFeature
- allowsNullKeys - Variable in class com.google.common.collect.testing.MapInterfaceTest
- allowsNullValues - Variable in class com.google.common.collect.testing.MapInterfaceTest
- allowsParallelEdges() - Method in interface com.google.common.graph.Network
-
Returns true if this network allows parallel edges.
- allowsParallelEdges(boolean) - Method in class com.google.common.graph.NetworkBuilder
-
Specifies whether the network will allow parallel edges.
- allowsSelfLoops() - Method in interface com.google.common.graph.Graph
-
Returns true if this graph allows self-loops (edges that connect a node to itself).
- allowsSelfLoops() - Method in interface com.google.common.graph.Network
-
Returns true if this network allows self-loops (edges that connect a node to itself).
- allowsSelfLoops(boolean) - Method in class com.google.common.graph.GraphBuilder
-
Specifies whether the graph will allow self-loops (edges that connect a node to itself).
- allowsSelfLoops(boolean) - Method in class com.google.common.graph.NetworkBuilder
-
Specifies whether the network will allow self-loops (edges that connect a node to itself).
- allowsSelfLoops(boolean) - Method in class com.google.common.graph.ValueGraphBuilder
-
Specifies whether the graph will allow self-loops (edges that connect a node to itself).
- allPrimitiveTypes() - Static method in class com.google.common.primitives.Primitives
-
Returns an immutable set of all nine primitive types (including
void
). - allTests() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- allTests() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- allTests() - Method in class com.google.common.collect.testing.TestsForQueuesInJavaUtil
- allTests() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- allWrapperTypes() - Static method in class com.google.common.primitives.Primitives
-
Returns an immutable set of all nine primitive-wrapper types (including
Void
). - alwaysFalse() - Static method in class com.google.common.base.Predicates
-
Returns a predicate that always evaluates to
false
. - alwaysTrue() - Static method in class com.google.common.base.Predicates
-
Returns a predicate that always evaluates to
true
. - and(double, double) - Method in class com.google.common.math.LinearTransformation.LinearTransformationBuilder
-
Finish building an instance which also maps
x = x2
toy = y2
. - and(CharMatcher) - Method in class com.google.common.base.CharMatcher
-
Returns a matcher that matches any character matched by both this matcher and
other
. - and(Predicate<? super T>...) - Static method in class com.google.common.base.Predicates
-
Returns a predicate that evaluates to
true
if each of its components evaluates totrue
. - and(Predicate<? super T>, Predicate<? super T>) - Static method in class com.google.common.base.Predicates
-
Returns a predicate that evaluates to
true
if both of its components evaluate totrue
. - and(Iterable<? extends Predicate<? super T>>) - Static method in class com.google.common.base.Predicates
-
Returns a predicate that evaluates to
true
if each of its components evaluates totrue
. - andThen(Converter<B, C>) - Method in class com.google.common.base.Converter
-
Returns a converter whose
convert
method appliessecondConverter
to the result of this converter. - AnEnum - Enum in com.google.common.collect.testing
-
A sample enumerated type we use for testing.
- any() - Static method in class com.google.common.base.CharMatcher
-
Matches any character.
- any(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
-
Returns
true
if any element initerable
satisfies the predicate. - any(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
-
Returns
true
if one or more elements returned byiterator
satisfy the given predicate. - ANY - com.google.common.collect.testing.features.CollectionSize
- ANY - Static variable in class com.google.common.base.CharMatcher
-
Deprecated.Use
CharMatcher.any()
instead. This constant is scheduled to be removed in June 2018. - ANY_APPLICATION_TYPE - Static variable in class com.google.common.net.MediaType
- ANY_AUDIO_TYPE - Static variable in class com.google.common.net.MediaType
- ANY_IMAGE_TYPE - Static variable in class com.google.common.net.MediaType
- ANY_TEXT_TYPE - Static variable in class com.google.common.net.MediaType
- ANY_TYPE - Static variable in class com.google.common.net.MediaType
- ANY_VIDEO_TYPE - Static variable in class com.google.common.net.MediaType
- anyMatch(Predicate<? super E>) - Method in class com.google.common.collect.FluentIterable
-
Returns
true
if any element in this fluent iterable satisfies the predicate. - anyOf(CharSequence) - Static method in class com.google.common.base.CharMatcher
-
Returns a
char
matcher that matches any character present in the given character sequence. - append(E...) - Method in class com.google.common.collect.FluentIterable
-
Returns a fluent iterable whose iterators traverse first the elements of this fluent iterable, followed by
elements
. - append(CharSequence, File, Charset) - Static method in class com.google.common.io.Files
-
Appends a character sequence (such as a string) to a file using the given character set.
- append(Iterable<? extends E>) - Method in class com.google.common.collect.FluentIterable
-
Returns a fluent iterable whose iterators traverse first the elements of this fluent iterable, followed by those of
other
. - APPEND - com.google.common.io.FileWriteMode
-
Specifies that writes to the opened file should append to the end of the file.
- appendTo(A, Iterable<?>) - Method in class com.google.common.base.Joiner
-
Appends the string representation of each of
parts
, using the previously configured separator between each, toappendable
. - appendTo(A, Iterable<? extends Map.Entry<?, ?>>) - Method in class com.google.common.base.Joiner.MapJoiner
-
Appends the string representation of each entry in
entries
, using the previously configured separator and key-value separator, toappendable
. - appendTo(A, Object[]) - Method in class com.google.common.base.Joiner
-
Appends the string representation of each of
parts
, using the previously configured separator between each, toappendable
. - appendTo(A, Object, Object, Object...) - Method in class com.google.common.base.Joiner
-
Appends to
appendable
the string representation of each of the remaining arguments. - appendTo(A, Iterator<?>) - Method in class com.google.common.base.Joiner
-
Appends the string representation of each of
parts
, using the previously configured separator between each, toappendable
. - appendTo(A, Iterator<? extends Map.Entry<?, ?>>) - Method in class com.google.common.base.Joiner.MapJoiner
-
Appends the string representation of each entry in
entries
, using the previously configured separator and key-value separator, toappendable
. - appendTo(A, Map<?, ?>) - Method in class com.google.common.base.Joiner.MapJoiner
-
Appends the string representation of each entry of
map
, using the previously configured separator and key-value separator, toappendable
. - appendTo(StringBuilder, Iterable<?>) - Method in class com.google.common.base.Joiner
-
Appends the string representation of each of
parts
, using the previously configured separator between each, tobuilder
. - appendTo(StringBuilder, Iterable<? extends Map.Entry<?, ?>>) - Method in class com.google.common.base.Joiner.MapJoiner
-
Appends the string representation of each entry in
entries
, using the previously configured separator and key-value separator, tobuilder
. - appendTo(StringBuilder, Object[]) - Method in class com.google.common.base.Joiner
-
Appends the string representation of each of
parts
, using the previously configured separator between each, tobuilder
. - appendTo(StringBuilder, Object, Object, Object...) - Method in class com.google.common.base.Joiner
-
Appends to
builder
the string representation of each of the remaining arguments. - appendTo(StringBuilder, Iterator<?>) - Method in class com.google.common.base.Joiner
-
Appends the string representation of each of
parts
, using the previously configured separator between each, tobuilder
. - appendTo(StringBuilder, Iterator<? extends Map.Entry<?, ?>>) - Method in class com.google.common.base.Joiner.MapJoiner
-
Appends the string representation of each entry in
entries
, using the previously configured separator and key-value separator, tobuilder
. - appendTo(StringBuilder, Map<?, ?>) - Method in class com.google.common.base.Joiner.MapJoiner
-
Appends the string representation of each entry of
map
, using the previously configured separator and key-value separator, tobuilder
. - APPLE_MOBILE_CONFIG - Static variable in class com.google.common.net.MediaType
-
Media type for Apple over-the-air mobile configuration profiles.
- APPLE_PASSBOOK - Static variable in class com.google.common.net.MediaType
-
Media type for Apple Passbook.
- APPLICATION_BINARY - Static variable in class com.google.common.net.MediaType
-
This is a non-standard media type, but is commonly used in serving hosted binary files as it is known not to trigger content sniffing in current browsers.
- APPLICATION_XML_UTF_8 - Static variable in class com.google.common.net.MediaType
-
As described in RFC 3023, this constant (
application/xml
) is used for XML documents that are "unreadable by casual users."MediaType.XML_UTF_8
is provided for documents that may be read by users. - apply(A) - Method in class com.google.common.base.Converter
-
Deprecated.Provided to satisfy the
Function
interface; useConverter.convert(A)
instead. - apply(C) - Method in class com.google.common.collect.Range
-
Deprecated.Provided only to satisfy the
Predicate
interface; useRange.contains(C)
instead. - apply(F) - Method in interface com.google.common.base.Function
-
Returns the result of applying this function to
input
. - apply(I) - Method in interface com.google.common.util.concurrent.AsyncFunction
-
Returns an output
Future
to use in place of the giveninput
. - apply(Character) - Method in class com.google.common.base.CharMatcher
-
Deprecated.Provided only to satisfy the
Predicate
interface; useCharMatcher.matches(char)
instead. - apply(K) - Method in class com.google.common.cache.AbstractLoadingCache
- apply(K) - Method in class com.google.common.cache.ForwardingLoadingCache
- apply(K) - Method in interface com.google.common.cache.LoadingCache
-
Deprecated.Provided to satisfy the
Function
interface; useLoadingCache.get(K)
orLoadingCache.getUnchecked(K)
instead. - apply(T) - Method in interface com.google.common.base.Predicate
-
Returns the result of applying this predicate to
input
(Java 8 users, see notes in the class documentation above). - apply(T) - Method in class com.google.common.hash.BloomFilter
-
Deprecated.Provided only to satisfy the
Predicate
interface; useBloomFilter.mightContain(T)
instead. - arbitrary() - Static method in class com.google.common.collect.Ordering
-
Returns an arbitrary ordering over all objects, for which
compare(a, b) == 0
impliesa == b
(identity equality). - ArbitraryInstances - Class in com.google.common.testing
-
Supplies an arbitrary "default" instance for a wide range of types, often useful in testing utilities.
- areEqual() - Method in interface com.google.common.collect.MapDifference
-
Returns
true
if there are no differences between the two maps; that is, if the maps are equal. - ArrayBasedCharEscaper - Class in com.google.common.escape
-
A
CharEscaper
that uses an array to quickly look up replacement characters for a givenchar
value. - ArrayBasedCharEscaper(ArrayBasedEscaperMap, char, char) - Constructor for class com.google.common.escape.ArrayBasedCharEscaper
-
Creates a new ArrayBasedCharEscaper instance with the given replacement map and specified safe range.
- ArrayBasedCharEscaper(Map<Character, String>, char, char) - Constructor for class com.google.common.escape.ArrayBasedCharEscaper
-
Creates a new ArrayBasedCharEscaper instance with the given replacement map and specified safe range.
- ArrayBasedEscaperMap - Class in com.google.common.escape
-
An implementation-specific parameter class suitable for initializing
ArrayBasedCharEscaper
orArrayBasedUnicodeEscaper
instances. - ArrayBasedUnicodeEscaper - Class in com.google.common.escape
-
A
UnicodeEscaper
that uses an array to quickly look up replacement characters for a given code point. - ArrayBasedUnicodeEscaper(ArrayBasedEscaperMap, int, int, String) - Constructor for class com.google.common.escape.ArrayBasedUnicodeEscaper
-
Creates a new ArrayBasedUnicodeEscaper instance with the given replacement map and specified safe range.
- ArrayBasedUnicodeEscaper(Map<Character, String>, int, int, String) - Constructor for class com.google.common.escape.ArrayBasedUnicodeEscaper
-
Creates a new ArrayBasedUnicodeEscaper instance with the given replacement map and specified safe range.
- ArrayListMultimap<K,V> - Class in com.google.common.collect
-
Implementation of
Multimap
that uses anArrayList
to store the values for a given key. - arrayListValues() - Method in class com.google.common.collect.MultimapBuilder.MultimapBuilderWithKeys
-
Uses an
ArrayList
to store value collections. - arrayListValues(int) - Method in class com.google.common.collect.MultimapBuilder.MultimapBuilderWithKeys
-
Uses an
ArrayList
to store value collections, initialized to expect the specified number of values per key. - ArrayTable<R,C,V> - Class in com.google.common.collect
-
Fixed-size
Table
implementation backed by a two-dimensional array. - asAsyncCallable(Callable<T>, ListeningExecutorService) - Static method in class com.google.common.util.concurrent.Callables
-
Creates an
AsyncCallable
from aCallable
. - asBytes() - Method in class com.google.common.hash.HashCode
-
Returns the value of this hash code as a byte array.
- asByteSink(File, FileWriteMode...) - Static method in class com.google.common.io.Files
-
Returns a new
ByteSink
for writing bytes to the given file. - asByteSource() - Method in class com.google.common.io.FileBackedOutputStream
-
Returns a readable
ByteSource
view of the data that has been written to this stream. - asByteSource() - Method in class com.google.common.reflect.ClassPath.ResourceInfo
-
Returns a
ByteSource
view of the resource from which its bytes can be read. - asByteSource(File) - Static method in class com.google.common.io.Files
-
Returns a new
ByteSource
for reading bytes from the given file. - asByteSource(URL) - Static method in class com.google.common.io.Resources
-
Returns a
ByteSource
that reads from the given URL. - asByteSource(Charset) - Method in class com.google.common.io.CharSource
-
Returns a
ByteSource
view of this char source that encodes chars read from this source as bytes using the givenCharset
. - asCharSink(File, Charset, FileWriteMode...) - Static method in class com.google.common.io.Files
-
Returns a new
CharSink
for writing character data to the given file using the given character set. - asCharSink(Charset) - Method in class com.google.common.io.ByteSink
-
Returns a
CharSink
view of thisByteSink
that writes characters to this sink as bytes encoded with the givencharset
. - asCharSource(File, Charset) - Static method in class com.google.common.io.Files
-
Returns a new
CharSource
for reading character data from the given file using the given character set. - asCharSource(URL, Charset) - Static method in class com.google.common.io.Resources
-
Returns a
CharSource
that reads from the given URL using the given character set. - asCharSource(Charset) - Method in class com.google.common.io.ByteSource
-
Returns a
CharSource
view of this byte source that decodes bytes read from this source as characters using the givenCharset
. - asCharSource(Charset) - Method in class com.google.common.reflect.ClassPath.ResourceInfo
-
Returns a
CharSource
view of the resource from which its bytes can be read as characters decoded with the givencharset
. - ascii() - Static method in class com.google.common.base.CharMatcher
-
Determines whether a character is ASCII, meaning that its code point is less than 128.
- Ascii - Class in com.google.common.base
-
Static methods pertaining to ASCII characters (those in the range of values
0x00
through0x7F
), and to strings containing such characters. - ASCII - Static variable in class com.google.common.base.CharMatcher
-
Deprecated.Use
CharMatcher.ascii()
instead. This constant is scheduled to be removed in June 2018. - asConverter(BiMap<A, B>) - Static method in class com.google.common.collect.Maps
-
Returns a
Converter
that converts values usingbimap.get()
, and whose inverse view converts values usingbimap.inverse()
.get()
. - asDescendingMapOfRanges() - Method in class com.google.common.collect.ImmutableRangeMap
- asDescendingMapOfRanges() - Method in interface com.google.common.collect.RangeMap
-
Returns a view of this range map as an unmodifiable
Map<Range<K>, V>
. - asDescendingMapOfRanges() - Method in class com.google.common.collect.TreeRangeMap
- asDescendingSetOfRanges() - Method in class com.google.common.collect.ImmutableRangeSet
- asDescendingSetOfRanges() - Method in interface com.google.common.collect.RangeSet
-
Returns a descending view of the disconnected ranges that make up this range set.
- asDescendingSetOfRanges() - Method in class com.google.common.collect.TreeRangeSet
- asEnumeration(Iterator<T>) - Static method in class com.google.common.collect.Iterators
-
Adapts an
Iterator
to theEnumeration
interface. - asFunction() - Method in class com.google.common.escape.Escaper
-
Returns a
Function
that invokesEscaper.escape(String)
on this escaper. - asFunction(Interner<E>) - Static method in class com.google.common.collect.Interners
-
Returns a function that delegates to the
Interner.intern(E)
method of the given interner. - asGraph() - Method in class com.google.common.graph.AbstractNetwork
- asGraph() - Method in class com.google.common.graph.ImmutableNetwork
- asGraph() - Method in interface com.google.common.graph.Network
-
Returns a live view of this network as a
Graph
. - asInt() - Method in class com.google.common.hash.HashCode
-
Returns the first four bytes of this hashcode's bytes, converted to an
int
value in little-endian order. - asList() - Method in class com.google.common.collect.ImmutableCollection
-
Returns an
ImmutableList
containing the same elements, in the same order, as this collection. - asList() - Method in class com.google.common.collect.ImmutableList
-
Returns this list instance.
- asList() - Method in class com.google.common.collect.ImmutableMultiset
- asList() - Method in class com.google.common.collect.ImmutableSet
- asList() - Method in class com.google.common.collect.testing.SampleElements
- asList(boolean...) - Static method in class com.google.common.primitives.Booleans
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[])
. - asList(byte...) - Static method in class com.google.common.primitives.Bytes
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[])
. - asList(char...) - Static method in class com.google.common.primitives.Chars
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[])
. - asList(double...) - Static method in class com.google.common.primitives.Doubles
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[])
. - asList(float...) - Static method in class com.google.common.primitives.Floats
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[])
. - asList(int...) - Static method in class com.google.common.primitives.Ints
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[])
. - asList(long...) - Static method in class com.google.common.primitives.Longs
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[])
. - asList(short...) - Static method in class com.google.common.primitives.Shorts
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[])
. - asList(E, E[]) - Static method in class com.google.common.collect.Lists
-
Returns an unmodifiable list containing the specified first element and backed by the specified array of additional elements.
- asList(E, E, E[]) - Static method in class com.google.common.collect.Lists
-
Returns an unmodifiable list containing the specified first and second element, and backed by the specified array of additional elements.
- asLong() - Method in class com.google.common.hash.HashCode
-
Returns the first eight bytes of this hashcode's bytes, converted to a
long
value in little-endian order. - asMap() - Method in class com.google.common.cache.AbstractCache
- asMap() - Method in interface com.google.common.cache.Cache
-
Returns a view of the entries stored in this cache as a thread-safe map.
- asMap() - Method in class com.google.common.cache.ForwardingCache
- asMap() - Method in interface com.google.common.cache.LoadingCache
-
Returns a view of the entries stored in this cache as a thread-safe map.
- asMap() - Method in class com.google.common.collect.ForwardingMultimap
- asMap() - Method in class com.google.common.collect.ImmutableMultimap
-
Returns an immutable map that associates each key with its corresponding values in the multimap.
- asMap() - Method in interface com.google.common.collect.ListMultimap
-
Returns a view of this multimap as a
Map
from each distinct key to the nonempty collection of that key's associated values. - asMap() - Method in interface com.google.common.collect.Multimap
-
Returns a view of this multimap as a
Map
from each distinct key to the nonempty collection of that key's associated values. - asMap() - Method in interface com.google.common.collect.SetMultimap
-
Returns a view of this multimap as a
Map
from each distinct key to the nonempty collection of that key's associated values. - asMap() - Method in interface com.google.common.collect.SortedSetMultimap
-
Returns a map view that associates each key with the corresponding values in the multimap.
- asMap() - Method in class com.google.common.collect.TreeMultimap
-
Returns a map view that associates each key with the corresponding values in the multimap.
- asMap() - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Returns a live, read-only view of the map backing this
AtomicLongMap
. - asMap(ListMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
- asMap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
-
Returns
multimap.asMap()
. - asMap(SetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
- asMap(SortedSetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
-
Returns
multimap.asMap()
, with its type corrected fromMap<K, Collection<V>>
toMap<K, SortedSet<V>>
. - asMap(NavigableSet<K>, Function<? super K, V>) - Static method in class com.google.common.collect.Maps
-
Returns a view of the navigable set as a map, mapping keys from the set according to the specified function.
- asMap(Set<K>, Function<? super K, V>) - Static method in class com.google.common.collect.Maps
-
Returns a live
Map
view whose keys are the contents ofset
and whose values are computed on demand usingfunction
. - asMap(SortedSet<K>, Function<? super K, V>) - Static method in class com.google.common.collect.Maps
-
Returns a view of the sorted set as a map, mapping keys from the set according to the specified function.
- asMapOfRanges() - Method in class com.google.common.collect.ImmutableRangeMap
- asMapOfRanges() - Method in interface com.google.common.collect.RangeMap
-
Returns a view of this range map as an unmodifiable
Map<Range<K>, V>
. - asMapOfRanges() - Method in class com.google.common.collect.TreeRangeMap
- asMultimap() - Method in class com.google.common.collect.ImmutableMap
-
Returns a multimap view of the map.
- asOutputStream(PrimitiveSink) - Static method in class com.google.common.hash.Funnels
-
Wraps a
PrimitiveSink
as anOutputStream
, so it is easy tofunnel
an object to aPrimitiveSink
if there is already a way to write the contents of the object to anOutputStream
. - asRanges() - Method in class com.google.common.collect.ImmutableRangeSet
- asRanges() - Method in interface com.google.common.collect.RangeSet
-
Returns a view of the disconnected ranges that make up this range set.
- asRanges() - Method in class com.google.common.collect.TreeRangeSet
- assertBasic(Escaper) - Static method in class com.google.common.escape.testing.EscaperAsserts
-
Asserts that an escaper behaves correctly with respect to null inputs.
- assertCollectionIsUnmodifiable(Collection<E>, E) - Static method in class com.google.common.collect.testing.google.UnmodifiableCollectionTests
-
Verifies that a collection is immutable.
- assertContains(Iterable<?>, Object) - Static method in class com.google.common.collect.testing.Helpers
- assertContainsAllOf(Iterable<?>, Object...) - Static method in class com.google.common.collect.testing.Helpers
- assertContentsAnyOrder(Iterable<?>, Object...) - Static method in class com.google.common.collect.testing.Helpers
- assertContentsInOrder(Iterable<?>, Object...) - Static method in class com.google.common.collect.testing.Helpers
- assertEmpty(Iterable<?>) - Static method in class com.google.common.collect.testing.Helpers
- assertEmpty(Map<?, ?>) - Static method in class com.google.common.collect.testing.Helpers
- assertEqualIgnoringOrder(Iterable<?>, Iterable<?>) - Static method in class com.google.common.collect.testing.Helpers
- assertEqualInOrder(Iterable<?>, Iterable<?>) - Static method in class com.google.common.collect.testing.Helpers
- assertEscaping(CharEscaper, String, char) - Static method in class com.google.common.escape.testing.EscaperAsserts
-
Asserts that an escaper escapes the given character into the expected string.
- assertEscaping(UnicodeEscaper, String, int) - Static method in class com.google.common.escape.testing.EscaperAsserts
-
Asserts that a Unicode escaper escapes the given code point into the expected string.
- assertException(Throwable) - Method in class com.google.common.util.concurrent.testing.MockFutureListener
-
Verify that the listener completes in a reasonable amount of time, and Asserts that the future throws an
ExecutableException
and that the cause of theExecutableException
isexpectedCause
. - assertGet(K, Collection<V>) - Method in class com.google.common.collect.testing.google.AbstractListMultimapTester
- assertGet(K, Collection<V>) - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- assertGet(K, V...) - Method in class com.google.common.collect.testing.google.AbstractListMultimapTester
- assertGet(K, V...) - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- assertInvariants(Map<K, V>) - Method in class com.google.common.collect.testing.MapInterfaceTest
-
Checks all the properties that should always hold of a map.
- assertIteratorIsUnmodifiable(Iterator<?>) - Static method in class com.google.common.collect.testing.google.UnmodifiableCollectionTests
-
Verifies that an Iterator is unmodifiable.
- assertIteratorsInOrder(Iterator<?>, Iterator<?>) - Static method in class com.google.common.collect.testing.google.UnmodifiableCollectionTests
-
Asserts that two iterators contain elements in tandem.
- assertMapEntryIsUnmodifiable(Map.Entry<?, ?>) - Static method in class com.google.common.collect.testing.google.UnmodifiableCollectionTests
- assertMoreInvariants(Map<K, V>) - Method in class com.google.common.collect.testing.MapInterfaceTest
-
Override this to check invariants which should hold true for a particular implementation, but which are not generally applicable to every instance of Map.
- assertMultimapIsUnmodifiable(Multimap<K, V>, K, V) - Static method in class com.google.common.collect.testing.google.UnmodifiableCollectionTests
-
Verifies that a multimap is immutable.
- assertMultisetIsUnmodifiable(Multiset<E>, E) - Static method in class com.google.common.collect.testing.google.UnmodifiableCollectionTests
-
Verifies that a multiset is immutable.
- assertSetIsUnmodifiable(Set<E>, E) - Static method in class com.google.common.collect.testing.google.UnmodifiableCollectionTests
-
Verifies that a set is immutable.
- assertSuccess(Object) - Method in class com.google.common.util.concurrent.testing.MockFutureListener
-
Verify that the listener completes in a reasonable amount of time, and Asserts that the future returns the expected data.
- assertTimeout() - Method in class com.google.common.util.concurrent.testing.MockFutureListener
- assertUnescaped(CharEscaper, char) - Static method in class com.google.common.escape.testing.EscaperAsserts
-
Asserts that an escaper does not escape the given character.
- assertUnescaped(UnicodeEscaper, int) - Static method in class com.google.common.escape.testing.EscaperAsserts
-
Asserts that a Unicode escaper does not escape the given character.
- assertUnicodeEscaping(UnicodeEscaper, String, char, char) - Static method in class com.google.common.escape.testing.EscaperAsserts
-
Asserts that a Unicode escaper escapes the given hi/lo surrogate pair into the expected string.
- asSet() - Method in class com.google.common.base.Optional
-
Returns an immutable singleton
Set
whose only element is the contained instance if it is present; an empty immutableSet
otherwise. - asSet(DiscreteDomain<C>) - Method in class com.google.common.collect.ImmutableRangeSet
-
Returns an
ImmutableSortedSet
containing the same values in the given domain contained by this range set. - assignableFrom(Class<?>) - Static method in class com.google.common.base.Predicates
-
Deprecated.Use the correctly-named method
Predicates.subtypeOf(java.lang.Class<?>)
instead. - asWriter(Appendable) - Static method in class com.google.common.io.CharStreams
-
Returns a Writer that sends all output to the given
Appendable
target. - AsyncCallable<V> - Interface in com.google.common.util.concurrent
-
Computes a value, possibly asynchronously.
- AsyncEventBus - Class in com.google.common.eventbus
-
An
EventBus
that takes the Executor of your choice and uses it to dispatch events, allowing dispatch to occur asynchronously. - AsyncEventBus(String, Executor) - Constructor for class com.google.common.eventbus.AsyncEventBus
-
Creates a new AsyncEventBus that will use
executor
to dispatch events. - AsyncEventBus(Executor) - Constructor for class com.google.common.eventbus.AsyncEventBus
-
Creates a new AsyncEventBus that will use
executor
to dispatch events. - AsyncEventBus(Executor, SubscriberExceptionHandler) - Constructor for class com.google.common.eventbus.AsyncEventBus
-
Creates a new AsyncEventBus that will use
executor
to dispatch events. - AsyncFunction<I,O> - Interface in com.google.common.util.concurrent
-
Transforms a value, possibly asynchronously.
- asynchronous(RemovalListener<K, V>, Executor) - Static method in class com.google.common.cache.RemovalListeners
-
Returns a
RemovalListener
which processes all eviction notifications usingexecutor
. - asyncReloading(CacheLoader<K, V>, Executor) - Static method in class com.google.common.cache.CacheLoader
-
Returns a
CacheLoader
which wrapsloader
, executing calls toCacheLoader.reload(K, V)
usingexecutor
. - at(int, int) - Method in class com.google.common.collect.ArrayTable
-
Returns the value corresponding to the specified row and column indices.
- atLeast(C) - Static method in class com.google.common.collect.Range
-
Returns a range that contains all values greater than or equal to
endpoint
. - atMost(C) - Static method in class com.google.common.collect.Range
-
Returns a range that contains all values less than or equal to
endpoint
. - ATOM_UTF_8 - Static variable in class com.google.common.net.MediaType
- AtomicDouble - Class in com.google.common.util.concurrent
-
A
double
value that may be updated atomically. - AtomicDouble() - Constructor for class com.google.common.util.concurrent.AtomicDouble
-
Creates a new
AtomicDouble
with initial value0.0
. - AtomicDouble(double) - Constructor for class com.google.common.util.concurrent.AtomicDouble
-
Creates a new
AtomicDouble
with the given initial value. - AtomicDoubleArray - Class in com.google.common.util.concurrent
-
A
double
array in which elements may be updated atomically. - AtomicDoubleArray(double[]) - Constructor for class com.google.common.util.concurrent.AtomicDoubleArray
-
Creates a new
AtomicDoubleArray
with the same length as, and all elements copied from, the given array. - AtomicDoubleArray(int) - Constructor for class com.google.common.util.concurrent.AtomicDoubleArray
-
Creates a new
AtomicDoubleArray
of the given length, with all elements initially zero. - AtomicLongMap<K> - Class in com.google.common.util.concurrent
-
A map containing
long
values that can be atomically updated. - Atomics - Class in com.google.common.util.concurrent
-
Static utility methods pertaining to classes in the
java.util.concurrent.atomic
package. - AUTHORIZATION - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Authorization
header field name. - averageLoadPenalty() - Method in class com.google.common.cache.CacheStats
-
Returns the average time spent loading new values.
- await(CountDownLatch) - Static method in class com.google.common.testing.GcFinalization
-
Waits until the given latch has counted down to zero, invoking the garbage collector as necessary to try to ensure that this will happen.
- awaitClear(WeakReference<?>) - Static method in class com.google.common.testing.GcFinalization
-
Waits until the given weak reference is cleared, invoking the garbage collector as necessary to try to ensure that this will happen.
- awaitDone(GcFinalization.FinalizationPredicate) - Static method in class com.google.common.testing.GcFinalization
-
Waits until the given predicate returns true, invoking the garbage collector as necessary to try to ensure that this will happen.
- awaitDone(Future<?>) - Static method in class com.google.common.testing.GcFinalization
-
Waits until the given future is done, invoking the garbage collector as necessary to try to ensure that this will happen.
- awaitFullGc() - Static method in class com.google.common.testing.GcFinalization
-
Tries to perform a "full" garbage collection cycle (including processing of weak references and invocation of finalize methods) and waits for it to complete.
- awaitHealthy() - Method in class com.google.common.util.concurrent.ServiceManager
-
Waits for the
ServiceManager
to become healthy. - awaitHealthy(long, TimeUnit) - Method in class com.google.common.util.concurrent.ServiceManager
-
Waits for the
ServiceManager
to become healthy for no more than the given time. - awaitRunning() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
- awaitRunning() - Method in class com.google.common.util.concurrent.AbstractIdleService
- awaitRunning() - Method in class com.google.common.util.concurrent.AbstractScheduledService
- awaitRunning() - Method in class com.google.common.util.concurrent.AbstractService
- awaitRunning() - Method in interface com.google.common.util.concurrent.Service
-
Waits for the
Service
to reach the running state. - awaitRunning(long, TimeUnit) - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
- awaitRunning(long, TimeUnit) - Method in class com.google.common.util.concurrent.AbstractIdleService
- awaitRunning(long, TimeUnit) - Method in class com.google.common.util.concurrent.AbstractScheduledService
- awaitRunning(long, TimeUnit) - Method in class com.google.common.util.concurrent.AbstractService
- awaitRunning(long, TimeUnit) - Method in interface com.google.common.util.concurrent.Service
-
Waits for the
Service
to reach the running state for no more than the given time. - awaitStopped() - Method in class com.google.common.util.concurrent.ServiceManager
-
Waits for the all the services to reach a terminal state.
- awaitStopped(long, TimeUnit) - Method in class com.google.common.util.concurrent.ServiceManager
-
Waits for the all the services to reach a terminal state for no more than the given time.
- awaitTerminated() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
- awaitTerminated() - Method in class com.google.common.util.concurrent.AbstractIdleService
- awaitTerminated() - Method in class com.google.common.util.concurrent.AbstractScheduledService
- awaitTerminated() - Method in class com.google.common.util.concurrent.AbstractService
- awaitTerminated() - Method in interface com.google.common.util.concurrent.Service
-
Waits for the
Service
to reach the terminated state. - awaitTerminated(long, TimeUnit) - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
- awaitTerminated(long, TimeUnit) - Method in class com.google.common.util.concurrent.AbstractIdleService
- awaitTerminated(long, TimeUnit) - Method in class com.google.common.util.concurrent.AbstractScheduledService
- awaitTerminated(long, TimeUnit) - Method in class com.google.common.util.concurrent.AbstractService
- awaitTerminated(long, TimeUnit) - Method in interface com.google.common.util.concurrent.Service
-
Waits for the
Service
to reach a terminal state (eitherterminated
orfailed
) for no more than the given time. - awaitTermination(long, TimeUnit) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
- awaitUninterruptibly(CountDownLatch) - Static method in class com.google.common.util.concurrent.Uninterruptibles
-
Invokes
latch.
await()
uninterruptibly. - awaitUninterruptibly(CountDownLatch, long, TimeUnit) - Static method in class com.google.common.util.concurrent.Uninterruptibles
-
Invokes
latch.
await(timeout, unit)
uninterruptibly.
B
- B - com.google.common.collect.testing.AnEnum
- base16() - Static method in class com.google.common.io.BaseEncoding
-
The "base16" encoding specified by RFC 4648 section 8, Base 16 Encoding.
- base32() - Static method in class com.google.common.io.BaseEncoding
-
The "base32" encoding specified by RFC 4648 section 6, Base 32 Encoding.
- base32Hex() - Static method in class com.google.common.io.BaseEncoding
-
The "base32hex" encoding specified by RFC 4648 section 7, Base 32 Encoding with Extended Hex Alphabet.
- base64() - Static method in class com.google.common.io.BaseEncoding
-
The "base64" base encoding specified by RFC 4648 section 4, Base 64 Encoding.
- base64Url() - Static method in class com.google.common.io.BaseEncoding
-
The "base64url" encoding specified by RFC 4648 section 5, Base 64 Encoding with URL and Filename Safe Alphabet, also sometimes referred to as the "web safe Base64." (This is the same as the base 64 encoding with URL and filename safe alphabet from RFC 3548.)
- BaseComparable - Class in com.google.common.collect.testing
-
Simple base class to verify that we handle generics correctly.
- BaseComparable(String) - Constructor for class com.google.common.collect.testing.BaseComparable
- BaseEncoding - Class in com.google.common.io
-
A binary encoding scheme for reversibly translating between byte sequences and printable ASCII strings.
- BaseEncoding.DecodingException - Exception in com.google.common.io
-
Exception indicating invalid base-encoded input encountered while decoding.
- BASIC_AUDIO - Static variable in class com.google.common.net.MediaType
-
Media type for Basic Audio, as defined by RFC 2046.
- BEFORE_FIRST - Static variable in class com.google.common.collect.testing.SampleElements.Strings
- BEFORE_FIRST_2 - Static variable in class com.google.common.collect.testing.SampleElements.Strings
- BEL - Static variable in class com.google.common.base.Ascii
-
Bell ('\a'): A character for use when there is a need to call for human attention.
- belowSamplesGreater() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapSortedKeySetGenerator
- belowSamplesGreater() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator
- belowSamplesGreater() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator
- belowSamplesGreater() - Method in interface com.google.common.collect.testing.TestSortedMapGenerator
-
Returns an entry with a key less than the keys of the
TestContainerGenerator.samples()
but greater than the key ofTestSortedMapGenerator.belowSamplesLesser()
. - belowSamplesGreater() - Method in interface com.google.common.collect.testing.TestSortedSetGenerator
-
Returns an element less than the
TestContainerGenerator.samples()
but greater thanTestSortedSetGenerator.belowSamplesLesser()
. - belowSamplesGreater() - Method in class com.google.common.collect.testing.TestStringSortedMapGenerator
- belowSamplesGreater() - Method in class com.google.common.collect.testing.TestStringSortedSetGenerator
- belowSamplesLesser() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapSortedKeySetGenerator
- belowSamplesLesser() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator
- belowSamplesLesser() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator
- belowSamplesLesser() - Method in interface com.google.common.collect.testing.TestSortedMapGenerator
-
Returns an entry with a key less than the keys of the
TestContainerGenerator.samples()
and less than the key ofTestSortedMapGenerator.belowSamplesGreater()
. - belowSamplesLesser() - Method in interface com.google.common.collect.testing.TestSortedSetGenerator
-
Returns an element less than the
TestContainerGenerator.samples()
and less thanTestSortedSetGenerator.belowSamplesGreater()
. - belowSamplesLesser() - Method in class com.google.common.collect.testing.TestStringSortedMapGenerator
- belowSamplesLesser() - Method in class com.google.common.collect.testing.TestStringSortedSetGenerator
- Beta - Annotation Type in com.google.common.annotations
-
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.
- BigIntegerMath - Class in com.google.common.math
-
A class for arithmetic on values of type
BigInteger
. - bigIntegers() - Static method in class com.google.common.collect.DiscreteDomain
-
Returns the discrete domain for values of type
BigInteger
. - bigIntegerValue() - Method in class com.google.common.primitives.UnsignedInteger
-
Returns the value of this
UnsignedInteger
as aBigInteger
. - bigIntegerValue() - Method in class com.google.common.primitives.UnsignedLong
-
Returns the value of this
UnsignedLong
as aBigInteger
. - BiMap<K,V> - Interface in com.google.common.collect
-
A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as that of its keys.
- BiMapClearTester<K,V> - Class in com.google.common.collect.testing.google
-
Tester for
BiMap.clear
. - BiMapClearTester() - Constructor for class com.google.common.collect.testing.google.BiMapClearTester
- BiMapGenerators - Class in com.google.common.collect.testing.google
-
Generators of various
BiMap
s and derived collections. - BiMapGenerators() - Constructor for class com.google.common.collect.testing.google.BiMapGenerators
- BiMapGenerators.ImmutableBiMapCopyOfEntriesGenerator - Class in com.google.common.collect.testing.google
- BiMapGenerators.ImmutableBiMapCopyOfGenerator - Class in com.google.common.collect.testing.google
- BiMapGenerators.ImmutableBiMapGenerator - Class in com.google.common.collect.testing.google
- BiMapInverseTester<K,V> - Class in com.google.common.collect.testing.google
-
Tests for the
inverse
view of a BiMap. - BiMapInverseTester() - Constructor for class com.google.common.collect.testing.google.BiMapInverseTester
- BiMapPutTester<K,V> - Class in com.google.common.collect.testing.google
-
Tester for
BiMap.put
andBiMap.forcePut
. - BiMapPutTester() - Constructor for class com.google.common.collect.testing.google.BiMapPutTester
- BiMapRemoveTester<K,V> - Class in com.google.common.collect.testing.google
-
Tester for
BiMap.remove
. - BiMapRemoveTester() - Constructor for class com.google.common.collect.testing.google.BiMapRemoveTester
- BiMapTestSuiteBuilder<K,V> - Class in com.google.common.collect.testing.google
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a
BiMap
implementation. - BiMapTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.google.BiMapTestSuiteBuilder
- BiMapValueSetGenerator(OneSizeTestContainerGenerator<BiMap<K, V>, Map.Entry<K, V>>) - Constructor for class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.BiMapValueSetGenerator
- binarySearch(List<? extends T>, T) - Method in class com.google.common.collect.Ordering
-
Deprecated.Use
Collections.binarySearch(List, Object, Comparator)
directly. This method is scheduled for deletion in June 2018. - BinaryTreeTraverser<T> - Class in com.google.common.collect
-
A variant of
TreeTraverser
for binary trees, providing additional traversals specific to binary trees. - BinaryTreeTraverser() - Constructor for class com.google.common.collect.BinaryTreeTraverser
- binomial(int, int) - Static method in class com.google.common.math.BigIntegerMath
-
Returns
n
choosek
, also known as the binomial coefficient ofn
andk
, that is,n! / (k! (n - k)!)
. - binomial(int, int) - Static method in class com.google.common.math.IntMath
-
Returns
n
choosek
, also known as the binomial coefficient ofn
andk
, orInteger.MAX_VALUE
if the result does not fit in anint
. - binomial(int, int) - Static method in class com.google.common.math.LongMath
-
Returns
n
choosek
, also known as the binomial coefficient ofn
andk
, orLong.MAX_VALUE
if the result does not fit in along
. - bits() - Method in class com.google.common.hash.HashCode
-
Returns the number of bits in this hash code; a positive multiple of 8.
- bits() - Method in interface com.google.common.hash.HashFunction
-
Returns the number of bits (a multiple of 32) that each hash code produced by this hash function has.
- BloomFilter<T> - Class in com.google.common.hash
-
A Bloom filter for instances of
T
. - BMP - Static variable in class com.google.common.net.MediaType
- Booleans - Class in com.google.common.primitives
-
Static utility methods pertaining to
boolean
primitives, that are not already found in eitherBoolean
orArrays
. - BoundType - Enum in com.google.common.collect
-
Indicates whether an endpoint of some range is contained in the range itself ("closed") or not ("open").
- breadthFirstTraversal(T) - Method in class com.google.common.collect.TreeTraverser
-
Returns an unmodifiable iterable over the nodes in a tree structure, using breadth-first traversal.
- BREAKING_WHITESPACE - Static variable in class com.google.common.base.CharMatcher
-
Deprecated.Use
CharMatcher.breakingWhitespace()
instead. This constant is scheduled to be removed in June 2018. - breakingWhitespace() - Static method in class com.google.common.base.CharMatcher
-
Determines whether a character is a breaking whitespace (that is, a whitespace which can be interpreted as a break between words for formatting purposes).
- BS - Static variable in class com.google.common.base.Ascii
-
Backspace ('\b'): A format effector which controls the movement of the printing position one printing space backward on the same printing line.
- build() - Method in class com.google.common.cache.CacheBuilder
-
Builds a cache which does not automatically load values when keys are requested.
- build() - Method in class com.google.common.collect.ImmutableBiMap.Builder
-
Returns a newly-created immutable bimap.
- build() - Method in class com.google.common.collect.ImmutableClassToInstanceMap.Builder
-
Returns a new immutable class-to-instance map containing the entries provided to this builder.
- build() - Method in class com.google.common.collect.ImmutableCollection.Builder
-
Returns a newly-created
ImmutableCollection
of the appropriate type, containing the elements provided to this builder. - build() - Method in class com.google.common.collect.ImmutableList.Builder
-
Returns a newly-created
ImmutableList
based on the contents of theBuilder
. - build() - Method in class com.google.common.collect.ImmutableListMultimap.Builder
-
Returns a newly-created immutable list multimap.
- build() - Method in class com.google.common.collect.ImmutableMap.Builder
-
Returns a newly-created immutable map.
- build() - Method in class com.google.common.collect.ImmutableMultimap.Builder
-
Returns a newly-created immutable multimap.
- build() - Method in class com.google.common.collect.ImmutableMultiset.Builder
-
Returns a newly-created
ImmutableMultiset
based on the contents of theBuilder
. - build() - Method in class com.google.common.collect.ImmutableRangeMap.Builder
-
Returns an
ImmutableRangeMap
containing the associations previously added to this builder. - build() - Method in class com.google.common.collect.ImmutableRangeSet.Builder
-
Returns an
ImmutableRangeSet
containing the ranges added to this builder. - build() - Method in class com.google.common.collect.ImmutableSet.Builder
-
Returns a newly-created
ImmutableSet
based on the contents of theBuilder
. - build() - Method in class com.google.common.collect.ImmutableSetMultimap.Builder
-
Returns a newly-created immutable set multimap.
- build() - Method in class com.google.common.collect.ImmutableSortedMap.Builder
-
Returns a newly-created immutable sorted map.
- build() - Method in class com.google.common.collect.ImmutableSortedMultiset.Builder
-
Returns a newly-created
ImmutableSortedMultiset
based on the contents of theBuilder
. - build() - Method in class com.google.common.collect.ImmutableSortedSet.Builder
-
Returns a newly-created
ImmutableSortedSet
based on the contents of theBuilder
and its comparator. - build() - Method in class com.google.common.collect.ImmutableTable.Builder
-
Returns a newly-created immutable table.
- build() - Method in class com.google.common.collect.MultimapBuilder
-
Returns a new, empty
Multimap
with the specified implementation. - build() - Method in class com.google.common.collect.MultimapBuilder.ListMultimapBuilder
- build() - Method in class com.google.common.collect.MultimapBuilder.SetMultimapBuilder
- build() - Method in class com.google.common.collect.MultimapBuilder.SortedSetMultimapBuilder
- build() - Method in class com.google.common.escape.Escapers.Builder
-
Returns a new escaper based on the current state of the builder.
- build() - Method in class com.google.common.graph.GraphBuilder
-
Returns an empty
MutableGraph
with the properties of thisGraphBuilder
. - build() - Method in class com.google.common.graph.NetworkBuilder
-
Returns an empty
MutableNetwork
with the properties of thisNetworkBuilder
. - build() - Method in class com.google.common.graph.ValueGraphBuilder
-
Returns an empty
MutableValueGraph
with the properties of thisValueGraphBuilder
. - build() - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap.Builder
-
Returns a new immutable type-to-instance map containing the entries provided to this builder.
- build() - Method in class com.google.common.util.concurrent.ThreadFactoryBuilder
-
Returns a new thread factory using the options supplied during the building process.
- build(CacheLoader<? super K1, V1>) - Method in class com.google.common.cache.CacheBuilder
-
Builds a cache, which either returns an already-loaded value for a given key or atomically computes or retrieves it using the supplied
CacheLoader
. - build(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.MultimapBuilder
-
Returns a
Multimap
with the specified implementation, initialized with the entries ofmultimap
. - build(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.MultimapBuilder.ListMultimapBuilder
- build(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.MultimapBuilder.SetMultimapBuilder
- build(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.MultimapBuilder.SortedSetMultimapBuilder
- buildDeclaredTesterRequirements(AnnotatedElement) - Static method in class com.google.common.collect.testing.features.FeatureUtil
-
Construct the set of requirements specified by annotations directly on a tester class or method.
- builder() - Static method in class com.google.common.collect.ContiguousSet
- builder() - Static method in class com.google.common.collect.ImmutableBiMap
-
Returns a new builder.
- builder() - Static method in class com.google.common.collect.ImmutableClassToInstanceMap
-
Returns a new builder.
- builder() - Static method in class com.google.common.collect.ImmutableList
-
Returns a new builder.
- builder() - Static method in class com.google.common.collect.ImmutableListMultimap
-
Returns a new builder.
- builder() - Static method in class com.google.common.collect.ImmutableMap
-
Returns a new builder.
- builder() - Static method in class com.google.common.collect.ImmutableMultimap
-
Returns a new builder.
- builder() - Static method in class com.google.common.collect.ImmutableMultiset
-
Returns a new builder.
- builder() - Static method in class com.google.common.collect.ImmutableRangeMap
-
Returns a new builder for an immutable range map.
- builder() - Static method in class com.google.common.collect.ImmutableRangeSet
-
Returns a new builder for an immutable range set.
- builder() - Static method in class com.google.common.collect.ImmutableSet
-
Returns a new builder.
- builder() - Static method in class com.google.common.collect.ImmutableSetMultimap
-
Returns a new
ImmutableSetMultimap.Builder
. - builder() - Static method in class com.google.common.collect.ImmutableTable
-
Returns a new builder.
- builder() - Static method in class com.google.common.escape.Escapers
-
Returns a builder for creating simple, fast escapers.
- builder() - Static method in class com.google.common.reflect.ImmutableTypeToInstanceMap
-
Returns a new builder.
- Builder() - Constructor for class com.google.common.collect.ImmutableBiMap.Builder
-
Creates a new builder.
- Builder() - Constructor for class com.google.common.collect.ImmutableClassToInstanceMap.Builder
- Builder() - Constructor for class com.google.common.collect.ImmutableList.Builder
-
Creates a new builder.
- Builder() - Constructor for class com.google.common.collect.ImmutableListMultimap.Builder
-
Creates a new builder.
- Builder() - Constructor for class com.google.common.collect.ImmutableMap.Builder
-
Creates a new builder.
- Builder() - Constructor for class com.google.common.collect.ImmutableMultimap.Builder
-
Creates a new builder.
- Builder() - Constructor for class com.google.common.collect.ImmutableMultiset.Builder
-
Creates a new builder.
- Builder() - Constructor for class com.google.common.collect.ImmutableRangeMap.Builder
- Builder() - Constructor for class com.google.common.collect.ImmutableRangeSet.Builder
- Builder() - Constructor for class com.google.common.collect.ImmutableSet.Builder
-
Creates a new builder.
- Builder() - Constructor for class com.google.common.collect.ImmutableSetMultimap.Builder
-
Creates a new builder.
- Builder() - Constructor for class com.google.common.collect.ImmutableTable.Builder
-
Creates a new builder.
- Builder(Comparator<? super E>) - Constructor for class com.google.common.collect.ImmutableSortedMultiset.Builder
-
Creates a new builder.
- Builder(Comparator<? super E>) - Constructor for class com.google.common.collect.ImmutableSortedSet.Builder
-
Creates a new builder.
- Builder(Comparator<? super K>) - Constructor for class com.google.common.collect.ImmutableSortedMap.Builder
-
Creates a new builder.
- BuilderAddAllListGenerator() - Constructor for class com.google.common.collect.testing.google.ListGenerators.BuilderAddAllListGenerator
- BuilderAddListGenerator() - Constructor for class com.google.common.collect.testing.google.ListGenerators.BuilderAddListGenerator
- BuilderReversedListGenerator() - Constructor for class com.google.common.collect.testing.google.ListGenerators.BuilderReversedListGenerator
- bulkGet(Iterable<?>) - Method in class com.google.common.util.concurrent.Striped
-
Returns the stripes that correspond to the passed objects, in ascending (as per
Striped.getAt(int)
) order. - ByteArrayDataInput - Interface in com.google.common.io
-
An extension of
DataInput
for reading from in-memory byte arrays; its methods offer identical functionality but do not throwIOException
. - ByteArrayDataOutput - Interface in com.google.common.io
-
An extension of
DataOutput
for writing to in-memory byte arrays; its methods offer identical functionality but do not throwIOException
. - byteArrayFunnel() - Static method in class com.google.common.hash.Funnels
-
Returns a funnel that extracts the bytes from a
byte
array. - ByteProcessor<T> - Interface in com.google.common.io
-
A callback interface to process bytes from a stream.
- Bytes - Class in com.google.common.primitives
-
Static utility methods pertaining to
byte
primitives, that are not already found in eitherByte
orArrays
, and interpret bytes as neither signed nor unsigned. - BYTES - Static variable in class com.google.common.primitives.Chars
-
The number of bytes required to represent a primitive
char
value. - BYTES - Static variable in class com.google.common.primitives.Doubles
-
The number of bytes required to represent a primitive
double
value. - BYTES - Static variable in class com.google.common.primitives.Floats
-
The number of bytes required to represent a primitive
float
value. - BYTES - Static variable in class com.google.common.primitives.Ints
-
The number of bytes required to represent a primitive
int
value. - BYTES - Static variable in class com.google.common.primitives.Longs
-
The number of bytes required to represent a primitive
long
value. - BYTES - Static variable in class com.google.common.primitives.Shorts
-
The number of bytes required to represent a primitive
short
value. - ByteSink - Class in com.google.common.io
-
A destination to which bytes can be written, such as a file.
- ByteSink() - Constructor for class com.google.common.io.ByteSink
-
Constructor for use by subclasses.
- ByteSource - Class in com.google.common.io
-
A readable source of bytes, such as a file.
- ByteSource() - Constructor for class com.google.common.io.ByteSource
-
Constructor for use by subclasses.
- ByteStreams - Class in com.google.common.io
-
Provides utility methods for working with byte arrays and I/O streams.
- BZIP2 - Static variable in class com.google.common.net.MediaType
C
- C - com.google.common.collect.testing.AnEnum
- Cache<K,V> - Interface in com.google.common.cache
-
A semi-persistent mapping from keys to values.
- CACHE_CONTROL - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Cache-Control
header field name. - CACHE_MANIFEST_UTF_8 - Static variable in class com.google.common.net.MediaType
- CacheBuilder<K,V> - Class in com.google.common.cache
-
A builder of
LoadingCache
andCache
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 - Class in com.google.common.cache
-
A specification of a
CacheBuilder
configuration. - CacheLoader<K,V> - Class in com.google.common.cache
-
Computes or retrieves values, based on a key, for use in populating a
LoadingCache
. - CacheLoader() - Constructor for class com.google.common.cache.CacheLoader
-
Constructor for use by subclasses.
- CacheLoader.InvalidCacheLoadException - Exception in com.google.common.cache
-
Thrown to indicate that an invalid response was returned from a call to
CacheLoader
. - CacheLoader.UnsupportedLoadingOperationException - Exception in com.google.common.cache
-
Exception thrown by
loadAll()
to indicate that it is not supported. - CacheStats - Class in com.google.common.cache
-
Statistics about the performance of a
Cache
. - CacheStats(long, long, long, long, long, long) - Constructor for class com.google.common.cache.CacheStats
-
Constructs a new
CacheStats
instance. - call() - Method in interface com.google.common.util.concurrent.AsyncCallable
-
Computes a result
Future
. - call(Callable<C>) - Method in class com.google.common.util.concurrent.Futures.FutureCombiner
-
Like
Futures.FutureCombiner.call(Callable, Executor)
but using direct executor. - call(Callable<C>, Executor) - Method in class com.google.common.util.concurrent.Futures.FutureCombiner
-
Creates the
ListenableFuture
which will return the result of callingCallable.call()
incombiner
when all futures complete, using the specifiedexecutor
. - Callables - Class in com.google.common.util.concurrent
-
Static utility methods pertaining to the
Callable
interface. - callAsync(AsyncCallable<C>) - Method in class com.google.common.util.concurrent.Futures.FutureCombiner
- callAsync(AsyncCallable<C>, Executor) - Method in class com.google.common.util.concurrent.Futures.FutureCombiner
-
Creates the
ListenableFuture
which will return the result of callingAsyncCallable.call()
incombiner
when all futures complete, using the specifiedexecutor
. - callWithTimeout(Callable<T>, long, TimeUnit, boolean) - Method in class com.google.common.util.concurrent.FakeTimeLimiter
- callWithTimeout(Callable<T>, long, TimeUnit, boolean) - Method in class com.google.common.util.concurrent.SimpleTimeLimiter
- callWithTimeout(Callable<T>, long, TimeUnit, boolean) - Method in interface com.google.common.util.concurrent.TimeLimiter
-
Invokes a specified Callable, timing out after the specified time limit.
- CAN - Static variable in class com.google.common.base.Ascii
-
Cancel: A control character used to indicate that the data with which it is sent is in error or is to be disregarded.
- cancel(boolean) - Method in class com.google.common.util.concurrent.AbstractFuture
- cancel(boolean) - Method in class com.google.common.util.concurrent.ForwardingFuture
- canDecode(CharSequence) - Method in class com.google.common.io.BaseEncoding
-
Determines whether the specified character sequence is a valid encoded string according to this encoding.
- canonical(DiscreteDomain<C>) - Method in class com.google.common.collect.Range
-
Returns the canonical form of this range in the given domain.
- cartesianProduct(List<? extends B>...) - Static method in class com.google.common.collect.Lists
-
Returns every possible list that can be formed by choosing one element from each of the given lists in order; the "n-ary Cartesian product" of the lists.
- cartesianProduct(List<? extends List<? extends B>>) - Static method in class com.google.common.collect.Lists
-
Returns every possible list that can be formed by choosing one element from each of the given lists in order; the "n-ary Cartesian product" of the lists.
- cartesianProduct(List<? extends Set<? extends B>>) - Static method in class com.google.common.collect.Sets
-
Returns every possible list that can be formed by choosing one element from each of the given sets in order; the "n-ary Cartesian product" of the sets.
- cartesianProduct(Set<? extends B>...) - Static method in class com.google.common.collect.Sets
-
Returns every possible list that can be formed by choosing one element from each of the given sets in order; the "n-ary Cartesian product" of the sets.
- CaseFormat - Enum in com.google.common.base
-
Utility class for converting between various ASCII case formats.
- catching(ListenableFuture<? extends V>, Class<X>, Function<? super X, ? extends V>) - Static method in class com.google.common.util.concurrent.Futures
-
Returns a
Future
whose result is taken from the given primaryinput
or, if the primary input fails with the givenexceptionType
, from the result provided by thefallback
. - catching(ListenableFuture<? extends V>, Class<X>, Function<? super X, ? extends V>, Executor) - Static method in class com.google.common.util.concurrent.Futures
-
Returns a
Future
whose result is taken from the given primaryinput
or, if the primary input fails with the givenexceptionType
, from the result provided by thefallback
. - catchingAsync(ListenableFuture<? extends V>, Class<X>, AsyncFunction<? super X, ? extends V>) - Static method in class com.google.common.util.concurrent.Futures
-
Returns a
Future
whose result is taken from the given primaryinput
or, if the primary input fails with the givenexceptionType
, from the result provided by thefallback
. - catchingAsync(ListenableFuture<? extends V>, Class<X>, AsyncFunction<? super X, ? extends V>, Executor) - Static method in class com.google.common.util.concurrent.Futures
-
Returns a
Future
whose result is taken from the given primaryinput
or, if the primary input fails with the givenexceptionType
, from the result provided by thefallback
. - ceiling(E) - Method in class com.google.common.collect.ForwardingNavigableSet
- ceiling(E) - Method in class com.google.common.collect.ImmutableSortedSet
- ceiling(E) - Method in class com.google.common.collect.testing.SafeTreeSet
- ceilingEntry(K) - Method in class com.google.common.collect.ForwardingNavigableMap
- ceilingEntry(K) - Method in class com.google.common.collect.ImmutableSortedMap
- ceilingEntry(K) - Method in class com.google.common.collect.testing.SafeTreeMap
- ceilingKey(K) - Method in class com.google.common.collect.ForwardingNavigableMap
- ceilingKey(K) - Method in class com.google.common.collect.ImmutableSortedMap
- ceilingKey(K) - Method in class com.google.common.collect.testing.SafeTreeMap
- ceilingPowerOfTwo(int) - Static method in class com.google.common.math.IntMath
-
Returns the smallest power of two greater than or equal to
x
. - ceilingPowerOfTwo(long) - Static method in class com.google.common.math.LongMath
-
Returns the smallest power of two greater than or equal to
x
. - ceilingPowerOfTwo(BigInteger) - Static method in class com.google.common.math.BigIntegerMath
-
Returns the smallest power of two greater than or equal to
x
. - cellSet() - Method in class com.google.common.collect.ArrayTable
-
Returns an unmodifiable set of all row key / column key / value triplets.
- cellSet() - Method in class com.google.common.collect.ForwardingTable
- cellSet() - Method in class com.google.common.collect.ImmutableTable
- cellSet() - Method in interface com.google.common.collect.Table
-
Returns a set of all row key / column key / value triplets.
- charactersOf(CharSequence) - Static method in class com.google.common.collect.Lists
-
Returns a view of the specified
CharSequence
as aList<Character>
, viewingsequence
as a sequence of Unicode code units. - charactersOf(String) - Static method in class com.google.common.collect.Lists
-
Returns a view of the specified string as an immutable list of
Character
values. - CharactersOfCharSequenceGenerator() - Constructor for class com.google.common.collect.testing.google.ListGenerators.CharactersOfCharSequenceGenerator
- CharactersOfStringGenerator() - Constructor for class com.google.common.collect.testing.google.ListGenerators.CharactersOfStringGenerator
- CharEscaper - Class in com.google.common.escape
-
An object that converts literal text into a format safe for inclusion in a particular context (such as an XML document).
- CharEscaper() - Constructor for class com.google.common.escape.CharEscaper
-
Constructor for use by subclasses.
- CharEscaperBuilder - Class in com.google.common.escape
-
Simple helper class to build a "sparse" array of objects based on the indexes that were added to it.
- CharEscaperBuilder() - Constructor for class com.google.common.escape.CharEscaperBuilder
-
Construct a new sparse array builder.
- CharMatcher - Class in com.google.common.base
- CharMatcher() - Constructor for class com.google.common.base.CharMatcher
-
Constructor for use by subclasses.
- Chars - Class in com.google.common.primitives
-
Static utility methods pertaining to
char
primitives, that are not already found in eitherCharacter
orArrays
. - Chars() - Constructor for class com.google.common.collect.testing.SampleElements.Chars
- charset() - Method in class com.google.common.net.MediaType
-
Returns an optional charset for the value of the charset parameter if it is specified.
- Charsets - Class in com.google.common.base
-
Contains constant definitions for the six standard
Charset
instances, which are guaranteed to be supported by all Java platform implementations. - CharSink - Class in com.google.common.io
-
A destination to which characters can be written, such as a text file.
- CharSink() - Constructor for class com.google.common.io.CharSink
-
Constructor for use by subclasses.
- CharSource - Class in com.google.common.io
-
A readable source of characters, such as a text file.
- CharSource() - Constructor for class com.google.common.io.CharSource
-
Constructor for use by subclasses.
- CharStreams - Class in com.google.common.io
-
Provides utility methods for working with character streams.
- checkArgument(boolean) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, char) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, char, char) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, char, int) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, char, long) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, char, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, int) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, int, char) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, int, int) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, int, long) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, int, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, long) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, long, char) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, long, int) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, long, long) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, long, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object...) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object, char) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object, int) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object, long) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object, Object, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object, Object, Object, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkCancelledException(Exception) - Method in class com.google.common.util.concurrent.testing.AbstractCheckedFutureTest
-
Checks that the exception is the correct type of cancellation exception.
- checkCanCreate() - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
-
Throw
IllegalStateException
ifFeatureSpecificTestSuiteBuilder.createTestSuite()
can't be called yet. - checkedAdd(int, int) - Static method in class com.google.common.math.IntMath
-
Returns the sum of
a
andb
, provided it does not overflow. - checkedAdd(long, long) - Static method in class com.google.common.math.LongMath
-
Returns the sum of
a
andb
, provided it does not overflow. - checkedCast(long) - Static method in class com.google.common.primitives.Chars
-
Returns the
char
value that is equal tovalue
, if possible. - checkedCast(long) - Static method in class com.google.common.primitives.Ints
-
Returns the
int
value that is equal tovalue
, if possible. - checkedCast(long) - Static method in class com.google.common.primitives.Shorts
-
Returns the
short
value that is equal tovalue
, if possible. - checkedCast(long) - Static method in class com.google.common.primitives.SignedBytes
-
Returns the
byte
value that is equal tovalue
, if possible. - checkedCast(long) - Static method in class com.google.common.primitives.UnsignedBytes
-
Returns the
byte
value that, when treated as unsigned, is equal tovalue
, if possible. - CheckedFuture<V,X extends java.lang.Exception> - Interface in com.google.common.util.concurrent
-
A
CheckedFuture
is aListenableFuture
that includes versions of theget
methods that can throw a checked exception. - checkedGet() - Method in class com.google.common.util.concurrent.AbstractCheckedFuture
-
Exception checking version of
Future.get()
that will translateInterruptedException
,CancellationException
andExecutionException
into application-specific exceptions. - checkedGet() - Method in interface com.google.common.util.concurrent.CheckedFuture
-
Exception checking version of
Future.get()
that will translateInterruptedException
,CancellationException
andExecutionException
into application-specific exceptions. - checkedGet() - Method in class com.google.common.util.concurrent.ForwardingCheckedFuture
- checkedGet(long, TimeUnit) - Method in class com.google.common.util.concurrent.AbstractCheckedFuture
-
Exception checking version of
Future.get(long, TimeUnit)
that will translateInterruptedException
,CancellationException
andExecutionException
into application-specific exceptions. - checkedGet(long, TimeUnit) - Method in interface com.google.common.util.concurrent.CheckedFuture
-
Exception checking version of
Future.get(long, TimeUnit)
that will translateInterruptedException
,CancellationException
andExecutionException
into application-specific exceptions. - checkedGet(long, TimeUnit) - Method in class com.google.common.util.concurrent.ForwardingCheckedFuture
- checkedMultiply(int, int) - Static method in class com.google.common.math.IntMath
-
Returns the product of
a
andb
, provided it does not overflow. - checkedMultiply(long, long) - Static method in class com.google.common.math.LongMath
-
Returns the product of
a
andb
, provided it does not overflow. - checkedPow(int, int) - Static method in class com.google.common.math.IntMath
-
Returns the
b
to thek
th power, provided it does not overflow. - checkedPow(long, int) - Static method in class com.google.common.math.LongMath
-
Returns the
b
to thek
th power, provided it does not overflow. - checkedSubtract(int, int) - Static method in class com.google.common.math.IntMath
-
Returns the difference of
a
andb
, provided it does not overflow. - checkedSubtract(long, long) - Static method in class com.google.common.math.LongMath
-
Returns the difference of
a
andb
, provided it does not overflow. - checkElementIndex(int, int) - Static method in class com.google.common.base.Preconditions
-
Ensures that
index
specifies a valid element in an array, list or string of sizesize
. - checkElementIndex(int, int, String) - Static method in class com.google.common.base.Preconditions
-
Ensures that
index
specifies a valid element in an array, list or string of sizesize
. - checkExecutionException(Exception) - Method in class com.google.common.util.concurrent.testing.AbstractCheckedFutureTest
-
Checks that the exception is the correct type of execution exception.
- checkInterruptedException(Exception) - Method in class com.google.common.util.concurrent.testing.AbstractCheckedFutureTest
-
Checks that the exception is the correct type of interruption exception.
- checkKeyValue(K, V) - Method in interface com.google.common.collect.MapConstraint
-
Deprecated.Throws a suitable
RuntimeException
if the specified key or value is illegal. - checkNotNull(T) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, char) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, char, char) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, char, int) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, char, long) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, char, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, int) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, int, char) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, int, int) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, int, long) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, int, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, long) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, long, char) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, long, int) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, long, long) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, long, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object...) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object, char) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object, int) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object, long) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object, Object, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, String, Object, Object, Object, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkPositionIndex(int, int) - Static method in class com.google.common.base.Preconditions
-
Ensures that
index
specifies a valid position in an array, list or string of sizesize
. - checkPositionIndex(int, int, String) - Static method in class com.google.common.base.Preconditions
-
Ensures that
index
specifies a valid position in an array, list or string of sizesize
. - checkPositionIndexes(int, int, int) - Static method in class com.google.common.base.Preconditions
-
Ensures that
start
andend
specify a valid positions in an array, list or string of sizesize
, and are in order. - checkState(boolean) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, char) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, char, char) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, char, int) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, char, long) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, char, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, int) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, int, char) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, int, int) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, int, long) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, int, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, long) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, long, char) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, long, int) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, long, long) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, long, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object...) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object, char) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object, int) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object, long) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object, Object, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object, Object, Object, Object) - Static method in class com.google.common.base.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- child(String) - Method in class com.google.common.net.InternetDomainName
-
Creates and returns a new
InternetDomainName
by prepending the argument and a dot to the current name. - children(T) - Method in class com.google.common.collect.BinaryTreeTraverser
-
Returns the children of this node, in left-to-right order.
- children(T) - Method in class com.google.common.collect.TreeTraverser
-
Returns the children of the specified node.
- classes() - Method in class com.google.common.reflect.TypeToken.TypeSet
-
Returns the types that are classes.
- ClassPath - Class in com.google.common.reflect
-
Scans the source of a
ClassLoader
and finds all loadable classes and resources. - ClassPath.ClassInfo - Class in com.google.common.reflect
-
Represents a class that can be loaded through
ClassPath.ClassInfo.load()
. - ClassPath.ResourceInfo - Class in com.google.common.reflect
-
Represents a class path resource that can be either a class file or any other resource file loadable from the class path.
- ClassSanityTester - Class in com.google.common.testing
-
Tester that runs automated sanity tests for any given class.
- ClassSanityTester() - Constructor for class com.google.common.testing.ClassSanityTester
- ClassSanityTester.FactoryMethodReturnValueTester - Class in com.google.common.testing
-
Runs sanity tests against return values of static factory methods declared by a class.
- ClassToInstanceMap<B> - Interface in com.google.common.collect
-
A map, each entry of which maps a Java raw type to an instance of that type.
- cleanUp() - Method in class com.google.common.cache.AbstractCache
- cleanUp() - Method in interface com.google.common.cache.Cache
-
Performs any pending maintenance operations needed by the cache.
- cleanUp() - Method in class com.google.common.cache.ForwardingCache
- clear() - Method in class com.google.common.collect.ArrayTable
-
Deprecated.
- clear() - Method in class com.google.common.collect.ConcurrentHashMultiset
- clear() - Method in class com.google.common.collect.ForwardingCollection
- clear() - Method in class com.google.common.collect.ForwardingMap
- clear() - Method in class com.google.common.collect.ForwardingMultimap
- clear() - Method in class com.google.common.collect.ForwardingTable
- clear() - Method in class com.google.common.collect.HashBiMap
- clear() - Method in class com.google.common.collect.ImmutableCollection
-
Deprecated.Unsupported operation.
- clear() - Method in class com.google.common.collect.ImmutableMap
-
Deprecated.Unsupported operation.
- clear() - Method in class com.google.common.collect.ImmutableMultimap
-
Deprecated.Unsupported operation.
- clear() - Method in class com.google.common.collect.ImmutableRangeMap
-
Deprecated.Unsupported operation.
- clear() - Method in class com.google.common.collect.ImmutableTable
-
Deprecated.Unsupported operation.
- clear() - Method in class com.google.common.collect.LinkedHashMultimap
- clear() - Method in class com.google.common.collect.LinkedListMultimap
- clear() - Method in class com.google.common.collect.MinMaxPriorityQueue
- clear() - Method in interface com.google.common.collect.Multimap
-
Removes all key-value pairs from the multimap, leaving it empty.
- clear() - Method in interface com.google.common.collect.RangeMap
-
Removes all associations from this range map (optional operation).
- clear() - Method in interface com.google.common.collect.RangeSet
-
Removes all ranges from this
RangeSet
(optional operation). - clear() - Method in interface com.google.common.collect.Table
-
Removes all mappings from the table.
- clear() - Method in class com.google.common.collect.testing.MinimalCollection
- clear() - Method in class com.google.common.collect.testing.SafeTreeMap
- clear() - Method in class com.google.common.collect.testing.SafeTreeSet
- clear() - Method in class com.google.common.collect.TreeRangeMap
- clear() - Method in class com.google.common.testing.TestLogHandler
- clear() - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Removes all of the mappings from this map.
- close() - Method in class com.google.common.base.FinalizableReferenceQueue
- close() - Method in class com.google.common.hash.HashingOutputStream
- close() - Method in class com.google.common.io.Closer
-
Closes all
Closeable
instances that have been added to thisCloser
. - close() - Method in class com.google.common.io.CountingOutputStream
- close() - Method in class com.google.common.io.FileBackedOutputStream
- close() - Method in class com.google.common.io.LittleEndianDataOutputStream
- close() - Method in class com.google.common.testing.TestLogHandler
- close(Closeable, boolean) - Static method in class com.google.common.io.Closeables
-
Closes a
Closeable
, with control over whether anIOException
may be thrown. - Closeables - Class in com.google.common.io
-
Utility methods for working with
Closeable
objects. - closed(C, C) - Static method in class com.google.common.collect.Range
-
Returns a range that contains all values greater than or equal to
lower
and less than or equal toupper
. - CLOSED - com.google.common.collect.BoundType
-
The endpoint value is considered part of the set ("inclusive").
- closedOpen(C, C) - Static method in class com.google.common.collect.Range
-
Returns a range that contains all values greater than or equal to
lower
and strictly less thanupper
. - closeQuietly(InputStream) - Static method in class com.google.common.io.Closeables
-
Closes the given
InputStream
, logging anyIOException
that's thrown rather than propagating it. - closeQuietly(Reader) - Static method in class com.google.common.io.Closeables
-
Closes the given
Reader
, logging anyIOException
that's thrown rather than propagating it. - Closer - Class in com.google.common.io
- codePointAt(CharSequence, int, int) - Static method in class com.google.common.escape.UnicodeEscaper
-
Returns the Unicode code point of the character at the given index.
- coerceToInteger(InetAddress) - Static method in class com.google.common.net.InetAddresses
-
Returns an integer representing an IPv4 address regardless of whether the supplied argument is an IPv4 address or not.
- collapseFrom(CharSequence, char) - Method in class com.google.common.base.CharMatcher
-
Returns a string copy of the input character sequence, with each group of consecutive characters that match this matcher replaced by a single replacement character.
- COLLECTED - com.google.common.cache.RemovalCause
-
The entry was removed automatically because its key or value was garbage-collected.
- collection - Variable in class com.google.common.collect.testing.AbstractCollectionTester
- CollectionAddAllTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests addAll operations on a collection.
- CollectionAddAllTester() - Constructor for class com.google.common.collect.testing.testers.CollectionAddAllTester
- CollectionAddTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
add
operations on a collection. - CollectionAddTester() - Constructor for class com.google.common.collect.testing.testers.CollectionAddTester
- CollectionClearTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
clear()
operations on a collection. - CollectionClearTester() - Constructor for class com.google.common.collect.testing.testers.CollectionClearTester
- CollectionContainsAllTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
containsAll()
operations on a collection. - CollectionContainsAllTester() - Constructor for class com.google.common.collect.testing.testers.CollectionContainsAllTester
- CollectionContainsTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
contains()
operations on a collection. - CollectionContainsTester() - Constructor for class com.google.common.collect.testing.testers.CollectionContainsTester
- CollectionCreationTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests creation (typically through a constructor or static factory method) of a collection.
- CollectionCreationTester() - Constructor for class com.google.common.collect.testing.testers.CollectionCreationTester
- CollectionEqualsTester<E> - Class in com.google.common.collect.testing.testers
-
Tests
Collection.equals(java.lang.Object)
. - CollectionEqualsTester() - Constructor for class com.google.common.collect.testing.testers.CollectionEqualsTester
- CollectionFeature - Enum in com.google.common.collect.testing.features
-
Optional features of classes derived from
Collection
. - CollectionFeature.Require - Annotation Type in com.google.common.collect.testing.features
- CollectionIsEmptyTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
isEmpty()
operations on a collection. - CollectionIsEmptyTester() - Constructor for class com.google.common.collect.testing.testers.CollectionIsEmptyTester
- CollectionIteratorTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
iterator
operations on a collection. - CollectionIteratorTester() - Constructor for class com.google.common.collect.testing.testers.CollectionIteratorTester
- CollectionRemoveAllTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
removeAll
operations on a collection. - CollectionRemoveAllTester() - Constructor for class com.google.common.collect.testing.testers.CollectionRemoveAllTester
- CollectionRemoveTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
remove
operations on a collection. - CollectionRemoveTester() - Constructor for class com.google.common.collect.testing.testers.CollectionRemoveTester
- CollectionRetainAllTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
retainAll
operations on a collection. - CollectionRetainAllTester() - Constructor for class com.google.common.collect.testing.testers.CollectionRetainAllTester
- Collections2 - Class in com.google.common.collect
-
Provides static methods for working with
Collection
instances. - CollectionSerializationEqualTester<E> - Class in com.google.common.collect.testing.testers
-
Basic reserialization test for collection types that must preserve
equals()
behavior when reserialized. - CollectionSerializationEqualTester() - Constructor for class com.google.common.collect.testing.testers.CollectionSerializationEqualTester
- CollectionSerializationTester<E> - Class in com.google.common.collect.testing.testers
-
Basic reserialization test for collections.
- CollectionSerializationTester() - Constructor for class com.google.common.collect.testing.testers.CollectionSerializationTester
- CollectionSize - Enum in com.google.common.collect.testing.features
-
When describing the features of the collection produced by a given generator (i.e.
- CollectionSize.Require - Annotation Type in com.google.common.collect.testing.features
- CollectionSizeTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
size()
operations on a collection. - CollectionSizeTester() - Constructor for class com.google.common.collect.testing.testers.CollectionSizeTester
- CollectionTestSuiteBuilder<E> - Class in com.google.common.collect.testing
-
Concrete instantiation of
AbstractCollectionTestSuiteBuilder
for testing collections that do not have a more specific tester likeListTestSuiteBuilder
orSetTestSuiteBuilder
. - CollectionTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.CollectionTestSuiteBuilder
- CollectionToArrayTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
toArray()
operations on a collection. - CollectionToArrayTester() - Constructor for class com.google.common.collect.testing.testers.CollectionToArrayTester
- CollectionToStringTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
toString()
operations on a collection. - CollectionToStringTester() - Constructor for class com.google.common.collect.testing.testers.CollectionToStringTester
- Colliders() - Constructor for class com.google.common.collect.testing.SampleElements.Colliders
- column(C) - Method in class com.google.common.collect.ArrayTable
-
Returns a view of all mappings that have the given column key.
- column(C) - Method in class com.google.common.collect.ForwardingTable
- column(C) - Method in class com.google.common.collect.ImmutableTable
-
Returns a view of all mappings that have the given column key.
- column(C) - Method in interface com.google.common.collect.Table
-
Returns a view of all mappings that have the given column key.
- columnComparator() - Method in class com.google.common.collect.TreeBasedTable
-
Returns the comparator that orders the columns.
- columnKeyList() - Method in class com.google.common.collect.ArrayTable
-
Returns, as an immutable list, the column keys provided when the table was constructed, including those that are mapped to null values only.
- columnKeySet() - Method in class com.google.common.collect.ArrayTable
-
Returns an immutable set of the valid column keys, including those that are associated with null values only.
- columnKeySet() - Method in class com.google.common.collect.ForwardingTable
- columnKeySet() - Method in class com.google.common.collect.ImmutableTable
- columnKeySet() - Method in interface com.google.common.collect.Table
-
Returns a set of column keys that have one or more values in the table.
- columnMap() - Method in class com.google.common.collect.ArrayTable
- columnMap() - Method in class com.google.common.collect.ForwardingTable
- columnMap() - Method in class com.google.common.collect.ImmutableTable
-
Returns a view that associates each column key with the corresponding map from row keys to values.
- columnMap() - Method in interface com.google.common.collect.Table
-
Returns a view that associates each column key with the corresponding map from row keys to values.
- com.google.common.annotations - package com.google.common.annotations
-
Common annotation types.
- com.google.common.base - package com.google.common.base
-
Basic utility libraries and interfaces.
- com.google.common.base.internal - package com.google.common.base.internal
- com.google.common.cache - package com.google.common.cache
-
This package contains caching utilities.
- com.google.common.collect - package com.google.common.collect
-
This package contains generic collection interfaces and implementations, and other utilities for working with collections.
- com.google.common.collect.testing - package com.google.common.collect.testing
- com.google.common.collect.testing.features - package com.google.common.collect.testing.features
- com.google.common.collect.testing.google - package com.google.common.collect.testing.google
- com.google.common.collect.testing.testers - package com.google.common.collect.testing.testers
- com.google.common.escape - package com.google.common.escape
-
Interfaces, utilities, and simple implementations of escapers and encoders.
- com.google.common.escape.testing - package com.google.common.escape.testing
-
Testing utilities for use in tests of
com.google.common.escape
. - com.google.common.eventbus - package com.google.common.eventbus
-
The EventBus allows publish-subscribe-style communication between components without requiring the components to explicitly register with one another (and thus be aware of each other).
- com.google.common.graph - package com.google.common.graph
-
An API for representing graph (node and edge) data.
- com.google.common.hash - package com.google.common.hash
-
Hash functions and related structures.
- com.google.common.html - package com.google.common.html
-
Escapers for HTML.
- com.google.common.io - package com.google.common.io
-
This package contains utility methods and classes for working with Java I/O; for example input streams, output streams, readers, writers, and files.
- com.google.common.math - package com.google.common.math
-
Arithmetic functions operating on primitive values and
BigInteger
instances. - com.google.common.net - package com.google.common.net
-
This package contains utility methods and classes for working with net addresses (numeric IP and domain names).
- com.google.common.primitives - package com.google.common.primitives
-
Static utilities for working with the eight primitive types and
void
, and value types for treating them as unsigned. - com.google.common.reflect - package com.google.common.reflect
-
This package contains utilities to work with Java reflection.
- com.google.common.testing - package com.google.common.testing
-
This package contains testing utilities.
- com.google.common.util.concurrent - package com.google.common.util.concurrent
-
Concurrency utilities.
- com.google.common.util.concurrent.testing - package com.google.common.util.concurrent.testing
- com.google.common.xml - package com.google.common.xml
-
Escapers for XML.
- com.google.thirdparty.publicsuffix - package com.google.thirdparty.publicsuffix
- combineOrdered(Iterable<HashCode>) - Static method in class com.google.common.hash.Hashing
-
Returns a hash code, having the same bit length as each of the input hash codes, that combines the information of these hash codes in an ordered fashion.
- combineUnordered(Iterable<HashCode>) - Static method in class com.google.common.hash.Hashing
-
Returns a hash code, having the same bit length as each of the input hash codes, that combines the information of these hash codes in an unordered fashion.
- commonPrefix(CharSequence, CharSequence) - Static method in class com.google.common.base.Strings
-
Returns the longest string
prefix
such thata.toString().startsWith(prefix) && b.toString().startsWith(prefix)
, taking care not to split surrogate pairs. - commonSuffix(CharSequence, CharSequence) - Static method in class com.google.common.base.Strings
-
Returns the longest string
suffix
such thata.toString().endsWith(suffix) && b.toString().endsWith(suffix)
, taking care not to split surrogate pairs. - comparator() - Method in class com.google.common.collect.ForwardingSortedMap
- comparator() - Method in class com.google.common.collect.ForwardingSortedMultiset
- comparator() - Method in class com.google.common.collect.ForwardingSortedSet
- comparator() - Method in class com.google.common.collect.ImmutableSortedMap
-
Returns the comparator that orders the keys, which is
Ordering.natural()
when the natural ordering of the keys is used. - comparator() - Method in class com.google.common.collect.ImmutableSortedMultiset
- comparator() - Method in class com.google.common.collect.ImmutableSortedSet
-
Returns the comparator that orders the elements, which is
Ordering.natural()
when the natural ordering of the elements is used. - comparator() - Method in class com.google.common.collect.MinMaxPriorityQueue
-
Returns the comparator used to order the elements in this queue.
- comparator() - Method in interface com.google.common.collect.SortedMultiset
-
Returns the comparator that orders this multiset, or
Ordering.natural()
if the natural ordering of the elements is used. - comparator() - Method in class com.google.common.collect.testing.SafeTreeMap
- comparator() - Method in class com.google.common.collect.testing.SafeTreeSet
- comparator() - Method in class com.google.common.graph.ElementOrder
-
Returns the
Comparator
used. - compare(boolean, boolean) - Static method in class com.google.common.primitives.Booleans
-
Compares the two specified
boolean
values in the standard way (false
is considered less thantrue
). - compare(byte, byte) - Static method in class com.google.common.primitives.SignedBytes
-
Compares the two specified
byte
values. - compare(byte, byte) - Static method in class com.google.common.primitives.UnsignedBytes
-
Compares the two specified
byte
values, treating them as unsigned values between 0 and 255 inclusive. - compare(char, char) - Static method in class com.google.common.primitives.Chars
-
Compares the two specified
char
values. - compare(double, double) - Method in class com.google.common.collect.ComparisonChain
-
Compares two
double
values as specified byDouble.compare(double, double)
, if the result of this comparison chain has not already been determined. - compare(double, double) - Static method in class com.google.common.primitives.Doubles
-
Compares the two specified
double
values. - compare(float, float) - Method in class com.google.common.collect.ComparisonChain
-
Compares two
float
values as specified byFloat.compare(float, float)
, if the result of this comparison chain has not already been determined. - compare(float, float) - Static method in class com.google.common.primitives.Floats
-
Compares the two specified
float
values usingFloat.compare(float, float)
. - compare(int, int) - Method in class com.google.common.collect.ComparisonChain
-
Compares two
int
values as specified byInts.compare(int, int)
, if the result of this comparison chain has not already been determined. - compare(int, int) - Static method in class com.google.common.primitives.Ints
-
Compares the two specified
int
values. - compare(int, int) - Static method in class com.google.common.primitives.UnsignedInts
-
Compares the two specified
int
values, treating them as unsigned values between0
and2^32 - 1
inclusive. - compare(long, long) - Method in class com.google.common.collect.ComparisonChain
-
Compares two
long
values as specified byLongs.compare(long, long)
, if the result of this comparison chain has not already been determined. - compare(long, long) - Static method in class com.google.common.primitives.Longs
-
Compares the two specified
long
values. - compare(long, long) - Static method in class com.google.common.primitives.UnsignedLongs
-
Compares the two specified
long
values, treating them as unsigned values between0
and2^64 - 1
inclusive. - compare(short, short) - Static method in class com.google.common.primitives.Shorts
-
Compares the two specified
short
values. - compare(Boolean, Boolean) - Method in class com.google.common.collect.ComparisonChain
-
Deprecated.Use
ComparisonChain.compareFalseFirst(boolean, boolean)
; or, if the parameters passed are being either negated or reversed, undo the negation or reversal and useComparisonChain.compareTrueFirst(boolean, boolean)
. - compare(Comparable<?>, Comparable<?>) - Method in class com.google.common.collect.ComparisonChain
-
Compares two comparable objects as specified by
Comparable.compareTo(T)
, if the result of this comparison chain has not already been determined. - compare(String, String) - Method in class com.google.common.collect.testing.Helpers.NullsBefore
- compare(T, T) - Method in class com.google.common.collect.Ordering
- compare(T, T, Comparator<T>) - Method in class com.google.common.collect.ComparisonChain
-
Compares two objects using a comparator, if the result of this comparison chain has not already been determined.
- compareAndSet(double, double) - Method in class com.google.common.util.concurrent.AtomicDouble
-
Atomically sets the value to the given updated value if the current value is bitwise equal to the expected value.
- compareAndSet(int, double, double) - Method in class com.google.common.util.concurrent.AtomicDoubleArray
-
Atomically sets the element at position
i
to the given updated value if the current value is bitwise equal to the expected value. - compareFalseFirst(boolean, boolean) - Method in class com.google.common.collect.ComparisonChain
-
Compares two
boolean
values, consideringfalse
to be less thantrue
, if the result of this comparison chain has not already been determined. - compareTo(BaseComparable) - Method in class com.google.common.collect.testing.BaseComparable
- compareTo(UnhashableObject) - Method in class com.google.common.collect.testing.UnhashableObject
- compareTo(UnsignedInteger) - Method in class com.google.common.primitives.UnsignedInteger
-
Compares this unsigned integer to another unsigned integer.
- compareTo(UnsignedLong) - Method in class com.google.common.primitives.UnsignedLong
- compareTrueFirst(boolean, boolean) - Method in class com.google.common.collect.ComparisonChain
-
Compares two
boolean
values, consideringtrue
to be less thanfalse
, if the result of this comparison chain has not already been determined. - ComparisonChain - Class in com.google.common.collect
-
A utility for performing a chained comparison statement.
- complement() - Method in class com.google.common.collect.ImmutableRangeSet
- complement() - Method in interface com.google.common.collect.RangeSet
-
Returns a view of the complement of this
RangeSet
. - complement() - Method in class com.google.common.collect.TreeRangeSet
- complementOf(Collection<E>) - Static method in class com.google.common.collect.Sets
-
Creates an
EnumSet
consisting of all enum values that are not in the specified collection. - complementOf(Collection<E>, Class<E>) - Static method in class com.google.common.collect.Sets
-
Creates an
EnumSet
consisting of all enum values that are not in the specified collection. - compose(Function<? super F, T>, Supplier<F>) - Static method in class com.google.common.base.Suppliers
-
Returns a new supplier which is the composition of the provided function and supplier.
- compose(Function<B, C>, Function<A, ? extends B>) - Static method in class com.google.common.base.Functions
-
Returns the composition of two functions.
- compose(Predicate<B>, Function<A, ? extends B>) - Static method in class com.google.common.base.Predicates
-
Returns the composition of a function and a predicate.
- compound(Iterable<? extends Comparator<? super T>>) - Static method in class com.google.common.collect.Ordering
-
Returns an ordering which tries each given comparator in order until a non-zero result is found, returning that result, and returning zero only if all comparators return zero.
- compound(Comparator<? super U>) - Method in class com.google.common.collect.Ordering
-
Returns an ordering which first uses the ordering
this
, but which in the event of a "tie", then delegates tosecondaryComparator
. - ComputationException - Exception in com.google.common.collect
-
Wraps an exception that occurred during a computation.
- ComputationException(Throwable) - Constructor for exception com.google.common.collect.ComputationException
-
Creates a new instance with the given cause.
- compute(double...) - Method in class com.google.common.math.Quantiles.ScaleAndIndex
-
Computes the quantile value of the given dataset.
- compute(double...) - Method in class com.google.common.math.Quantiles.ScaleAndIndexes
-
Computes the quantile values of the given dataset.
- compute(int...) - Method in class com.google.common.math.Quantiles.ScaleAndIndex
-
Computes the quantile value of the given dataset.
- compute(int...) - Method in class com.google.common.math.Quantiles.ScaleAndIndexes
-
Computes the quantile values of the given dataset.
- compute(long...) - Method in class com.google.common.math.Quantiles.ScaleAndIndex
-
Computes the quantile value of the given dataset.
- compute(long...) - Method in class com.google.common.math.Quantiles.ScaleAndIndexes
-
Computes the quantile values of the given dataset.
- compute(Collection<? extends Number>) - Method in class com.google.common.math.Quantiles.ScaleAndIndex
-
Computes the quantile value of the given dataset.
- compute(Collection<? extends Number>) - Method in class com.google.common.math.Quantiles.ScaleAndIndexes
-
Computes the quantile values of the given dataset.
- computeCommonDerivedCollectionFeatures(Set<Feature<?>>) - Static method in class com.google.common.collect.testing.MapTestSuiteBuilder
- computeInPlace(double...) - Method in class com.google.common.math.Quantiles.ScaleAndIndex
-
Computes the quantile value of the given dataset, performing the computation in-place.
- computeInPlace(double...) - Method in class com.google.common.math.Quantiles.ScaleAndIndexes
-
Computes the quantile values of the given dataset, performing the computation in-place.
- computeNext() - Method in class com.google.common.collect.AbstractIterator
-
Returns the next element.
- computeNext(T) - Method in class com.google.common.collect.AbstractSequentialIterator
-
Returns the element that follows
previous
, or returnsnull
if no elements remain. - computeReplacement(CharEscaper, char) - Static method in class com.google.common.escape.Escapers
-
Returns a string that would replace the given character in the specified escaper, or
null
if no replacement should be made. - computeReplacement(UnicodeEscaper, int) - Static method in class com.google.common.escape.Escapers
-
Returns a string that would replace the given character in the specified escaper, or
null
if no replacement should be made. - concat(boolean[]...) - Static method in class com.google.common.primitives.Booleans
-
Returns the values from each provided array combined into a single array.
- concat(byte[]...) - Static method in class com.google.common.primitives.Bytes
-
Returns the values from each provided array combined into a single array.
- concat(char[]...) - Static method in class com.google.common.primitives.Chars
-
Returns the values from each provided array combined into a single array.
- concat(double[]...) - Static method in class com.google.common.primitives.Doubles
-
Returns the values from each provided array combined into a single array.
- concat(float[]...) - Static method in class com.google.common.primitives.Floats
-
Returns the values from each provided array combined into a single array.
- concat(int[]...) - Static method in class com.google.common.primitives.Ints
-
Returns the values from each provided array combined into a single array.
- concat(long[]...) - Static method in class com.google.common.primitives.Longs
-
Returns the values from each provided array combined into a single array.
- concat(short[]...) - Static method in class com.google.common.primitives.Shorts
-
Returns the values from each provided array combined into a single array.
- concat(ByteSource...) - Static method in class com.google.common.io.ByteSource
-
Concatenates multiple
ByteSource
instances into a single source. - concat(CharSource...) - Static method in class com.google.common.io.CharSource
-
Concatenates multiple
CharSource
instances into a single source. - concat(Iterable<? extends ByteSource>) - Static method in class com.google.common.io.ByteSource
-
Concatenates multiple
ByteSource
instances into a single source. - concat(Iterable<? extends CharSource>) - Static method in class com.google.common.io.CharSource
-
Concatenates multiple
CharSource
instances into a single source. - concat(Iterable<? extends Iterable<? extends T>>) - Static method in class com.google.common.collect.FluentIterable
-
Returns a fluent iterable that combines several iterables.
- concat(Iterable<? extends Iterable<? extends T>>) - Static method in class com.google.common.collect.Iterables
-
Combines multiple iterables into a single iterable.
- concat(Iterable<? extends T>...) - Static method in class com.google.common.collect.FluentIterable
-
Returns a fluent iterable that combines several iterables.
- concat(Iterable<? extends T>...) - Static method in class com.google.common.collect.Iterables
-
Combines multiple iterables into a single iterable.
- concat(Iterable<? extends T>, Iterable<? extends T>) - Static method in class com.google.common.collect.FluentIterable
-
Returns a fluent iterable that combines two iterables.
- concat(Iterable<? extends T>, Iterable<? extends T>) - Static method in class com.google.common.collect.Iterables
-
Combines two iterables into a single iterable.
- concat(Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>) - Static method in class com.google.common.collect.FluentIterable
-
Returns a fluent iterable that combines three iterables.
- concat(Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>) - Static method in class com.google.common.collect.Iterables
-
Combines three iterables into a single iterable.
- concat(Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>) - Static method in class com.google.common.collect.FluentIterable
-
Returns a fluent iterable that combines four iterables.
- concat(Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>) - Static method in class com.google.common.collect.Iterables
-
Combines four iterables into a single iterable.
- concat(Iterator<? extends ByteSource>) - Static method in class com.google.common.io.ByteSource
-
Concatenates multiple
ByteSource
instances into a single source. - concat(Iterator<? extends CharSource>) - Static method in class com.google.common.io.CharSource
-
Concatenates multiple
CharSource
instances into a single source. - concat(Iterator<? extends Iterator<? extends T>>) - Static method in class com.google.common.collect.Iterators
-
Combines multiple iterators into a single iterator.
- concat(Iterator<? extends T>...) - Static method in class com.google.common.collect.Iterators
-
Combines multiple iterators into a single iterator.
- concat(Iterator<? extends T>, Iterator<? extends T>) - Static method in class com.google.common.collect.Iterators
-
Combines two iterators into a single iterator.
- concat(Iterator<? extends T>, Iterator<? extends T>, Iterator<? extends T>) - Static method in class com.google.common.collect.Iterators
-
Combines three iterators into a single iterator.
- concat(Iterator<? extends T>, Iterator<? extends T>, Iterator<? extends T>, Iterator<? extends T>) - Static method in class com.google.common.collect.Iterators
-
Combines four iterators into a single iterator.
- concat(T[], T) - Static method in class com.google.common.collect.ObjectArrays
-
Returns a new array that appends
element
toarray
. - concat(T[], T[], Class<T>) - Static method in class com.google.common.collect.ObjectArrays
-
Returns a new array that contains the concatenated contents of two arrays.
- concat(T, T[]) - Static method in class com.google.common.collect.ObjectArrays
-
Returns a new array that prepends
element
toarray
. - concatenating(HashFunction, HashFunction, HashFunction...) - Static method in class com.google.common.hash.Hashing
-
Returns a hash function which computes its hash code by concatenating the hash codes of the underlying hash functions together.
- concatenating(Iterable<HashFunction>) - Static method in class com.google.common.hash.Hashing
-
Returns a hash function which computes its hash code by concatenating the hash codes of the underlying hash functions together.
- concurrencyLevel(int) - Method in class com.google.common.cache.CacheBuilder
-
Guides the allowed concurrency among update operations.
- concurrencyLevel(int) - Method in class com.google.common.collect.MapMaker
-
Guides the allowed concurrency among update operations.
- ConcurrentHashMultiset<E> - Class in com.google.common.collect
-
A multiset that supports concurrent modifications and that provides atomic versions of most
Multiset
operations (exceptions where noted). - ConcurrentMapPutIfAbsentTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
putIfAbsent
operations on a concurrent map. - ConcurrentMapPutIfAbsentTester() - Constructor for class com.google.common.collect.testing.testers.ConcurrentMapPutIfAbsentTester
- ConcurrentMapRemoveTester<K,V> - Class in com.google.common.collect.testing.testers
-
Tester for
ConcurrentMap.remove(java.lang.Object, java.lang.Object)
. - ConcurrentMapRemoveTester() - Constructor for class com.google.common.collect.testing.testers.ConcurrentMapRemoveTester
- ConcurrentMapReplaceEntryTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
replace(K, V, V)
operations on a concurrent map. - ConcurrentMapReplaceEntryTester() - Constructor for class com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester
- ConcurrentMapReplaceTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
replace(K, V)
operations on a concurrent map. - ConcurrentMapReplaceTester() - Constructor for class com.google.common.collect.testing.testers.ConcurrentMapReplaceTester
- ConcurrentMapTestSuiteBuilder<K,V> - Class in com.google.common.collect.testing
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a ConcurrentMap implementation.
- ConcurrentMapTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.ConcurrentMapTestSuiteBuilder
- ConcurrentNavigableMapTestSuiteBuilder<K,V> - Class in com.google.common.collect.testing
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a ConcurrentNavigableMap implementation.
- ConcurrentNavigableMapTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.ConcurrentNavigableMapTestSuiteBuilder
- ConflictingRequirementsException - Exception in com.google.common.collect.testing.features
-
Thrown when requirements on a tester method or class conflict with each other.
- ConflictingRequirementsException(String, Set<Feature<?>>, Object) - Constructor for exception com.google.common.collect.testing.features.ConflictingRequirementsException
- CONNECTION - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Connection
header field name. - consistentHash(long, int) - Static method in class com.google.common.hash.Hashing
-
Assigns to
input
a "bucket" in the range[0, buckets)
, in a uniform manner that minimizes the need for remapping asbuckets
grows. - consistentHash(HashCode, int) - Static method in class com.google.common.hash.Hashing
-
Assigns to
hashCode
a "bucket" in the range[0, buckets)
, in a uniform manner that minimizes the need for remapping asbuckets
grows. - constant(E) - Static method in class com.google.common.base.Functions
-
Returns a function that ignores its input and always returns
value
. - constrainedListMultimap(ListMultimap<K, V>, MapConstraint<? super K, ? super V>) - Static method in class com.google.common.collect.MapConstraints
-
Deprecated.Returns a constrained view of the specified list multimap, using the specified constraint.
- constrainedMap(Map<K, V>, MapConstraint<? super K, ? super V>) - Static method in class com.google.common.collect.MapConstraints
-
Deprecated.Returns a constrained view of the specified map, using the specified constraint.
- constructor(Constructor<?>) - Method in class com.google.common.reflect.TypeToken
- consumingIterable(Iterable<T>) - Static method in class com.google.common.collect.Iterables
-
Returns a view of the supplied iterable that wraps each generated
Iterator
throughIterators.consumingIterator(Iterator)
. - consumingIterator(Iterator<T>) - Static method in class com.google.common.collect.Iterators
-
Returns a view of the supplied
iterator
that removes each element from the suppliediterator
as it is returned. - container - Variable in class com.google.common.collect.testing.AbstractContainerTester
- contains(boolean[], boolean) - Static method in class com.google.common.primitives.Booleans
-
Returns
true
iftarget
is present as an element anywhere inarray
. - contains(byte[], byte) - Static method in class com.google.common.primitives.Bytes
-
Returns
true
iftarget
is present as an element anywhere inarray
. - contains(char[], char) - Static method in class com.google.common.primitives.Chars
-
Returns
true
iftarget
is present as an element anywhere inarray
. - contains(double[], double) - Static method in class com.google.common.primitives.Doubles
-
Returns
true
iftarget
is present as an element anywhere inarray
. - contains(float[], float) - Static method in class com.google.common.primitives.Floats
-
Returns
true
iftarget
is present as an element anywhere inarray
. - contains(int[], int) - Static method in class com.google.common.primitives.Ints
-
Returns
true
iftarget
is present as an element anywhere inarray
. - contains(long[], long) - Static method in class com.google.common.primitives.Longs
-
Returns
true
iftarget
is present as an element anywhere inarray
. - contains(short[], short) - Static method in class com.google.common.primitives.Shorts
-
Returns
true
iftarget
is present as an element anywhere inarray
. - contains(C) - Method in class com.google.common.collect.Range
-
Returns
true
ifvalue
is within the bounds of this range. - contains(C) - Method in interface com.google.common.collect.RangeSet
-
Determines whether any of this range set's member ranges contains
value
. - contains(Iterable<?>, Object) - Static method in class com.google.common.collect.Iterables
-
Returns
true
ifiterable
contains any object for whichequals(element)
is true. - contains(Object) - Method in class com.google.common.collect.EvictingQueue
- contains(Object) - Method in class com.google.common.collect.FluentIterable
-
Returns
true
if this fluent iterable contains any object for whichequals(target)
is true. - contains(Object) - Method in class com.google.common.collect.ForwardingCollection
- contains(Object) - Method in class com.google.common.collect.ImmutableCollection
- contains(Object) - Method in class com.google.common.collect.ImmutableList
- contains(Object) - Method in class com.google.common.collect.ImmutableMultiset
- contains(Object) - Method in interface com.google.common.collect.Multiset
-
Determines whether this multiset contains the specified element.
- contains(Object) - Method in class com.google.common.collect.testing.MinimalCollection
- contains(Object) - Method in class com.google.common.collect.testing.SafeTreeSet
- contains(Object, Object) - Method in class com.google.common.collect.ArrayTable
-
Returns
true
if the provided keys are among the keys provided when the table was constructed. - contains(Object, Object) - Method in class com.google.common.collect.ForwardingTable
- contains(Object, Object) - Method in class com.google.common.collect.HashBasedTable
- contains(Object, Object) - Method in class com.google.common.collect.ImmutableTable
- contains(Object, Object) - Method in interface com.google.common.collect.Table
-
Returns
true
if the table contains a mapping with the specified row and column keys. - contains(Iterator<?>, Object) - Static method in class com.google.common.collect.Iterators
-
Returns
true
ifiterator
containselement
. - contains(Pattern) - Static method in class com.google.common.base.Predicates
-
Returns a predicate that evaluates to
true
if theCharSequence
being tested contains any match for the given regular expression pattern. - containsAll(Iterable<? extends C>) - Method in class com.google.common.collect.Range
- containsAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
- containsAll(Collection<?>) - Method in interface com.google.common.collect.Multiset
-
Returns
true
if this multiset contains at least one occurrence of each element in the specified collection. - containsAll(Collection<?>) - Method in class com.google.common.collect.testing.MinimalCollection
- containsAll(Collection<?>) - Method in class com.google.common.collect.testing.SafeTreeSet
- containsColumn(Object) - Method in class com.google.common.collect.ArrayTable
-
Returns
true
if the provided column key is among the column keys provided when the table was constructed. - containsColumn(Object) - Method in class com.google.common.collect.ForwardingTable
- containsColumn(Object) - Method in class com.google.common.collect.HashBasedTable
- containsColumn(Object) - Method in interface com.google.common.collect.Table
-
Returns
true
if the table contains a mapping with the specified column. - containsEntry(Object, Object) - Method in class com.google.common.collect.ForwardingMultimap
- containsEntry(Object, Object) - Method in interface com.google.common.collect.Multimap
-
Returns
true
if this multimap contains at least one key-value pair with the keykey
and the valuevalue
. - containsKey(Object) - Method in class com.google.common.collect.ForwardingMap
- containsKey(Object) - Method in class com.google.common.collect.ForwardingMultimap
- containsKey(Object) - Method in class com.google.common.collect.HashBiMap
- containsKey(Object) - Method in class com.google.common.collect.ImmutableMap
- containsKey(Object) - Method in class com.google.common.collect.ImmutableMultimap
- containsKey(Object) - Method in class com.google.common.collect.LinkedListMultimap
- containsKey(Object) - Method in interface com.google.common.collect.Multimap
-
Returns
true
if this multimap contains at least one key-value pair with the keykey
. - containsKey(Object) - Method in class com.google.common.collect.testing.SafeTreeMap
- containsKey(Object) - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Returns true if this map contains a mapping for the specified key.
- containsOccurrences(Multiset<?>, Multiset<?>) - Static method in class com.google.common.collect.Multisets
-
Returns
true
ifsubMultiset.count(o) <= superMultiset.count(o)
for allo
. - containsPattern(String) - Static method in class com.google.common.base.Predicates
-
Returns a predicate that evaluates to
true
if theCharSequence
being tested contains any match for the given regular expression pattern. - containsRow(Object) - Method in class com.google.common.collect.ArrayTable
-
Returns
true
if the provided row key is among the row keys provided when the table was constructed. - containsRow(Object) - Method in class com.google.common.collect.ForwardingTable
- containsRow(Object) - Method in class com.google.common.collect.HashBasedTable
- containsRow(Object) - Method in interface com.google.common.collect.Table
-
Returns
true
if the table contains a mapping with the specified row key. - containsValue(Object) - Method in class com.google.common.collect.ArrayTable
- containsValue(Object) - Method in class com.google.common.collect.ForwardingMap
- containsValue(Object) - Method in class com.google.common.collect.ForwardingMultimap
- containsValue(Object) - Method in class com.google.common.collect.ForwardingTable
- containsValue(Object) - Method in class com.google.common.collect.HashBasedTable
- containsValue(Object) - Method in class com.google.common.collect.HashBiMap
- containsValue(Object) - Method in class com.google.common.collect.ImmutableMap
- containsValue(Object) - Method in class com.google.common.collect.ImmutableMultimap
- containsValue(Object) - Method in class com.google.common.collect.ImmutableTable
- containsValue(Object) - Method in class com.google.common.collect.LinkedListMultimap
- containsValue(Object) - Method in interface com.google.common.collect.Multimap
-
Returns
true
if this multimap contains at least one key-value pair with the valuevalue
. - containsValue(Object) - Method in interface com.google.common.collect.Table
-
Returns
true
if the table contains a mapping with the specified value. - containsValue(Object) - Method in class com.google.common.collect.testing.SafeTreeMap
- CONTENT_DISPOSITION - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Content-Disposition
header field name. - CONTENT_ENCODING - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Content-Encoding
header field name. - CONTENT_LANGUAGE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Content-Language
header field name. - CONTENT_LENGTH - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Content-Length
header field name. - CONTENT_LOCATION - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Content-Location
header field name. - CONTENT_MD5 - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Content-MD5
header field name. - CONTENT_RANGE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Content-Range
header field name. - CONTENT_SECURITY_POLICY - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Content-Security-Policy
header field name. - CONTENT_SECURITY_POLICY_REPORT_ONLY - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Content-Security-Policy-Report-Only
header field name. - CONTENT_TYPE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Content-Type
header field name. - contentEquals(ByteSource) - Method in class com.google.common.io.ByteSource
-
Checks that the contents of this byte source are equal to the contents of the given byte source.
- ContiguousSet<C extends java.lang.Comparable> - Class in com.google.common.collect
-
A sorted set of contiguous values in a given
DiscreteDomain
. - ContiguousSetDescendingGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ContiguousSetDescendingGenerator
- ContiguousSetGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ContiguousSetGenerator
- ContiguousSetHeadsetGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ContiguousSetHeadsetGenerator
- ContiguousSetSubsetGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ContiguousSetSubsetGenerator
- ContiguousSetTailsetGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ContiguousSetTailsetGenerator
- convert(A) - Method in class com.google.common.base.Converter
-
Returns a representation of
a
as an instance of typeB
. - convertAll(Iterable<? extends A>) - Method in class com.google.common.base.Converter
-
Returns an iterable that applies
convert
to each element offromIterable
. - Converter<A,B> - Class in com.google.common.base
-
A function from
A
toB
with an associated reverse function fromB
toA
; used for converting back and forth between different representations of the same information. - Converter() - Constructor for class com.google.common.base.Converter
-
Constructor for use by subclasses.
- converterTo(CaseFormat) - Method in enum com.google.common.base.CaseFormat
-
Returns a
Converter
that converts strings from this format totargetFormat
. - COOKIE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Cookie
header field name. - copy() - Method in class com.google.common.hash.BloomFilter
-
Creates a new
BloomFilter
that's a copy of this instance. - copy(File, File) - Static method in class com.google.common.io.Files
-
Copies all the bytes from one file to another.
- copy(File, OutputStream) - Static method in class com.google.common.io.Files
-
Copies all bytes from a file to an output stream.
- copy(File, Charset, Appendable) - Static method in class com.google.common.io.Files
-
Copies all characters from a file to an appendable object, using the given character set.
- copy(InputStream, OutputStream) - Static method in class com.google.common.io.ByteStreams
-
Copies all bytes from the input stream to the output stream.
- copy(Readable, Appendable) - Static method in class com.google.common.io.CharStreams
-
Copies all characters between the
Readable
andAppendable
objects. - copy(URL, OutputStream) - Static method in class com.google.common.io.Resources
-
Copies all bytes from a URL to an output stream.
- copy(ReadableByteChannel, WritableByteChannel) - Static method in class com.google.common.io.ByteStreams
-
Copies all bytes from the readable channel to the writable channel.
- copyHighestCountFirst(Multiset<E>) - Static method in class com.google.common.collect.Multisets
-
Returns a copy of
multiset
as anImmutableMultiset
whose iteration order is highest count first, with ties broken by the iteration order of the original multiset. - copyInto(C) - Method in class com.google.common.collect.FluentIterable
-
Copies all the elements from this fluent iterable to
collection
. - copyInto(S) - Method in class com.google.common.collect.Sets.SetView
-
Copies the current contents of this set view into an existing set.
- copyOf(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.ImmutableListMultimap
-
Returns an immutable multimap containing the same mappings as
multimap
. - copyOf(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.ImmutableMultimap
-
Returns an immutable multimap containing the same mappings as
multimap
, in the "key-grouped" iteration order described in the class documentation. - copyOf(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.ImmutableSetMultimap
-
Returns an immutable set multimap containing the same mappings as
multimap
. - copyOf(RangeMap<K, ? extends V>) - Static method in class com.google.common.collect.ImmutableRangeMap
- copyOf(RangeSet<C>) - Static method in class com.google.common.collect.ImmutableRangeSet
-
Returns an immutable copy of the specified
RangeSet
. - copyOf(Table<? extends R, ? extends C, ? extends V>) - Static method in class com.google.common.collect.ImmutableTable
-
Returns an immutable copy of the provided table.
- copyOf(Graph<N>) - Static method in class com.google.common.graph.Graphs
-
Creates a mutable copy of
graph
with the same nodes and edges. - copyOf(Graph<N>) - Static method in class com.google.common.graph.ImmutableGraph
-
Returns an immutable copy of
graph
. - copyOf(ImmutableGraph<N>) - Static method in class com.google.common.graph.ImmutableGraph
-
Deprecated.no need to use this
- copyOf(ImmutableNetwork<N, E>) - Static method in class com.google.common.graph.ImmutableNetwork
-
Deprecated.no need to use this
- copyOf(ImmutableValueGraph<N, V>) - Static method in class com.google.common.graph.ImmutableValueGraph
-
Deprecated.no need to use this
- copyOf(Network<N, E>) - Static method in class com.google.common.graph.Graphs
-
Creates a mutable copy of
network
with the same nodes and edges. - copyOf(Network<N, E>) - Static method in class com.google.common.graph.ImmutableNetwork
-
Returns an immutable copy of
network
. - copyOf(ValueGraph<N, V>) - Static method in class com.google.common.graph.Graphs
-
Creates a mutable copy of
graph
with the same nodes, edges, and edge values. - copyOf(ValueGraph<N, V>) - Static method in class com.google.common.graph.ImmutableValueGraph
-
Returns an immutable copy of
graph
. - copyOf(E[]) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- copyOf(E[]) - Static method in class com.google.common.collect.ImmutableMultiset
-
Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation.
- copyOf(E[]) - Static method in class com.google.common.collect.ImmutableSet
-
Returns an immutable set containing each of
elements
, minus duplicates, in the order each appears first in the source array. - copyOf(E[]) - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
- copyOf(E[]) - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
- copyOf(Iterable<? extends E>) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- copyOf(Iterable<? extends E>) - Static method in class com.google.common.collect.ImmutableMultiset
-
Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation.
- copyOf(Iterable<? extends E>) - Static method in class com.google.common.collect.ImmutableSet
-
Returns an immutable set containing each of
elements
, minus duplicates, in the order each appears first in the source iterable. - copyOf(Iterable<? extends E>) - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
- copyOf(Iterable<? extends E>) - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
- copyOf(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Static method in class com.google.common.collect.ImmutableBiMap
-
Returns an immutable bimap containing the given entries.
- copyOf(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Static method in class com.google.common.collect.ImmutableListMultimap
-
Returns an immutable multimap containing the specified entries.
- copyOf(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Static method in class com.google.common.collect.ImmutableMap
-
Returns an immutable map containing the specified entries.
- copyOf(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Static method in class com.google.common.collect.ImmutableMultimap
-
Returns an immutable multimap containing the specified entries.
- copyOf(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Static method in class com.google.common.collect.ImmutableSetMultimap
-
Returns an immutable multimap containing the specified entries.
- copyOf(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Static method in class com.google.common.collect.ImmutableSortedMap
-
Returns an immutable map containing the given entries, with keys sorted by the provided comparator.
- copyOf(Iterable<? extends Map.Entry<? extends K, ? extends V>>, Comparator<? super K>) - Static method in class com.google.common.collect.ImmutableSortedMap
-
Returns an immutable map containing the given entries, with keys sorted by the provided comparator.
- copyOf(Collection<? extends E>) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- copyOf(Collection<? extends E>) - Static method in class com.google.common.collect.ImmutableSet
-
Returns an immutable set containing each of
elements
, minus duplicates, in the order each appears first in the source collection. - copyOf(Collection<? extends E>) - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
- copyOf(Comparator<? super E>, Iterable<? extends E>) - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns an immutable sorted multiset containing the given elements sorted by the given
Comparator
. - copyOf(Comparator<? super E>, Iterable<? extends E>) - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns an immutable sorted set containing the given elements sorted by the given
Comparator
. - copyOf(Comparator<? super E>, Collection<? extends E>) - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns an immutable sorted set containing the given elements sorted by the given
Comparator
. - copyOf(Comparator<? super E>, Iterator<? extends E>) - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns an immutable sorted multiset containing the given elements sorted by the given
Comparator
. - copyOf(Comparator<? super E>, Iterator<? extends E>) - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns an immutable sorted set containing the given elements sorted by the given
Comparator
. - copyOf(Iterator<? extends E>) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- copyOf(Iterator<? extends E>) - Static method in class com.google.common.collect.ImmutableMultiset
-
Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation.
- copyOf(Iterator<? extends E>) - Static method in class com.google.common.collect.ImmutableSet
-
Returns an immutable set containing each of
elements
, minus duplicates, in the order each appears first in the source iterator. - copyOf(Iterator<? extends E>) - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
- copyOf(Iterator<? extends E>) - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
- copyOf(Map<? extends Class<? extends S>, ? extends S>) - Static method in class com.google.common.collect.ImmutableClassToInstanceMap
-
Returns an immutable map containing the same entries as
map
. - copyOf(Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.ImmutableBiMap
-
Returns an immutable bimap containing the same entries as
map
. - copyOf(Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.ImmutableMap
-
Returns an immutable map containing the same entries as
map
. - copyOf(Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.ImmutableSortedMap
-
Returns an immutable map containing the same entries as
map
, sorted by the natural ordering of the keys. - copyOf(Map<? extends K, ? extends V>, Comparator<? super K>) - Static method in class com.google.common.collect.ImmutableSortedMap
-
Returns an immutable map containing the same entries as
map
, with keys sorted by the provided comparator. - copyOfSorted(SortedMultiset<E>) - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns an immutable sorted multiset containing the elements of a sorted multiset, sorted by the same
Comparator
. - copyOfSorted(SortedMap<K, ? extends V>) - Static method in class com.google.common.collect.ImmutableSortedMap
-
Returns an immutable map containing the same entries as the provided sorted map, with the same ordering.
- copyOfSorted(SortedSet<E>) - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns an immutable sorted set containing the elements of a sorted set, sorted by the same
Comparator
. - copyTo(ByteSink) - Method in class com.google.common.io.ByteSource
-
Copies the contents of this byte source to the given
ByteSink
. - copyTo(CharSink) - Method in class com.google.common.io.CharSource
-
Copies the contents of this source to the given sink.
- copyTo(OutputStream) - Method in class com.google.common.io.ByteSource
-
Copies the contents of this byte source to the given
OutputStream
. - copyTo(Appendable) - Method in class com.google.common.io.CharSource
-
Appends the contents of this source to the given
Appendable
(such as aWriter
). - copyToList(E[]) - Static method in class com.google.common.collect.testing.Helpers
- copyToList(Iterable<? extends E>) - Static method in class com.google.common.collect.testing.Helpers
- copyToSet(E[]) - Static method in class com.google.common.collect.testing.Helpers
- copyToSet(Iterable<? extends E>) - Static method in class com.google.common.collect.testing.Helpers
- count() - Method in class com.google.common.math.PairedStats
-
Returns the number of pairs in the dataset.
- count() - Method in class com.google.common.math.PairedStatsAccumulator
-
Returns the number of pairs in the dataset.
- count() - Method in class com.google.common.math.Stats
-
Returns the number of values.
- count() - Method in class com.google.common.math.StatsAccumulator
-
Returns the number of values.
- count(Object) - Method in class com.google.common.collect.ConcurrentHashMultiset
-
Returns the number of occurrences of
element
in this multiset. - count(Object) - Method in class com.google.common.collect.ForwardingMultiset
- count(Object) - Method in interface com.google.common.collect.Multiset
-
Returns the number of occurrences of an element in this multiset (the count of the element).
- count(Object) - Method in class com.google.common.collect.TreeMultiset
- countIn(CharSequence) - Method in class com.google.common.base.CharMatcher
-
Returns the number of matching characters found in a character sequence.
- CountingInputStream - Class in com.google.common.io
-
An
InputStream
that counts the number of bytes read. - CountingInputStream(InputStream) - Constructor for class com.google.common.io.CountingInputStream
-
Wraps another input stream, counting the number of bytes read.
- CountingOutputStream - Class in com.google.common.io
-
An OutputStream that counts the number of bytes written.
- CountingOutputStream(OutputStream) - Constructor for class com.google.common.io.CountingOutputStream
-
Wraps another output stream, counting the number of bytes written.
- countTrue(boolean...) - Static method in class com.google.common.primitives.Booleans
-
Returns the number of
values
that aretrue
. - CR - Static variable in class com.google.common.base.Ascii
-
Carriage Return ('\r'): A format effector which controls the movement of the printing position to the first printing position on the same printing line.
- crc32() - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the CRC-32 checksum algorithm (32 hash bits) by delegating to the
CRC32
Checksum
. - crc32c() - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the CRC32C checksum algorithm (32 hash bits) as described by RFC 3720, Section 12.1.
- create() - Static method in class com.google.common.collect.ArrayListMultimap
-
Creates a new, empty
ArrayListMultimap
with the default initial capacities. - create() - Static method in class com.google.common.collect.ConcurrentHashMultiset
-
Creates a new, empty
ConcurrentHashMultiset
using the default initial capacity, load factor, and concurrency settings. - create() - Static method in class com.google.common.collect.HashBasedTable
-
Creates an empty
HashBasedTable
. - create() - Static method in class com.google.common.collect.HashBiMap
-
Returns a new, empty
HashBiMap
with the default initial capacity (16). - create() - Static method in class com.google.common.collect.HashMultimap
-
Creates a new, empty
HashMultimap
with the default initial capacities. - create() - Static method in class com.google.common.collect.HashMultiset
-
Creates a new, empty
HashMultiset
using the default initial capacity. - create() - Static method in class com.google.common.collect.LinkedHashMultimap
-
Creates a new, empty
LinkedHashMultimap
with the default initial capacities. - create() - Static method in class com.google.common.collect.LinkedHashMultiset
-
Creates a new, empty
LinkedHashMultiset
using the default initial capacity. - create() - Static method in class com.google.common.collect.LinkedListMultimap
-
Creates a new, empty
LinkedListMultimap
with the default initial capacity. - create() - Method in class com.google.common.collect.MinMaxPriorityQueue.Builder
-
Builds a new min-max priority queue using the previously specified options, and having no initial contents.
- create() - Static method in class com.google.common.collect.MinMaxPriorityQueue
-
Creates a new min-max priority queue with default settings: natural order, no maximum size, no initial contents, and an initial expected size of 11.
- create() - Static method in class com.google.common.collect.MutableClassToInstanceMap
-
Returns a new
MutableClassToInstanceMap
instance backed by aHashMap
using the default initial capacity and load factor. - create() - Static method in class com.google.common.collect.TreeBasedTable
-
Creates an empty
TreeBasedTable
that uses the natural orderings of both row and column keys. - create() - Static method in class com.google.common.collect.TreeMultimap
-
Creates an empty
TreeMultimap
ordered by the natural ordering of its keys and values. - create() - Static method in class com.google.common.collect.TreeMultiset
-
Creates a new, empty multiset, sorted according to the elements' natural order.
- create() - Static method in class com.google.common.collect.TreeRangeMap
- create() - Static method in class com.google.common.collect.TreeRangeSet
-
Creates an empty
TreeRangeSet
instance. - create() - Static method in class com.google.common.io.Closer
-
Creates a new
Closer
. - create() - Static method in class com.google.common.util.concurrent.AtomicLongMap
-
Creates an
AtomicLongMap
. - create() - Static method in class com.google.common.util.concurrent.SettableFuture
-
Creates a new
SettableFuture
that can be completed or cancelled by a later method call. - create(double) - Static method in class com.google.common.util.concurrent.RateLimiter
-
Creates a
RateLimiter
with the specified stable throughput, given as "permits per second" (commonly referred to as QPS, queries per second). - create(double, long, TimeUnit) - Static method in class com.google.common.util.concurrent.RateLimiter
-
Creates a
RateLimiter
with the specified stable throughput, given as "permits per second" (commonly referred to as QPS, queries per second), and a warmup period, during which theRateLimiter
smoothly ramps up its rate, until it reaches its maximum rate at the end of the period (as long as there are enough requests to saturate it). - create(int) - Static method in class com.google.common.collect.EvictingQueue
-
Creates and returns a new evicting queue that will hold up to
maxSize
elements. - create(int) - Static method in class com.google.common.collect.HashBiMap
-
Constructs a new, empty bimap with the specified expected size.
- create(int) - Static method in class com.google.common.collect.HashMultiset
-
Creates a new, empty
HashMultiset
with the specified expected number of distinct elements. - create(int) - Static method in class com.google.common.collect.LinkedHashMultiset
-
Creates a new, empty
LinkedHashMultiset
with the specified expected number of distinct elements. - create(int) - Static method in class com.google.common.collect.LinkedListMultimap
-
Constructs an empty
LinkedListMultimap
with enough capacity to hold the specified number of keys without rehashing. - create(int, int) - Static method in class com.google.common.collect.ArrayListMultimap
-
Constructs an empty
ArrayListMultimap
with enough capacity to hold the specified numbers of keys and values without resizing. - create(int, int) - Static method in class com.google.common.collect.HashBasedTable
-
Creates an empty
HashBasedTable
with the specified map sizes. - create(int, int) - Static method in class com.google.common.collect.HashMultimap
-
Constructs an empty
HashMultimap
with enough capacity to hold the specified numbers of keys and values without rehashing. - create(int, int) - Static method in class com.google.common.collect.LinkedHashMultimap
-
Constructs an empty
LinkedHashMultimap
with enough capacity to hold the specified numbers of keys and values without rehashing. - create(MapMaker) - Static method in class com.google.common.collect.ConcurrentHashMultiset
-
Deprecated.Use
ConcurrentHashMultiset.create(ConcurrentMap)
instead. This method is scheduled for deletion in Guava 21.0. - create(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.ArrayListMultimap
-
Constructs an
ArrayListMultimap
with the same mappings as the specified multimap. - create(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.HashMultimap
-
Constructs a
HashMultimap
with the same mappings as the specified multimap. - create(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.LinkedHashMultimap
-
Constructs a
LinkedHashMultimap
with the same mappings as the specified multimap. - create(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.LinkedListMultimap
-
Constructs a
LinkedListMultimap
with the same mappings as the specifiedMultimap
. - create(Multimap<? extends K, ? extends V>) - Static method in class com.google.common.collect.TreeMultimap
-
Constructs a
TreeMultimap
, ordered by the natural ordering of its keys and values, with the same mappings as the specified multimap. - create(Range<C>, DiscreteDomain<C>) - Static method in class com.google.common.collect.ContiguousSet
-
Returns a
ContiguousSet
containing the same values in the given domain contained by the range. - create(RangeSet<C>) - Static method in class com.google.common.collect.TreeRangeSet
-
Returns a
TreeRangeSet
initialized with the ranges in the specified range set. - create(Table<? extends R, ? extends C, ? extends V>) - Static method in class com.google.common.collect.HashBasedTable
-
Creates a
HashBasedTable
with the same mappings as the specified table. - create(Table<R, C, V>) - Static method in class com.google.common.collect.ArrayTable
-
Creates an
ArrayTable
with the mappings in the provided table. - create(AnEnum[]) - Method in class com.google.common.collect.testing.google.TestEnumMultisetGenerator
- create(AnEnum[]) - Method in class com.google.common.collect.testing.TestEnumSetGenerator
- create(UnhashableObject[]) - Method in class com.google.common.collect.testing.google.ListGenerators.UnhashableElementsImmutableListGenerator
- create(UnhashableObject[]) - Method in class com.google.common.collect.testing.google.MapGenerators.ImmutableMapUnhashableValuesGenerator
- create(UnhashableObject[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetUnhashableGenerator
- create(UnhashableObject[]) - Method in class com.google.common.collect.testing.TestUnhashableCollectionGenerator
-
Creates a new collection containing the given elements; implement this method instead of
TestUnhashableCollectionGenerator.create(Object...)
. - create(TreeBasedTable<R, C, ? extends V>) - Static method in class com.google.common.collect.TreeBasedTable
-
Creates a
TreeBasedTable
with the same mappings and sort order as the specifiedTreeBasedTable
. - create(Funnel<? super T>, int) - Static method in class com.google.common.hash.BloomFilter
-
Creates a
BloomFilter
with the expected number of insertions and a default expected false positive probability of 3%. - create(Funnel<? super T>, int, double) - Static method in class com.google.common.hash.BloomFilter
-
Creates a
BloomFilter
with the expected number of insertions and expected false positive probability. - create(Funnel<? super T>, long) - Static method in class com.google.common.hash.BloomFilter
-
Creates a
BloomFilter
with the expected number of insertions and a default expected false positive probability of 3%. - create(Funnel<? super T>, long, double) - Static method in class com.google.common.hash.BloomFilter
-
Creates a
BloomFilter
with the expected number of insertions and expected false positive probability. - create(Character[]) - Method in class com.google.common.collect.testing.google.ListGenerators.CharactersOfCharSequenceGenerator
- create(Character[]) - Method in class com.google.common.collect.testing.google.ListGenerators.CharactersOfStringGenerator
- create(Character[]) - Method in class com.google.common.collect.testing.TestCharacterListGenerator
-
Creates a new collection containing the given elements; implement this method instead of
TestCharacterListGenerator.create(Object...)
. - create(Class<E>) - Static method in class com.google.common.collect.EnumMultiset
-
Creates an empty
EnumMultiset
. - create(Class<K>) - Static method in class com.google.common.collect.EnumHashBiMap
-
Returns a new, empty
EnumHashBiMap
using the specified key type. - create(Class<K>, Class<V>) - Static method in class com.google.common.collect.EnumBiMap
-
Returns a new, empty
EnumBiMap
using the specified key and value types. - create(Integer[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ContiguousSetDescendingGenerator
- create(Integer[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ContiguousSetGenerator
- create(Integer[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ContiguousSetHeadsetGenerator
- create(Integer[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ContiguousSetSubsetGenerator
- create(Integer[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ContiguousSetTailsetGenerator
- create(Integer[]) - Method in class com.google.common.collect.testing.TestIntegerSetGenerator
- create(Integer[]) - Method in class com.google.common.collect.testing.TestIntegerSortedSetGenerator
- create(Iterable<? extends E>) - Static method in class com.google.common.collect.ConcurrentHashMultiset
-
Creates a new
ConcurrentHashMultiset
containing the specified elements, using the default initial capacity, load factor, and concurrency settings. - create(Iterable<? extends E>) - Static method in class com.google.common.collect.HashMultiset
-
Creates a new
HashMultiset
containing the specified elements. - create(Iterable<? extends E>) - Static method in class com.google.common.collect.LinkedHashMultiset
-
Creates a new
LinkedHashMultiset
containing the specified elements. - create(Iterable<? extends E>) - Static method in class com.google.common.collect.MinMaxPriorityQueue
-
Creates a new min-max priority queue using natural order, no maximum size, and initially containing the given elements.
- create(Iterable<? extends E>) - Static method in class com.google.common.collect.TreeMultiset
-
Creates an empty multiset containing the given initial elements, sorted according to the elements' natural order.
- create(Iterable<? extends R>, Iterable<? extends C>) - Static method in class com.google.common.collect.ArrayTable
-
Creates an empty
ArrayTable
. - create(Iterable<? extends T>) - Method in class com.google.common.collect.MinMaxPriorityQueue.Builder
-
Builds a new min-max priority queue using the previously specified options, and having the given initial elements.
- create(Iterable<E>) - Static method in class com.google.common.collect.EnumMultiset
-
Creates a new
EnumMultiset
containing the specified elements. - create(Iterable<E>, Class<E>) - Static method in class com.google.common.collect.EnumMultiset
-
Returns a new
EnumMultiset
instance containing the given elements. - create(Object...) - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapEntrySetGenerator
- create(Object...) - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapKeySetGenerator
- create(Object...) - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapSortedKeySetGenerator
- create(Object...) - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapValueCollectionGenerator
- create(Object...) - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator
- create(Object...) - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator
- create(Object...) - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.BiMapValueSetGenerator
- create(Object...) - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.InverseBiMapGenerator
- create(Object...) - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.MapGenerator
- create(Object...) - Method in class com.google.common.collect.testing.google.MapGenerators.ImmutableMapEntryListGenerator
- create(Object...) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSetWithBadHashesGenerator
- create(Object...) - Method in class com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapEntryListGenerator
- create(Object...) - Method in class com.google.common.collect.testing.google.TestEnumMultisetGenerator
- create(Object...) - Method in interface com.google.common.collect.testing.google.TestMultisetGenerator
- create(Object...) - Method in class com.google.common.collect.testing.google.TestStringBiMapGenerator
- create(Object...) - Method in class com.google.common.collect.testing.google.TestStringListMultimapGenerator
- create(Object...) - Method in class com.google.common.collect.testing.google.TestStringMultisetGenerator
- create(Object...) - Method in class com.google.common.collect.testing.google.TestStringSetMultimapGenerator
- create(Object...) - Method in class com.google.common.collect.testing.OneSizeGenerator
- create(Object...) - Method in class com.google.common.collect.testing.ReserializingTestCollectionGenerator
- create(Object...) - Method in class com.google.common.collect.testing.ReserializingTestSetGenerator
- create(Object...) - Method in class com.google.common.collect.testing.TestCharacterListGenerator
- create(Object...) - Method in interface com.google.common.collect.testing.TestContainerGenerator
-
Creates a new container containing the given elements.
- create(Object...) - Method in class com.google.common.collect.testing.TestEnumMapGenerator
- create(Object...) - Method in class com.google.common.collect.testing.TestEnumSetGenerator
- create(Object...) - Method in class com.google.common.collect.testing.TestIntegerSetGenerator
- create(Object...) - Method in interface com.google.common.collect.testing.TestListGenerator
- create(Object...) - Method in class com.google.common.collect.testing.TestMapEntrySetGenerator
- create(Object...) - Method in interface com.google.common.collect.testing.TestQueueGenerator
- create(Object...) - Method in interface com.google.common.collect.testing.TestSetGenerator
- create(Object...) - Method in interface com.google.common.collect.testing.TestSortedMapGenerator
- create(Object...) - Method in interface com.google.common.collect.testing.TestSortedSetGenerator
- create(Object...) - Method in class com.google.common.collect.testing.TestStringCollectionGenerator
- create(Object...) - Method in class com.google.common.collect.testing.TestStringListGenerator
- create(Object...) - Method in class com.google.common.collect.testing.TestStringMapGenerator
- create(Object...) - Method in class com.google.common.collect.testing.TestStringQueueGenerator
- create(Object...) - Method in class com.google.common.collect.testing.TestStringSetGenerator
- create(Object...) - Method in class com.google.common.collect.testing.TestStringSortedMapGenerator
- create(Object...) - Method in class com.google.common.collect.testing.TestStringSortedSetGenerator
- create(Object...) - Method in class com.google.common.collect.testing.TestUnhashableCollectionGenerator
- create(Runnable, V) - Static method in class com.google.common.util.concurrent.ListenableFutureTask
-
Creates a
ListenableFutureTask
that will upon running, execute the givenRunnable
, and arrange thatget
will return the given result on successful completion. - create(String[]) - Method in class com.google.common.collect.testing.google.ListGenerators.BuilderAddAllListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.ListGenerators.BuilderAddListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.ListGenerators.BuilderReversedListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.ListGenerators.ImmutableListHeadSubListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.ListGenerators.ImmutableListMiddleSubListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.ListGenerators.ImmutableListOfGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.ListGenerators.ImmutableListTailSubListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.MapGenerators.ImmutableMapKeyListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.MapGenerators.ImmutableMapValueListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.DegeneratedImmutableSetGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSetAsListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSetCopyOfGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetAsListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetAsListSubListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetCopyOfGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetDescendingAsListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetDescendingGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetExplicitComparator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetExplicitSuperclassComparatorGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetHeadsetGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetReversedOrderGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetSubsetAsListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetSubsetAsListSubListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetSubsetGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetTailsetGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapKeyListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapValueListGenerator
- create(String[]) - Method in class com.google.common.collect.testing.google.TestStringMultisetGenerator
- create(String[]) - Method in class com.google.common.collect.testing.TestStringCollectionGenerator
- create(String[]) - Method in class com.google.common.collect.testing.TestStringListGenerator
-
Creates a new collection containing the given elements; implement this method instead of
TestStringListGenerator.create(Object...)
. - create(String[]) - Method in class com.google.common.collect.testing.TestStringQueueGenerator
- create(String[]) - Method in class com.google.common.collect.testing.TestStringSetGenerator
- create(String[]) - Method in class com.google.common.collect.testing.TestStringSortedSetGenerator
- create(String, String) - Static method in class com.google.common.net.MediaType
-
Creates a new media type with the given type and subtype.
- create(Comparator<? super E>) - Static method in class com.google.common.collect.TreeMultiset
-
Creates a new, empty multiset, sorted according to the specified comparator.
- create(Comparator<? super K>, Comparator<? super V>) - Static method in class com.google.common.collect.TreeMultimap
-
Creates an empty
TreeMultimap
instance using explicit comparators. - create(Comparator<? super R>, Comparator<? super C>) - Static method in class com.google.common.collect.TreeBasedTable
-
Creates an empty
TreeBasedTable
that is ordered by the specified comparators. - create(Callable<V>) - Static method in class com.google.common.util.concurrent.ListenableFutureTask
-
Creates a
ListenableFutureTask
that will upon running, execute the givenCallable
. - create(ConcurrentMap<E, AtomicInteger>) - Static method in class com.google.common.collect.ConcurrentHashMultiset
-
Creates a new, empty
ConcurrentHashMultiset
usingcountMap
as the internal backing map. - create(Map.Entry<AnEnum, String>[]) - Method in class com.google.common.collect.testing.google.MapGenerators.ImmutableEnumMapGenerator
- create(Map.Entry<AnEnum, String>[]) - Method in class com.google.common.collect.testing.google.MapGenerators.ImmutableMapCopyOfEnumMapGenerator
- create(Map.Entry<AnEnum, String>[]) - Method in class com.google.common.collect.testing.TestEnumMapGenerator
- create(Map.Entry<String, String>[]) - Method in class com.google.common.collect.testing.google.BiMapGenerators.ImmutableBiMapCopyOfEntriesGenerator
- create(Map.Entry<String, String>[]) - Method in class com.google.common.collect.testing.google.BiMapGenerators.ImmutableBiMapCopyOfGenerator
- create(Map.Entry<String, String>[]) - Method in class com.google.common.collect.testing.google.BiMapGenerators.ImmutableBiMapGenerator
- create(Map.Entry<String, String>[]) - Method in class com.google.common.collect.testing.google.MapGenerators.ImmutableMapCopyOfEntriesGenerator
- create(Map.Entry<String, String>[]) - Method in class com.google.common.collect.testing.google.MapGenerators.ImmutableMapCopyOfGenerator
- create(Map.Entry<String, String>[]) - Method in class com.google.common.collect.testing.google.MapGenerators.ImmutableMapGenerator
- create(Map.Entry<String, String>[]) - Method in class com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapCopyOfEntriesGenerator
- create(Map.Entry<String, String>[]) - Method in class com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapGenerator
- create(Map.Entry<String, String>[]) - Method in class com.google.common.collect.testing.google.TestStringBiMapGenerator
- create(Map.Entry<String, String>[]) - Method in class com.google.common.collect.testing.google.TestStringListMultimapGenerator
- create(Map.Entry<String, String>[]) - Method in class com.google.common.collect.testing.google.TestStringSetMultimapGenerator
- create(Map.Entry<String, String>[]) - Method in class com.google.common.collect.testing.TestStringMapGenerator
- create(Map.Entry<String, String>[]) - Method in class com.google.common.collect.testing.TestStringSortedMapGenerator
- create(Map<? extends K, ? extends Long>) - Static method in class com.google.common.util.concurrent.AtomicLongMap
-
Creates an
AtomicLongMap
with the same mappings as the specifiedMap
. - create(Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.HashBiMap
-
Constructs a new bimap containing initial values from
map
. - create(Map<Character, String>) - Static method in class com.google.common.escape.ArrayBasedEscaperMap
-
Returns a new ArrayBasedEscaperMap for creating ArrayBasedCharEscaper or ArrayBasedUnicodeEscaper instances.
- create(Map<Class<? extends B>, B>) - Static method in class com.google.common.collect.MutableClassToInstanceMap
-
Returns a new
MutableClassToInstanceMap
instance backed by a given emptybackingMap
. - create(Map<K, ? extends V>) - Static method in class com.google.common.collect.EnumHashBiMap
-
Constructs a new bimap with the same mappings as the specified map.
- create(Map<K, V>) - Static method in class com.google.common.collect.EnumBiMap
-
Returns a new bimap with the same mappings as the specified map.
- create(K, V, RemovalCause) - Static method in class com.google.common.cache.RemovalNotification
-
Creates a new
RemovalNotification
for the givenkey
/value
pair, with the givencause
for the removal. - createArray(int) - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapEntrySetGenerator
- createArray(int) - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapKeySetGenerator
- createArray(int) - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapValueCollectionGenerator
- createArray(int) - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator
- createArray(int) - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.BiMapValueSetGenerator
- createArray(int) - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.InverseBiMapGenerator
- createArray(int) - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.MapGenerator
- createArray(int) - Method in class com.google.common.collect.testing.google.MapGenerators.ImmutableMapEntryListGenerator
- createArray(int) - Method in class com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapEntryListGenerator
- createArray(int) - Method in class com.google.common.collect.testing.google.TestEnumMultisetGenerator
- createArray(int) - Method in class com.google.common.collect.testing.google.TestStringBiMapGenerator
- createArray(int) - Method in class com.google.common.collect.testing.google.TestStringListMultimapGenerator
- createArray(int) - Method in class com.google.common.collect.testing.google.TestStringMultisetGenerator
- createArray(int) - Method in class com.google.common.collect.testing.google.TestStringSetMultimapGenerator
- createArray(int) - Method in class com.google.common.collect.testing.OneSizeGenerator
- createArray(int) - Method in class com.google.common.collect.testing.ReserializingTestCollectionGenerator
- createArray(int) - Method in class com.google.common.collect.testing.TestCharacterListGenerator
- createArray(int) - Method in class com.google.common.collect.testing.TestCollidingSetGenerator
- createArray(int) - Method in interface com.google.common.collect.testing.TestContainerGenerator
-
Helper method to create an array of the appropriate type used by this generator.
- createArray(int) - Method in class com.google.common.collect.testing.TestEnumMapGenerator
- createArray(int) - Method in class com.google.common.collect.testing.TestEnumSetGenerator
- createArray(int) - Method in class com.google.common.collect.testing.TestIntegerSetGenerator
- createArray(int) - Method in class com.google.common.collect.testing.TestMapEntrySetGenerator
- createArray(int) - Method in class com.google.common.collect.testing.TestStringCollectionGenerator
- createArray(int) - Method in class com.google.common.collect.testing.TestStringListGenerator
- createArray(int) - Method in class com.google.common.collect.testing.TestStringMapGenerator
- createArray(int) - Method in class com.google.common.collect.testing.TestStringQueueGenerator
- createArray(int) - Method in class com.google.common.collect.testing.TestStringSetGenerator
- createArray(int) - Method in class com.google.common.collect.testing.TestUnhashableCollectionGenerator
- createArrayWithDuplicateElement() - Method in class com.google.common.collect.testing.AbstractContainerTester
- createArrayWithNullElement() - Method in class com.google.common.collect.testing.AbstractCollectionTester
- createArrayWithNullKey() - Method in class com.google.common.collect.testing.AbstractMapTester
- createArrayWithNullKey() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- createArrayWithNullKeyAndValue() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- createArrayWithNullValue() - Method in class com.google.common.collect.testing.AbstractMapTester
- createArrayWithNullValue() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- createCheckedFuture(V, Exception, CountDownLatch) - Method in class com.google.common.util.concurrent.testing.AbstractCheckedFutureTest
-
More specific type for the create method.
- createCollection(Iterable<? extends String>) - Method in class com.google.common.collect.testing.google.TestStringListMultimapGenerator
- createCollection(Iterable<? extends String>) - Method in class com.google.common.collect.testing.google.TestStringSetMultimapGenerator
- createCollection(Iterable<? extends V>) - Method in interface com.google.common.collect.testing.google.TestMultimapGenerator
- createDerivedEntrySetSuite(TestSetGenerator<Map.Entry<K, V>>) - Method in class com.google.common.collect.testing.MapTestSuiteBuilder
- createDerivedKeySetSuite(TestSetGenerator<K>) - Method in class com.google.common.collect.testing.MapTestSuiteBuilder
- createDerivedKeySetSuite(TestSetGenerator<K>) - Method in class com.google.common.collect.testing.NavigableMapTestSuiteBuilder
- createDerivedKeySetSuite(TestSetGenerator<K>) - Method in class com.google.common.collect.testing.SortedMapTestSuiteBuilder
- createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<BiMap<K, V>, Map.Entry<K, V>>>) - Method in class com.google.common.collect.testing.google.BiMapTestSuiteBuilder
- createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>) - Method in class com.google.common.collect.testing.AbstractCollectionTestSuiteBuilder
- createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>) - Method in class com.google.common.collect.testing.CollectionTestSuiteBuilder
- createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>) - Method in class com.google.common.collect.testing.google.MultisetTestSuiteBuilder
- createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>) - Method in class com.google.common.collect.testing.ListTestSuiteBuilder
- createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>) - Method in class com.google.common.collect.testing.NavigableSetTestSuiteBuilder
- createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>) - Method in class com.google.common.collect.testing.SetTestSuiteBuilder
- createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>) - Method in class com.google.common.collect.testing.SortedSetTestSuiteBuilder
- createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>>>) - Method in class com.google.common.collect.testing.MapTestSuiteBuilder
- createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>>>) - Method in class com.google.common.collect.testing.NavigableMapTestSuiteBuilder
- createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>>>) - Method in class com.google.common.collect.testing.SortedMapTestSuiteBuilder
- createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<M, Map.Entry<K, V>>>) - Method in class com.google.common.collect.testing.google.MultimapTestSuiteBuilder
- createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<T, E>>) - Method in class com.google.common.collect.testing.PerCollectionSizeTestSuiteBuilder
- createDerivedValueCollectionSuite(TestCollectionGenerator<V>) - Method in class com.google.common.collect.testing.MapTestSuiteBuilder
- createDisjointCollection() - Method in class com.google.common.collect.testing.AbstractContainerTester
- createDisjointCollection() - Method in class com.google.common.collect.testing.AbstractMapTester
- createEntrySet() - Method in class com.google.common.collect.ConcurrentHashMultiset
- createFromEntries(Map.Entry<K, V>[]) - Method in class com.google.common.collect.testing.TestMapEntrySetGenerator
- createKeyArray(int) - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.InverseBiMapGenerator
- createKeyArray(int) - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.MapGenerator
- createKeyArray(int) - Method in interface com.google.common.collect.testing.google.TestBiMapGenerator
- createKeyArray(int) - Method in interface com.google.common.collect.testing.google.TestMultimapGenerator
- createKeyArray(int) - Method in class com.google.common.collect.testing.google.TestStringBiMapGenerator
- createKeyArray(int) - Method in class com.google.common.collect.testing.google.TestStringListMultimapGenerator
- createKeyArray(int) - Method in class com.google.common.collect.testing.google.TestStringSetMultimapGenerator
- createKeyArray(int) - Method in class com.google.common.collect.testing.TestEnumMapGenerator
- createKeyArray(int) - Method in interface com.google.common.collect.testing.TestMapGenerator
- createKeyArray(int) - Method in class com.google.common.collect.testing.TestStringMapGenerator
- createListenableFuture(V, Exception, CountDownLatch) - Method in class com.google.common.util.concurrent.testing.AbstractCheckedFutureTest
- createListenableFuture(V, Exception, CountDownLatch) - Method in class com.google.common.util.concurrent.testing.AbstractListenableFutureTest
-
Constructs a listenable future with a value available after the latch has counted down.
- createOrderedArray() - Method in class com.google.common.collect.testing.AbstractContainerTester
- createParentDirs(File) - Static method in class com.google.common.io.Files
-
Creates any necessary but nonexistent parent directories of the specified file.
- createSamplesArray() - Method in class com.google.common.collect.testing.AbstractContainerTester
- createStarted() - Static method in class com.google.common.base.Stopwatch
-
Creates (and starts) a new stopwatch using
System.nanoTime()
as its time source. - createStarted(Ticker) - Static method in class com.google.common.base.Stopwatch
-
Creates (and starts) a new stopwatch, using the specified time source.
- createTempDir() - Static method in class com.google.common.io.Files
-
Atomically creates a new directory somewhere beneath the system's temporary directory (as defined by the
java.io.tmpdir
system property), and returns its name. - createTestSubject() - Method in class com.google.common.collect.testing.OneSizeGenerator
- createTestSubject() - Method in interface com.google.common.collect.testing.TestSubjectGenerator
- createTestSuite() - Method in class com.google.common.collect.testing.DerivedIteratorTestSuiteBuilder
- createTestSuite() - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
-
Creates a runnable JUnit test suite based on the criteria already given.
- createTestSuite() - Method in class com.google.common.collect.testing.google.SortedMultisetTestSuiteBuilder
- createTestSuite() - Method in class com.google.common.collect.testing.ListTestSuiteBuilder
-
Specifies
CollectionFeature.KNOWN_ORDER
for all list tests, since lists have an iteration ordering corresponding to the insertion order. - createTestSuite() - Method in class com.google.common.collect.testing.PerCollectionSizeTestSuiteBuilder
-
Creates a runnable JUnit test suite based on the criteria already given.
- createTestSuite() - Method in class com.google.common.collect.testing.SortedMapTestSuiteBuilder
- createTestSuite() - Method in class com.google.common.collect.testing.SortedSetTestSuiteBuilder
- createUnstarted() - Static method in class com.google.common.base.Stopwatch
-
Creates (but does not start) a new stopwatch using
System.nanoTime()
as its time source. - createUnstarted(Ticker) - Static method in class com.google.common.base.Stopwatch
-
Creates (but does not start) a new stopwatch, using the specified time source.
- createValueArray(int) - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.InverseBiMapGenerator
- createValueArray(int) - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.MapGenerator
- createValueArray(int) - Method in interface com.google.common.collect.testing.google.TestBiMapGenerator
- createValueArray(int) - Method in interface com.google.common.collect.testing.google.TestMultimapGenerator
- createValueArray(int) - Method in class com.google.common.collect.testing.google.TestStringBiMapGenerator
- createValueArray(int) - Method in class com.google.common.collect.testing.google.TestStringListMultimapGenerator
- createValueArray(int) - Method in class com.google.common.collect.testing.google.TestStringSetMultimapGenerator
- createValueArray(int) - Method in class com.google.common.collect.testing.TestEnumMapGenerator
- createValueArray(int) - Method in interface com.google.common.collect.testing.TestMapGenerator
- createValueArray(int) - Method in class com.google.common.collect.testing.TestStringMapGenerator
- CRW - Static variable in class com.google.common.net.MediaType
-
The media type for the Canon Image File Format (
crw
files), a widely-used "raw image" format for cameras. - CSS_UTF_8 - Static variable in class com.google.common.net.MediaType
- CSV_UTF_8 - Static variable in class com.google.common.net.MediaType
- CustomScheduler() - Constructor for class com.google.common.util.concurrent.AbstractScheduledService.CustomScheduler
- cycle() - Method in class com.google.common.collect.FluentIterable
-
Returns a fluent iterable whose
Iterator
cycles indefinitely over the elements of this fluent iterable. - cycle(Iterable<T>) - Static method in class com.google.common.collect.Iterables
-
Returns an iterable whose iterators cycle indefinitely over the elements of
iterable
. - cycle(Iterable<T>) - Static method in class com.google.common.collect.Iterators
-
Returns an iterator that cycles indefinitely over the elements of
iterable
. - cycle(T...) - Static method in class com.google.common.collect.Iterables
-
Returns an iterable whose iterators cycle indefinitely over the provided elements.
- cycle(T...) - Static method in class com.google.common.collect.Iterators
-
Returns an iterator that cycles indefinitely over the provided elements.
- CycleDetectingLockFactory - Class in com.google.common.util.concurrent
-
The
CycleDetectingLockFactory
createsReentrantLock
instances andReentrantReadWriteLock
instances that detect potential deadlock by checking for cycles in lock acquisition order. - CycleDetectingLockFactory.Policies - Enum in com.google.common.util.concurrent
-
Pre-defined
CycleDetectingLockFactory.Policy
implementations. - CycleDetectingLockFactory.Policy - Interface in com.google.common.util.concurrent
-
Encapsulates the action to be taken when a potential deadlock is encountered.
- CycleDetectingLockFactory.PotentialDeadlockException - Exception in com.google.common.util.concurrent
-
Represents a detected cycle in lock acquisition ordering.
- CycleDetectingLockFactory.WithExplicitOrdering<E extends java.lang.Enum<E>> - Class in com.google.common.util.concurrent
-
A
CycleDetectingLockFactory.WithExplicitOrdering
provides the additional enforcement of an application-specified ordering of lock acquisitions.
D
- D - com.google.common.collect.testing.AnEnum
- DART_UTF_8 - Static variable in class com.google.common.net.MediaType
-
Media type for dart files.
- DATE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Date
header field name. - DC1 - Static variable in class com.google.common.base.Ascii
-
Device Control 1.
- DC2 - Static variable in class com.google.common.base.Ascii
-
Device Control 2.
- DC3 - Static variable in class com.google.common.base.Ascii
-
Device Control 3.
- DC4 - Static variable in class com.google.common.base.Ascii
-
Device Control 4.
- DeadEvent - Class in com.google.common.eventbus
-
Wraps an event that was posted, but which had no subscribers and thus could not be delivered.
- DeadEvent(Object, Object) - Constructor for class com.google.common.eventbus.DeadEvent
-
Creates a new DeadEvent.
- decode(CharSequence) - Method in class com.google.common.io.BaseEncoding
-
Decodes the specified character sequence, and returns the resulting
byte[]
. - decode(String) - Static method in class com.google.common.primitives.UnsignedInts
-
Returns the unsigned
int
value represented by the given string. - decode(String) - Static method in class com.google.common.primitives.UnsignedLongs
-
Returns the unsigned
long
value represented by the given string. - decodingSource(CharSource) - Method in class com.google.common.io.BaseEncoding
-
Returns a
ByteSource
that reads base-encoded bytes from the specifiedCharSource
. - decodingStream(Reader) - Method in class com.google.common.io.BaseEncoding
-
Returns an
InputStream
that decodes base-encoded input from the specifiedReader
. - decrement(InetAddress) - Static method in class com.google.common.net.InetAddresses
-
Returns a new InetAddress that is one less than the passed in address.
- decrementAndGet(K) - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Decrements by one the value currently associated with
key
, and returns the new value. - Defaults - Class in com.google.common.base
-
This class provides default values for all Java types, as defined by the JLS.
- defaultValue(Class<T>) - Static method in class com.google.common.base.Defaults
-
Returns the default value of
type
as defined by JLS ---0
for numbers,false
forboolean
and'\0'
forchar
. - DegeneratedImmutableSetGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.DegeneratedImmutableSetGenerator
- degree(Object) - Method in class com.google.common.graph.AbstractGraph
- degree(Object) - Method in class com.google.common.graph.AbstractNetwork
- degree(Object) - Method in interface com.google.common.graph.Graph
-
Returns the count of
node
's incident edges, counting self-loops twice (equivalently, the number of times an edge touchesnode
). - degree(Object) - Method in interface com.google.common.graph.Network
-
Returns the count of
node
'sincident edges
, counting self-loops twice (equivalently, the number of times an edge touchesnode
). - DEL - Static variable in class com.google.common.base.Ascii
-
Delete: This character is used primarily to "erase" or "obliterate" erroneous or unwanted characters in perforated tape.
- delegate() - Method in class com.google.common.cache.ForwardingCache
- delegate() - Method in class com.google.common.cache.ForwardingCache.SimpleForwardingCache
- delegate() - Method in class com.google.common.cache.ForwardingLoadingCache
- delegate() - Method in class com.google.common.cache.ForwardingLoadingCache.SimpleForwardingLoadingCache
- delegate() - Method in class com.google.common.collect.EvictingQueue
- delegate() - Method in class com.google.common.collect.ForwardingBlockingDeque
- delegate() - Method in class com.google.common.collect.ForwardingCollection
- delegate() - Method in class com.google.common.collect.ForwardingConcurrentMap
- delegate() - Method in class com.google.common.collect.ForwardingDeque
- delegate() - Method in class com.google.common.collect.ForwardingIterator
- delegate() - Method in class com.google.common.collect.ForwardingList
- delegate() - Method in class com.google.common.collect.ForwardingListIterator
- delegate() - Method in class com.google.common.collect.ForwardingListMultimap
- delegate() - Method in class com.google.common.collect.ForwardingMap
- delegate() - Method in class com.google.common.collect.ForwardingMapEntry
- delegate() - Method in class com.google.common.collect.ForwardingMultimap
- delegate() - Method in class com.google.common.collect.ForwardingMultiset
- delegate() - Method in class com.google.common.collect.ForwardingNavigableMap
- delegate() - Method in class com.google.common.collect.ForwardingNavigableSet
- delegate() - Method in class com.google.common.collect.ForwardingObject
-
Returns the backing delegate instance that methods are forwarded to.
- delegate() - Method in class com.google.common.collect.ForwardingQueue
- delegate() - Method in class com.google.common.collect.ForwardingSet
- delegate() - Method in class com.google.common.collect.ForwardingSetMultimap
- delegate() - Method in class com.google.common.collect.ForwardingSortedMap
- delegate() - Method in class com.google.common.collect.ForwardingSortedMultiset
- delegate() - Method in class com.google.common.collect.ForwardingSortedSet
- delegate() - Method in class com.google.common.collect.ForwardingSortedSetMultimap
- delegate() - Method in class com.google.common.collect.ForwardingTable
- delegate() - Method in class com.google.common.collect.ImmutableClassToInstanceMap
- delegate() - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap
- delegate() - Method in class com.google.common.reflect.MutableTypeToInstanceMap
- delegate() - Method in class com.google.common.reflect.TypeToken.TypeSet
- delegate() - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
- delegate() - Method in class com.google.common.util.concurrent.ForwardingCheckedFuture
- delegate() - Method in class com.google.common.util.concurrent.ForwardingCheckedFuture.SimpleForwardingCheckedFuture
- delegate() - Method in class com.google.common.util.concurrent.ForwardingExecutorService
- delegate() - Method in class com.google.common.util.concurrent.ForwardingFuture
- delegate() - Method in class com.google.common.util.concurrent.ForwardingFuture.SimpleForwardingFuture
- delegate() - Method in class com.google.common.util.concurrent.ForwardingListenableFuture
- delegate() - Method in class com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture
- delegate() - Method in class com.google.common.util.concurrent.ForwardingListeningExecutorService
- dereference(ListenableFuture<? extends ListenableFuture<? extends V>>) - Static method in class com.google.common.util.concurrent.Futures
-
Returns a new
ListenableFuture
whose result is the product of callingget()
on theFuture
nested within the givenFuture
, effectively chaining the futures one after the other. - DerivedCollectionGenerators - Class in com.google.common.collect.testing
-
Derived suite generators, split out of the suite builders so that they are available to GWT.
- DerivedCollectionGenerators.Bound - Enum in com.google.common.collect.testing
-
Two bounds (from and to) define how to build a subMap.
- DerivedCollectionGenerators.MapEntrySetGenerator<K,V> - Class in com.google.common.collect.testing
- DerivedCollectionGenerators.MapKeySetGenerator<K,V> - Class in com.google.common.collect.testing
- DerivedCollectionGenerators.MapSortedKeySetGenerator<K,V> - Class in com.google.common.collect.testing
- DerivedCollectionGenerators.MapValueCollectionGenerator<K,V> - Class in com.google.common.collect.testing
- DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator<K,V> - Class in com.google.common.collect.testing
- DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator<E> - Class in com.google.common.collect.testing
- DerivedComparable - Class in com.google.common.collect.testing
-
Simple derived class to verify that we handle generics correctly.
- DerivedComparable(String) - Constructor for class com.google.common.collect.testing.DerivedComparable
- DerivedGenerator - Interface in com.google.common.collect.testing
-
A generator that relies on a preexisting generator for most of its work.
- DerivedGoogleCollectionGenerators - Class in com.google.common.collect.testing.google
-
Derived suite generators for Guava collection interfaces, split out of the suite builders so that they are available to GWT.
- DerivedGoogleCollectionGenerators.BiMapValueSetGenerator<K,V> - Class in com.google.common.collect.testing.google
- DerivedGoogleCollectionGenerators.InverseBiMapGenerator<K,V> - Class in com.google.common.collect.testing.google
- DerivedGoogleCollectionGenerators.MapGenerator<K,V> - Class in com.google.common.collect.testing.google
- DerivedIteratorTestSuiteBuilder<E> - Class in com.google.common.collect.testing
-
Given a test iterable generator, builds a test suite for the iterable's iterator, by delegating to a
IteratorTestSuiteBuilder
. - DerivedIteratorTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.DerivedIteratorTestSuiteBuilder
- DerivedTestIteratorGenerator<E> - Class in com.google.common.collect.testing
-
Adapts a test iterable generator to give a TestIteratorGenerator.
- DerivedTestIteratorGenerator(TestSubjectGenerator<? extends Iterable<E>>) - Constructor for class com.google.common.collect.testing.DerivedTestIteratorGenerator
- DESCENDING_VIEW - com.google.common.collect.testing.features.CollectionFeature
- descendingIterator() - Method in class com.google.common.collect.ForwardingDeque
- descendingIterator() - Method in class com.google.common.collect.ForwardingNavigableSet
- descendingIterator() - Method in class com.google.common.collect.ImmutableSortedSet
- descendingIterator() - Method in class com.google.common.collect.testing.SafeTreeSet
- descendingKeySet() - Method in class com.google.common.collect.ForwardingNavigableMap
- descendingKeySet() - Method in class com.google.common.collect.ImmutableSortedMap
- descendingKeySet() - Method in class com.google.common.collect.testing.SafeTreeMap
- descendingMap() - Method in class com.google.common.collect.ForwardingNavigableMap
- descendingMap() - Method in class com.google.common.collect.ImmutableSortedMap
- descendingMap() - Method in class com.google.common.collect.testing.SafeTreeMap
- descendingMultiset() - Method in class com.google.common.collect.ForwardingSortedMultiset
- descendingMultiset() - Method in class com.google.common.collect.ImmutableSortedMultiset
- descendingMultiset() - Method in interface com.google.common.collect.SortedMultiset
-
Returns a descending view of this multiset.
- descendingSet() - Method in class com.google.common.collect.ForwardingNavigableSet
- descendingSet() - Method in class com.google.common.collect.ImmutableSortedSet
- descendingSet() - Method in class com.google.common.collect.testing.SafeTreeSet
- difference(Multiset<E>, Multiset<?>) - Static method in class com.google.common.collect.Multisets
-
Returns an unmodifiable view of the difference of two multisets.
- difference(Map<? extends K, ? extends V>, Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.Maps
-
Computes the difference between two maps.
- difference(Map<? extends K, ? extends V>, Map<? extends K, ? extends V>, Equivalence<? super V>) - Static method in class com.google.common.collect.Maps
-
Computes the difference between two maps.
- difference(Set<E>, Set<?>) - Static method in class com.google.common.collect.Sets
-
Returns an unmodifiable view of the difference of two sets.
- difference(SortedMap<K, ? extends V>, Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.Maps
-
Computes the difference between two sorted maps, using the comparator of the left map, or
Ordering.natural()
if the left map uses the natural ordering of its elements. - digit() - Static method in class com.google.common.base.CharMatcher
-
Determines whether a character is a digit according to Unicode.
- DIGIT - Static variable in class com.google.common.base.CharMatcher
-
Deprecated.Use
CharMatcher.digit()
instead. This constant is scheduled to be removed in June 2018. - directed() - Static method in class com.google.common.graph.GraphBuilder
-
Returns a
GraphBuilder
for building directed graphs. - directed() - Static method in class com.google.common.graph.NetworkBuilder
-
Returns a
NetworkBuilder
for building directed networks. - directed() - Static method in class com.google.common.graph.ValueGraphBuilder
-
Returns a
ValueGraphBuilder
for building directed graphs. - directExecutor() - Static method in class com.google.common.util.concurrent.MoreExecutors
-
Returns an
Executor
that runs each task in the thread that invokesexecute
, as inThreadPoolExecutor.CallerRunsPolicy
. - disableCaching() - Static method in class com.google.common.cache.CacheBuilderSpec
-
Returns a CacheBuilderSpec that will prevent caching.
- DISABLED - com.google.common.util.concurrent.CycleDetectingLockFactory.Policies
-
Disables cycle detection.
- DiscreteDomain<C extends java.lang.Comparable> - Class in com.google.common.collect
-
A descriptor for a discrete
Comparable
domain such as allInteger
instances. - DiscreteDomain() - Constructor for class com.google.common.collect.DiscreteDomain
-
Constructor for use by subclasses.
- distance(C, C) - Method in class com.google.common.collect.DiscreteDomain
-
Returns a signed value indicating how many nested invocations of
DiscreteDomain.next(C)
(if positive) orDiscreteDomain.previous(C)
(if negative) are needed to reachend
starting fromstart
. - divide(int, int) - Static method in class com.google.common.primitives.UnsignedInts
-
Returns dividend / divisor, where the dividend and divisor are treated as unsigned 32-bit quantities.
- divide(int, int, RoundingMode) - Static method in class com.google.common.math.IntMath
-
Returns the result of dividing
p
byq
, rounding using the specifiedRoundingMode
. - divide(long, long) - Static method in class com.google.common.primitives.UnsignedLongs
-
Returns dividend / divisor, where the dividend and divisor are treated as unsigned 64-bit quantities.
- divide(long, long, RoundingMode) - Static method in class com.google.common.math.LongMath
-
Returns the result of dividing
p
byq
, rounding using the specifiedRoundingMode
. - divide(BigInteger, BigInteger, RoundingMode) - Static method in class com.google.common.math.BigIntegerMath
-
Returns the result of dividing
p
byq
, rounding using the specifiedRoundingMode
. - dividedBy(UnsignedInteger) - Method in class com.google.common.primitives.UnsignedInteger
-
Returns the result of dividing this by
val
. - dividedBy(UnsignedLong) - Method in class com.google.common.primitives.UnsignedLong
-
Returns the result of dividing this by
val
. - DLE - Static variable in class com.google.common.base.Ascii
-
Data Link Escape: A communication control character which will change the meaning of a limited number of contiguously following characters.
- DNT - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
DNT
header field name. - doBackward(B) - Method in class com.google.common.base.Converter
-
Returns a representation of
b
as an instance of typeA
. - doEquivalent(T, T) - Method in class com.google.common.base.Equivalence
-
Returns
true
ifa
andb
are considered equivalent. - doForward(A) - Method in class com.google.common.base.Converter
-
Returns a representation of
a
as an instance of typeB
. - doHash(T) - Method in class com.google.common.base.Equivalence
-
Returns a hash code for non-null object
t
. - done() - Method in class com.google.common.util.concurrent.ListenableFutureTask
-
Internal implementation detail used to invoke the listeners.
- doNothing() - Static method in class com.google.common.util.concurrent.Runnables
-
Returns a
Runnable
instance that does nothing when run. - doStart() - Method in class com.google.common.util.concurrent.AbstractService
-
This method is called by
AbstractService.startAsync()
to initiate service startup. - doStop() - Method in class com.google.common.util.concurrent.AbstractService
-
This method should be used to initiate service shutdown.
- DoubleMath - Class in com.google.common.math
-
A class for arithmetic on doubles that is not covered by
Math
. - Doubles - Class in com.google.common.primitives
-
Static utility methods pertaining to
double
primitives, that are not already found in eitherDouble
orArrays
. - doubleValue() - Method in class com.google.common.primitives.UnsignedInteger
-
Returns the value of this
UnsignedInteger
as afloat
, analogous to a widening primitive conversion fromint
todouble
, and correctly rounded. - doubleValue() - Method in class com.google.common.primitives.UnsignedLong
-
Returns the value of this
UnsignedLong
as adouble
, analogous to a widening primitive conversion fromlong
todouble
, and correctly rounded. - doubleValue() - Method in class com.google.common.util.concurrent.AtomicDouble
-
Returns the value of this
AtomicDouble
as adouble
. - downTo(C, BoundType) - Static method in class com.google.common.collect.Range
-
Returns a range from the given endpoint, which may be either inclusive (closed) or exclusive (open), with no upper bound.
- drain(BlockingQueue<E>, Collection<? super E>, int, long, TimeUnit) - Static method in class com.google.common.collect.Queues
-
Drains the queue as
BlockingQueue.drainTo(Collection, int)
, but if the requestednumElements
elements are not available, it will wait for them up to the specified timeout. - drainTo(Collection<? super E>) - Method in class com.google.common.collect.ForwardingBlockingDeque
- drainTo(Collection<? super E>) - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
- drainTo(Collection<? super E>, int) - Method in class com.google.common.collect.ForwardingBlockingDeque
- drainTo(Collection<? super E>, int) - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
- drainUninterruptibly(BlockingQueue<E>, Collection<? super E>, int, long, TimeUnit) - Static method in class com.google.common.collect.Queues
-
Drains the queue as Queues.drain(BlockingQueue, Collection, int, long, TimeUnit), but with a different behavior in case it is interrupted while waiting.
- duplicate - Variable in class com.google.common.collect.testing.AbstractContainerTester.ArrayWithDuplicate
E
- E - com.google.common.collect.testing.AnEnum
- e0() - Method in class com.google.common.collect.testing.AbstractContainerTester
- e0() - Method in class com.google.common.collect.testing.SampleElements
- e1() - Method in class com.google.common.collect.testing.AbstractContainerTester
- e1() - Method in class com.google.common.collect.testing.SampleElements
- e2() - Method in class com.google.common.collect.testing.AbstractContainerTester
- e2() - Method in class com.google.common.collect.testing.SampleElements
- e3() - Method in class com.google.common.collect.testing.AbstractContainerTester
- e3() - Method in class com.google.common.collect.testing.SampleElements
- e4() - Method in class com.google.common.collect.testing.AbstractContainerTester
- e4() - Method in class com.google.common.collect.testing.SampleElements
- edgeCount() - Method in class com.google.common.graph.AbstractGraph
-
Returns the number of edges in this graph; used to calculate the size of
AbstractGraph.edges()
. - edgeOrder() - Method in interface com.google.common.graph.Network
-
Returns the order of iteration for the elements of
Network.edges()
. - edgeOrder(ElementOrder<E1>) - Method in class com.google.common.graph.NetworkBuilder
-
Specifies the order of iteration for the elements of
Network.edges()
. - edges() - Method in class com.google.common.graph.AbstractGraph
-
A reasonable default implementation of
Graph.edges()
defined in terms ofGraph.nodes()
andGraph.successors(Object)
. - edges() - Method in interface com.google.common.graph.Graph
-
Returns all edges in this graph.
- edges() - Method in interface com.google.common.graph.Network
-
Returns all edges in this network, in the order specified by
Network.edgeOrder()
. - edgesConnecting(Object, Object) - Method in interface com.google.common.graph.Network
-
Returns the set of edges directly connecting
nodeU
tonodeV
. - edgeValue(Object, Object) - Method in class com.google.common.graph.AbstractValueGraph
- edgeValue(Object, Object) - Method in class com.google.common.graph.ImmutableValueGraph
- edgeValue(Object, Object) - Method in interface com.google.common.graph.ValueGraph
-
If there is an edge connecting
nodeU
tonodeV
, returns the non-null value associated with that edge. - edgeValueOrDefault(Object, Object, V) - Method in class com.google.common.graph.ImmutableValueGraph
- edgeValueOrDefault(Object, Object, V) - Method in interface com.google.common.graph.ValueGraph
-
If there is an edge connecting
nodeU
tonodeV
, returns the non-null value associated with that edge; otherwise, returnsdefaultValue
. - elapsed(TimeUnit) - Method in class com.google.common.base.Stopwatch
-
Returns the current elapsed time shown on this stopwatch, expressed in the desired time unit, with any fraction rounded down.
- element() - Method in class com.google.common.collect.ForwardingQueue
- ElementOrder<T> - Class in com.google.common.graph
-
Used to represent the order of elements in a data structure that supports different options for iteration order guarantees.
- ElementOrder.Type - Enum in com.google.common.graph
-
The type of ordering that this object specifies.
- elements - Variable in class com.google.common.collect.testing.AbstractContainerTester.ArrayWithDuplicate
- elementsEqual(Iterable<?>, Iterable<?>) - Static method in class com.google.common.collect.Iterables
-
Determines whether two iterables contain equal elements in the same order.
- elementsEqual(Iterator<?>, Iterator<?>) - Static method in class com.google.common.collect.Iterators
-
Determines whether two iterators contain equal elements in the same order.
- elementSet() - Method in class com.google.common.collect.ForwardingMultiset
- elementSet() - Method in class com.google.common.collect.ForwardingSortedMultiset
- elementSet() - Method in class com.google.common.collect.ImmutableSortedMultiset
- elementSet() - Method in interface com.google.common.collect.Multiset
-
Returns the set of distinct elements contained in this multiset.
- elementSet() - Method in interface com.google.common.collect.SortedMultiset
-
Returns a
NavigableSet
view of the distinct elements in this multiset. - EM - Static variable in class com.google.common.base.Ascii
-
End of Medium: A control character associated with the sent data which may be used to identify the physical end of the medium, or the end of the used, or wanted, portion of information recorded on a medium.
- empty() - Static method in class com.google.common.io.ByteSource
-
Returns an immutable
ByteSource
that contains no bytes. - empty() - Static method in class com.google.common.io.CharSource
-
Returns an immutable
CharSource
that contains no characters. - emptyCollection() - Method in class com.google.common.collect.testing.AbstractContainerTester
- emptyToNull(String) - Static method in class com.google.common.base.Strings
-
Returns the given string if it is nonempty;
null
otherwise. - emulated() - Method in annotation type com.google.common.annotations.GwtCompatible
-
When
true
, the annotated type is emulated in GWT. - encloseAll(Iterable<C>) - Static method in class com.google.common.collect.Range
-
Returns the minimal range that contains all of the given values.
- encloses(Range<C>) - Method in class com.google.common.collect.ImmutableRangeSet
- encloses(Range<C>) - Method in class com.google.common.collect.Range
-
Returns
true
if the bounds ofother
do not extend outside the bounds of this range. - encloses(Range<C>) - Method in interface com.google.common.collect.RangeSet
-
Returns
true
if there exists a member range in this range set which encloses the specified range. - encloses(Range<C>) - Method in class com.google.common.collect.TreeRangeSet
- enclosesAll(RangeSet<C>) - Method in interface com.google.common.collect.RangeSet
-
Returns
true
if for each member range inother
there exists a member range in this range set which encloses it. - encode(byte[]) - Method in class com.google.common.io.BaseEncoding
-
Encodes the specified byte array, and returns the encoded
String
. - encode(byte[], int, int) - Method in class com.google.common.io.BaseEncoding
-
Encodes the specified range of the specified byte array, and returns the encoded
String
. - encodedLength(CharSequence) - Static method in class com.google.common.base.Utf8
-
Returns the number of bytes in the UTF-8-encoded form of
sequence
. - encodingSink(CharSink) - Method in class com.google.common.io.BaseEncoding
-
Returns a
ByteSink
that writes base-encoded bytes to the specifiedCharSink
. - encodingStream(Writer) - Method in class com.google.common.io.BaseEncoding
-
Returns an
OutputStream
that encodes bytes using this encoding into the specifiedWriter
. - endOfData() - Method in class com.google.common.collect.AbstractIterator
-
Implementations of
AbstractIterator.computeNext()
must invoke this method when there are no elements left in the iteration. - EndpointPair<N> - Class in com.google.common.graph
-
An immutable pair representing the two endpoints of an edge in a graph.
- ENQ - Static variable in class com.google.common.base.Ascii
-
Enquiry: A communication control character used in data communication systems as a request for a response from a remote station.
- ensureCapacity(boolean[], int, int) - Static method in class com.google.common.primitives.Booleans
-
Returns an array containing the same values as
array
, but guaranteed to be of a specified minimum length. - ensureCapacity(byte[], int, int) - Static method in class com.google.common.primitives.Bytes
-
Returns an array containing the same values as
array
, but guaranteed to be of a specified minimum length. - ensureCapacity(char[], int, int) - Static method in class com.google.common.primitives.Chars
-
Returns an array containing the same values as
array
, but guaranteed to be of a specified minimum length. - ensureCapacity(double[], int, int) - Static method in class com.google.common.primitives.Doubles
-
Returns an array containing the same values as
array
, but guaranteed to be of a specified minimum length. - ensureCapacity(float[], int, int) - Static method in class com.google.common.primitives.Floats
-
Returns an array containing the same values as
array
, but guaranteed to be of a specified minimum length. - ensureCapacity(int[], int, int) - Static method in class com.google.common.primitives.Ints
-
Returns an array containing the same values as
array
, but guaranteed to be of a specified minimum length. - ensureCapacity(long[], int, int) - Static method in class com.google.common.primitives.Longs
-
Returns an array containing the same values as
array
, but guaranteed to be of a specified minimum length. - ensureCapacity(short[], int, int) - Static method in class com.google.common.primitives.Shorts
-
Returns an array containing the same values as
array
, but guaranteed to be of a specified minimum length. - enter() - Method in class com.google.common.util.concurrent.Monitor
-
Enters this monitor.
- enter(long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
-
Enters this monitor.
- enterIf(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
-
Enters this monitor if the guard is satisfied.
- enterIf(Monitor.Guard, long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
-
Enters this monitor if the guard is satisfied.
- enterIfInterruptibly(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
-
Enters this monitor if the guard is satisfied.
- enterIfInterruptibly(Monitor.Guard, long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
-
Enters this monitor if the guard is satisfied.
- enterInterruptibly() - Method in class com.google.common.util.concurrent.Monitor
-
Enters this monitor.
- enterInterruptibly(long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
-
Enters this monitor.
- enterWhen(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
-
Enters this monitor when the guard is satisfied.
- enterWhen(Monitor.Guard, long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
-
Enters this monitor when the guard is satisfied.
- enterWhenUninterruptibly(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
-
Enters this monitor when the guard is satisfied.
- enterWhenUninterruptibly(Monitor.Guard, long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
-
Enters this monitor when the guard is satisfied.
- entries() - Method in class com.google.common.collect.ForwardingMultimap
- entries() - Method in class com.google.common.collect.ForwardingSetMultimap
- entries() - Method in class com.google.common.collect.ImmutableMultimap
-
Returns an immutable collection of all key-value pairs in the multimap.
- entries() - Method in class com.google.common.collect.ImmutableSetMultimap
-
Returns an immutable collection of all key-value pairs in the multimap.
- entries() - Method in class com.google.common.collect.LinkedHashMultimap
-
Returns a set of all key-value pairs.
- entries() - Method in class com.google.common.collect.LinkedListMultimap
-
Returns a view collection of all key-value pairs contained in this multimap, as
Map.Entry
instances. - entries() - Method in interface com.google.common.collect.Multimap
-
Returns a view collection of all key-value pairs contained in this multimap, as
Map.Entry
instances. - entries() - Method in interface com.google.common.collect.SetMultimap
-
Returns a view collection of all key-value pairs contained in this multimap, as
Map.Entry
instances. - ENTRIES_ARE_VIEWS - com.google.common.collect.testing.google.MultisetFeature
-
Indicates that elements from
Multiset.entrySet()
update to reflect changes in the backing multiset. - entriesDiffering() - Method in interface com.google.common.collect.MapDifference
-
Returns an unmodifiable map describing keys that appear in both maps, but with different values.
- entriesDiffering() - Method in interface com.google.common.collect.SortedMapDifference
- entriesInCommon() - Method in interface com.google.common.collect.MapDifference
-
Returns an unmodifiable map containing the entries that appear in both maps; that is, the intersection of the two maps.
- entriesInCommon() - Method in interface com.google.common.collect.SortedMapDifference
- entriesOnlyOnLeft() - Method in interface com.google.common.collect.MapDifference
-
Returns an unmodifiable map containing the entries from the left map whose keys are not present in the right map.
- entriesOnlyOnLeft() - Method in interface com.google.common.collect.SortedMapDifference
- entriesOnlyOnRight() - Method in interface com.google.common.collect.MapDifference
-
Returns an unmodifiable map containing the entries from the right map whose keys are not present in the left map.
- entriesOnlyOnRight() - Method in interface com.google.common.collect.SortedMapDifference
- entry(K, V) - Method in class com.google.common.collect.testing.AbstractMapTester
- entryComparator(Comparator<? super K>) - Static method in class com.google.common.collect.testing.Helpers
- entryIterator() - Method in class com.google.common.collect.ForwardingNavigableMap.StandardDescendingMap
- entrySet() - Method in class com.google.common.collect.ForwardingMap
- entrySet() - Method in class com.google.common.collect.ForwardingMultiset
- entrySet() - Method in class com.google.common.collect.ImmutableMap
-
Returns an immutable set of the mappings in this map.
- entrySet() - Method in class com.google.common.collect.ImmutableMultiset
- entrySet() - Method in class com.google.common.collect.ImmutableSortedMap
-
Returns an immutable set of the mappings in this map, sorted by the key ordering.
- entrySet() - Method in interface com.google.common.collect.Multiset
-
Returns a view of the contents of this multiset, grouped into
Multiset.Entry
instances, each providing an element of the multiset and the count of that element. - entrySet() - Method in interface com.google.common.collect.SortedMultiset
-
Returns a view of the contents of this multiset, grouped into
Multiset.Entry
instances, each providing an element of the multiset and the count of that element. - entrySet() - Method in class com.google.common.collect.testing.SafeTreeMap
- entrySet() - Method in class com.google.common.reflect.MutableTypeToInstanceMap
- EnumBiMap<K extends java.lang.Enum<K>,V extends java.lang.Enum<V>> - Class in com.google.common.collect
-
A
BiMap
backed by twoEnumMap
instances. - EnumHashBiMap<K extends java.lang.Enum<K>,V> - Class in com.google.common.collect
-
A
BiMap
backed by anEnumMap
instance for keys-to-values, and aHashMap
instance for values-to-keys. - enumKeys(Class<K0>) - Static method in class com.google.common.collect.MultimapBuilder
-
Uses an
EnumMap
to map keys to value collections. - EnumMultiset<E extends java.lang.Enum<E>> - Class in com.google.common.collect
-
Multiset implementation backed by an
EnumMap
. - Enums - Class in com.google.common.base
-
Utility methods for working with
Enum
instances. - Enums() - Constructor for class com.google.common.collect.testing.SampleElements.Enums
- enumSetValues(Class<V0>) - Method in class com.google.common.collect.MultimapBuilder.MultimapBuilderWithKeys
-
Uses an
EnumSet
to store value collections. - EOT - Static variable in class com.google.common.base.Ascii
-
End of Transmission: A communication control character used to indicate the conclusion of a transmission, which may have contained one or more texts and any associated headings.
- EOT - Static variable in class com.google.common.net.MediaType
-
Media type for Embedded OpenType fonts.
- EPUB - Static variable in class com.google.common.net.MediaType
-
As described in the International Digital Publishing Forum EPUB is the distribution and interchange format standard for digital publications and documents.
- equal(File, File) - Static method in class com.google.common.io.Files
-
Returns true if the files contains the same bytes.
- equal(Object, Object) - Static method in class com.google.common.base.Objects
-
Determines whether two possibly-null objects are equal.
- equals() - Static method in class com.google.common.base.Equivalence
-
Returns an equivalence that delegates to
Object.equals(java.lang.Object)
andObject.hashCode()
. - equals(Object) - Method in class com.google.common.base.Converter
-
Indicates whether another object is equal to this converter.
- equals(Object) - Method in class com.google.common.base.Equivalence.Wrapper
-
Returns
true
ifEquivalence.equivalent(Object, Object)
applied to the wrapped references istrue
and both wrappers use thesame
equivalence. - equals(Object) - Method in interface com.google.common.base.Function
-
May return
true
if is aFunction
that behaves identically to this function. - equals(Object) - Method in class com.google.common.base.Optional
-
Returns
true
ifobject
is anOptional
instance, and either the contained references are equal to each other or both are absent. - equals(Object) - Method in interface com.google.common.base.Predicate
-
Indicates whether another object is equal to this predicate.
- equals(Object) - Method in class com.google.common.cache.CacheBuilderSpec
- equals(Object) - Method in class com.google.common.cache.CacheStats
- equals(Object) - Method in class com.google.common.collect.ForwardingList
- equals(Object) - Method in class com.google.common.collect.ForwardingMap
- equals(Object) - Method in class com.google.common.collect.ForwardingMapEntry
- equals(Object) - Method in class com.google.common.collect.ForwardingMultimap
- equals(Object) - Method in class com.google.common.collect.ForwardingMultiset
- equals(Object) - Method in class com.google.common.collect.ForwardingSet
- equals(Object) - Method in class com.google.common.collect.ForwardingTable
- equals(Object) - Method in class com.google.common.collect.HashBasedTable
- equals(Object) - Method in class com.google.common.collect.ImmutableList
- equals(Object) - Method in class com.google.common.collect.ImmutableMap
- equals(Object) - Method in class com.google.common.collect.ImmutableMultiset
- equals(Object) - Method in class com.google.common.collect.ImmutableRangeMap
- equals(Object) - Method in class com.google.common.collect.ImmutableSet
- equals(Object) - Method in interface com.google.common.collect.ListMultimap
-
Compares the specified object to this multimap for equality.
- equals(Object) - Method in interface com.google.common.collect.MapDifference
-
Compares the specified object with this instance for equality.
- equals(Object) - Method in interface com.google.common.collect.MapDifference.ValueDifference
-
Two instances are considered equal if their
MapDifference.ValueDifference.leftValue()
values are equal and theirMapDifference.ValueDifference.rightValue()
values are also equal. - equals(Object) - Method in interface com.google.common.collect.Multimap
-
Compares the specified object with this multimap for equality.
- equals(Object) - Method in interface com.google.common.collect.Multiset.Entry
- equals(Object) - Method in interface com.google.common.collect.Multiset
-
Compares the specified object with this multiset for equality.
- equals(Object) - Method in class com.google.common.collect.Range
-
Returns
true
ifobject
is a range having the same endpoints and bound types as this range. - equals(Object) - Method in interface com.google.common.collect.RangeMap
- equals(Object) - Method in interface com.google.common.collect.RangeSet
-
Returns
true
ifobj
is anotherRangeSet
that contains the same ranges according toRange.equals(Object)
. - equals(Object) - Method in interface com.google.common.collect.SetMultimap
-
Compares the specified object to this multimap for equality.
- equals(Object) - Method in interface com.google.common.collect.Table.Cell
-
Compares the specified object with this cell for equality.
- equals(Object) - Method in interface com.google.common.collect.Table
-
Compares the specified object with this table for equality.
- equals(Object) - Method in class com.google.common.collect.testing.BaseComparable
- equals(Object) - Method in class com.google.common.collect.testing.features.TesterRequirements
- equals(Object) - Method in class com.google.common.collect.testing.Helpers.NullsBefore
- equals(Object) - Method in class com.google.common.collect.testing.MinimalSet
- equals(Object) - Method in class com.google.common.collect.testing.SafeTreeMap
- equals(Object) - Method in class com.google.common.collect.testing.SafeTreeSet
- equals(Object) - Method in class com.google.common.collect.testing.UnhashableObject
- equals(Object) - Method in class com.google.common.collect.TreeRangeMap
- equals(Object) - Method in class com.google.common.graph.ElementOrder
- equals(Object) - Method in class com.google.common.graph.EndpointPair
-
Two ordered
EndpointPair
s are equal if theirEndpointPair.source()
andEndpointPair.target()
are equal. - equals(Object) - Method in interface com.google.common.graph.Graph
-
For the default
Graph
implementations, returns true ifthis == object
(reference equality). - equals(Object) - Method in interface com.google.common.graph.Network
-
For the default
Network
implementations, returns true ifthis == object
(reference equality). - equals(Object) - Method in interface com.google.common.graph.ValueGraph
-
For the default
ValueGraph
implementations, returns true ifthis == object
(reference equality). - equals(Object) - Method in class com.google.common.hash.BloomFilter
- equals(Object) - Method in class com.google.common.hash.HashCode
-
Returns
true
ifobject
is aHashCode
instance with the identical byte representation to this hash code. - equals(Object) - Method in class com.google.common.math.PairedStats
- equals(Object) - Method in class com.google.common.math.Stats
- equals(Object) - Method in class com.google.common.net.HostAndPort
- equals(Object) - Method in class com.google.common.net.HostSpecifier
- equals(Object) - Method in class com.google.common.net.InternetDomainName
-
Equality testing is based on the text supplied by the caller, after normalization as described in the class documentation.
- equals(Object) - Method in class com.google.common.net.MediaType
- equals(Object) - Method in class com.google.common.primitives.UnsignedInteger
- equals(Object) - Method in class com.google.common.primitives.UnsignedLong
- equals(Object) - Method in class com.google.common.reflect.AbstractInvocationHandler
-
By default delegates to
Object.equals(java.lang.Object)
so instances are only equal if they are identical. - equals(Object) - Method in class com.google.common.reflect.ClassPath.ResourceInfo
- equals(Object) - Method in class com.google.common.reflect.Parameter
- equals(Object) - Method in class com.google.common.reflect.TypeParameter
- equals(Object) - Method in class com.google.common.reflect.TypeToken
-
Returns true if
o
is anotherTypeToken
that represents the sameType
. - equalsIgnoreCase(CharSequence, CharSequence) - Static method in class com.google.common.base.Ascii
-
Indicates whether the contents of the given character sequences
s1
ands2
are equal, ignoring the case of any ASCII alphabetic characters between'a'
and'z'
or'A'
and'Z'
inclusive. - EqualsTester - Class in com.google.common.testing
-
Tester for equals() and hashCode() methods of a class.
- EqualsTester() - Constructor for class com.google.common.testing.EqualsTester
-
Constructs an empty EqualsTester instance
- equalTo(T) - Static method in class com.google.common.base.Predicates
-
Returns a predicate that evaluates to
true
if the object being testedequals()
the given target or both are null. - Equivalence<T> - Class in com.google.common.base
-
A strategy for determining whether two instances are considered equivalent.
- Equivalence() - Constructor for class com.google.common.base.Equivalence
-
Constructor for use by subclasses.
- Equivalence.Wrapper<T> - Class in com.google.common.base
-
Wraps an object so that
Equivalence.Wrapper.equals(Object)
andEquivalence.Wrapper.hashCode()
delegate to anEquivalence
. - EquivalenceTester<T> - Class in com.google.common.testing
-
Tester for
Equivalence
relationships between groups of objects. - equivalent(Graph<?>, Graph<?>) - Static method in class com.google.common.graph.Graphs
-
Returns
true
ifgraphA
andgraphB
have the same elements and the same relationships between elements, as exposed via theGraph
interface. - equivalent(Network<?, ?>, Network<?, ?>) - Static method in class com.google.common.graph.Graphs
-
Returns
true
ifnetworkA
andnetworkB
have the same elements and the same relationships between elements, as exposed via theNetwork
interface. - equivalent(ValueGraph<?, ?>, ValueGraph<?, ?>) - Static method in class com.google.common.graph.Graphs
-
Returns
true
ifgraphA
andgraphB
have the same elements (including edge values) and the same relationships between elements, as exposed via theValueGraph
interface. - equivalent(T, T) - Method in class com.google.common.base.Equivalence
-
Returns
true
if the given objects are considered equivalent. - equivalentTo(T) - Method in class com.google.common.base.Equivalence
-
Returns a predicate that evaluates to true if and only if the input is equivalent to
target
according to this equivalence relation. - erase(Object, Object) - Method in class com.google.common.collect.ArrayTable
-
Associates the value
null
with the specified keys, assuming both keys are valid. - eraseAll() - Method in class com.google.common.collect.ArrayTable
-
Associates the value
null
with every pair of allowed row and column keys. - ESC - Static variable in class com.google.common.base.Ascii
-
Escape: A control character intended to provide code extension (supplementary characters) in general information interchange.
- escape(char) - Method in class com.google.common.escape.ArrayBasedCharEscaper
-
Escapes a single character using the replacement array and safe range values.
- escape(char) - Method in class com.google.common.escape.CharEscaper
-
Returns the escaped form of the given character, or
null
if this character does not need to be escaped. - escape(int) - Method in class com.google.common.escape.ArrayBasedUnicodeEscaper
-
Escapes a single Unicode code point using the replacement array and safe range values.
- escape(int) - Method in class com.google.common.escape.UnicodeEscaper
-
Returns the escaped form of the given Unicode code point, or
null
if this code point does not need to be escaped. - escape(int) - Method in class com.google.common.net.PercentEscaper
-
Escapes the given Unicode code point in UTF-8.
- escape(String) - Method in class com.google.common.escape.ArrayBasedCharEscaper
- escape(String) - Method in class com.google.common.escape.ArrayBasedUnicodeEscaper
- escape(String) - Method in class com.google.common.escape.CharEscaper
-
Returns the escaped form of a given literal string.
- escape(String) - Method in class com.google.common.escape.Escaper
-
Returns the escaped form of a given literal string.
- escape(String) - Method in class com.google.common.escape.UnicodeEscaper
-
Returns the escaped form of a given literal string.
- escape(String) - Method in class com.google.common.net.PercentEscaper
- Escaper - Class in com.google.common.escape
-
An object that converts literal text into a format safe for inclusion in a particular context (such as an XML document).
- Escaper() - Constructor for class com.google.common.escape.Escaper
-
Constructor for use by subclasses.
- EscaperAsserts - Class in com.google.common.escape.testing
-
Extra assert methods for testing Escaper implementations.
- Escapers - Class in com.google.common.escape
-
Static utility methods pertaining to
Escaper
instances. - Escapers.Builder - Class in com.google.common.escape
-
A builder for simple, fast escapers.
- escapeSlow(String, int) - Method in class com.google.common.escape.CharEscaper
-
Returns the escaped form of a given literal string, starting at the given index.
- escapeSlow(String, int) - Method in class com.google.common.escape.UnicodeEscaper
-
Returns the escaped form of a given literal string, starting at the given index.
- escapeUnsafe(char) - Method in class com.google.common.escape.ArrayBasedCharEscaper
-
Escapes a
char
value that has no direct explicit value in the replacement array and lies outside the stated safe range. - escapeUnsafe(int) - Method in class com.google.common.escape.ArrayBasedUnicodeEscaper
-
Escapes a code point that has no direct explicit value in the replacement array and lies outside the stated safe range.
- ETAG - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
ETag
header field name. - ETB - Static variable in class com.google.common.base.Ascii
-
End of Transmission Block: A communication control character used to indicate the end of a block of data for communication purposes.
- ETX - Static variable in class com.google.common.base.Ascii
-
End of Text: A communication control character used to terminate a sequence of characters started with STX and transmitted as an entity.
- EventBus - Class in com.google.common.eventbus
-
Dispatches events to listeners, and provides ways for listeners to register themselves.
- EventBus() - Constructor for class com.google.common.eventbus.EventBus
-
Creates a new EventBus named "default".
- EventBus(SubscriberExceptionHandler) - Constructor for class com.google.common.eventbus.EventBus
-
Creates a new EventBus with the given
SubscriberExceptionHandler
. - EventBus(String) - Constructor for class com.google.common.eventbus.EventBus
-
Creates a new EventBus with the given
identifier
. - EvictingQueue<E> - Class in com.google.common.collect
-
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.
- evictionCount() - Method in class com.google.common.cache.CacheStats
-
Returns the number of times an entry has been evicted.
- EXACT - Static variable in class com.google.thirdparty.publicsuffix.PublicSuffixPatterns
-
If a hostname is contained as a key in this map, it is a public suffix.
- ExampleIteratorTester<E> - Class in com.google.common.collect.testing
-
A non-empty tester for
Iterator
. - ExampleIteratorTester() - Constructor for class com.google.common.collect.testing.ExampleIteratorTester
- EXCLUDED - Static variable in class com.google.thirdparty.publicsuffix.PublicSuffixPatterns
-
The elements in this map would pass the UNDER test, but are known not to be public suffixes and are thus excluded from consideration.
- EXCLUSIVE - com.google.common.collect.testing.DerivedCollectionGenerators.Bound
- execute() - Method in class com.google.common.util.concurrent.ExecutionList
-
Runs this execution list, executing all existing pairs in the order they were added.
- execute(Runnable) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
- ExecutionError - Error in com.google.common.util.concurrent
-
Error
variant ofExecutionException
. - ExecutionError() - Constructor for error com.google.common.util.concurrent.ExecutionError
-
Creates a new instance with
null
as its detail message. - ExecutionError(Error) - Constructor for error com.google.common.util.concurrent.ExecutionError
-
Creates a new instance with the given cause.
- ExecutionError(String) - Constructor for error com.google.common.util.concurrent.ExecutionError
-
Creates a new instance with the given detail message.
- ExecutionError(String, Error) - Constructor for error com.google.common.util.concurrent.ExecutionError
-
Creates a new instance with the given detail message and cause.
- ExecutionList - Class in com.google.common.util.concurrent
-
A support class for
ListenableFuture
implementations to manage their listeners. - ExecutionList() - Constructor for class com.google.common.util.concurrent.ExecutionList
-
Creates a new, empty
ExecutionList
. - executor() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
-
Returns the
Executor
that will be used to run this service. - executor() - Method in class com.google.common.util.concurrent.AbstractIdleService
-
Returns the
Executor
that will be used to run this service. - executor() - Method in class com.google.common.util.concurrent.AbstractScheduledService
-
Returns the
ScheduledExecutorService
that will be used to execute theAbstractScheduledService.startUp()
,AbstractScheduledService.runOneIteration()
andAbstractScheduledService.shutDown()
methods. - exhaust(InputStream) - Static method in class com.google.common.io.ByteStreams
-
Reads and discards data from the given
InputStream
until the end of the stream is reached. - exhaust(Readable) - Static method in class com.google.common.io.CharStreams
-
Reads and discards data from the given
Readable
until the end of the stream is reached. - EXPECT - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Expect
header field name. - expectAdded(int, E...) - Method in class com.google.common.collect.testing.AbstractContainerTester
- expectAdded(int, Collection<E>) - Method in class com.google.common.collect.testing.AbstractContainerTester
- expectAdded(E...) - Method in class com.google.common.collect.testing.AbstractContainerTester
-
Asserts that the collection under test contains exactly the elements it was initialized with plus the given elements, according to
AbstractContainerTester.expectContents(java.util.Collection)
. - expectContents(E...) - Method in class com.google.common.collect.testing.AbstractContainerTester
- expectContents(Collection<E>) - Method in class com.google.common.collect.testing.AbstractContainerTester
-
Asserts that the collection under test contains exactly the given elements, respecting cardinality but not order.
- expectContents(Collection<E>) - Method in class com.google.common.collect.testing.testers.AbstractListTester
-
Asserts that the collection under test contains exactly the given elements, respecting cardinality but not order.
- expectContents(Collection<Map.Entry<K, V>>) - Method in class com.google.common.collect.testing.AbstractMapTester
- expectContents(Collection<Map.Entry<K, V>>) - Method in class com.google.common.collect.testing.google.AbstractBiMapTester
- expectedEdgeCount(int) - Method in class com.google.common.graph.NetworkBuilder
-
Specifies the expected number of edges in the network.
- expectedFpp() - Method in class com.google.common.hash.BloomFilter
-
Returns the probability that BloomFilter.mightContain(Object) will erroneously return
true
for an object that has not actually been put in theBloomFilter
. - expectedNodeCount(int) - Method in class com.google.common.graph.GraphBuilder
-
Specifies the expected number of nodes in the graph.
- expectedNodeCount(int) - Method in class com.google.common.graph.NetworkBuilder
-
Specifies the expected number of nodes in the network.
- expectedNodeCount(int) - Method in class com.google.common.graph.ValueGraphBuilder
-
Specifies the expected number of nodes in the graph.
- expectedSize(int) - Method in class com.google.common.collect.MinMaxPriorityQueue.Builder
-
Configures this builder to build min-max priority queues with an initial expected size of
expectedSize
. - expectedSize(int) - Static method in class com.google.common.collect.MinMaxPriorityQueue
-
Creates and returns a new builder, configured to build
MinMaxPriorityQueue
instances sized appropriately to holdexpectedSize
elements. - expectMissing(E...) - Method in class com.google.common.collect.testing.AbstractContainerTester
- expectMissing(Map.Entry<K, V>...) - Method in class com.google.common.collect.testing.AbstractMapTester
- expectMissing(Map.Entry<K, V>...) - Method in class com.google.common.collect.testing.google.AbstractBiMapTester
- expectMissingKeys(K...) - Method in class com.google.common.collect.testing.AbstractMapTester
- expectMissingValues(V...) - Method in class com.google.common.collect.testing.AbstractMapTester
- expectNullKeyMissingWhenNullKeysUnsupported(String) - Method in class com.google.common.collect.testing.AbstractMapTester
-
Equivalent to
expectMissingKeys
(null)
except that the call tocontains(null)
is permitted to throw aNullPointerException
. - expectNullMissingWhenNullUnsupported(String) - Method in class com.google.common.collect.testing.AbstractCollectionTester
-
Equivalent to
expectMissing
(null)
except that the call tocontains(null)
is permitted to throw aNullPointerException
. - expectNullValueMissingWhenNullValuesUnsupported(String) - Method in class com.google.common.collect.testing.AbstractMapTester
-
Equivalent to
expectMissingValues
(null)
except that the call tocontains(null)
is permitted to throw aNullPointerException
. - expectReplacement(Map.Entry<K, V>) - Method in class com.google.common.collect.testing.AbstractMapTester
- expectUnchanged() - Method in class com.google.common.collect.testing.AbstractContainerTester
- expireAfterAccess(long, TimeUnit) - Method in class com.google.common.cache.CacheBuilder
-
Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, the most recent replacement of its value, or its last access.
- expireAfterWrite(long, TimeUnit) - Method in class com.google.common.cache.CacheBuilder
-
Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.
- EXPIRED - com.google.common.cache.RemovalCause
-
The entry's expiration timestamp has passed.
- EXPIRES - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Expires
header field name. - explicit(List<T>) - Static method in class com.google.common.collect.Ordering
-
Returns an ordering that compares objects according to the order in which they appear in the given list.
- explicit(T, T...) - Static method in class com.google.common.collect.Ordering
-
Returns an ordering that compares objects according to the order in which they are given to this method.
- EXPLICIT - com.google.common.cache.RemovalCause
-
The entry was manually removed by the user.
F
- F - com.google.common.collect.testing.AnEnum
- factorial(int) - Static method in class com.google.common.math.BigIntegerMath
-
Returns
n!
, that is, the product of the firstn
positive integers, or1
ifn == 0
. - factorial(int) - Static method in class com.google.common.math.DoubleMath
-
Returns
n!
, that is, the product of the firstn
positive integers,1
ifn == 0
, orn!
, orDouble.POSITIVE_INFINITY
ifn! > Double.MAX_VALUE
. - factorial(int) - Static method in class com.google.common.math.IntMath
-
Returns
n!
, that is, the product of the firstn
positive integers,1
ifn == 0
, orInteger.MAX_VALUE
if the result does not fit in aint
. - factorial(int) - Static method in class com.google.common.math.LongMath
-
Returns
n!
, that is, the product of the firstn
positive integers,1
ifn == 0
, orLong.MAX_VALUE
if the result does not fit in along
. - failed(Service.State, Throwable) - Method in class com.google.common.util.concurrent.Service.Listener
-
Called when the service transitions to the FAILED state.
- FAILED - com.google.common.util.concurrent.Service.State
-
A service in this state has encountered a problem and may not be operational.
- FAILS_FAST_ON_CONCURRENT_MODIFICATION - com.google.common.collect.testing.features.CollectionFeature
- FAILS_FAST_ON_CONCURRENT_MODIFICATION - com.google.common.collect.testing.features.MapFeature
- failure(Service) - Method in class com.google.common.util.concurrent.ServiceManager.Listener
-
Called when a component service has failed.
- failureCause() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
- failureCause() - Method in class com.google.common.util.concurrent.AbstractIdleService
- failureCause() - Method in class com.google.common.util.concurrent.AbstractScheduledService
- failureCause() - Method in class com.google.common.util.concurrent.AbstractService
- failureCause() - Method in interface com.google.common.util.concurrent.Service
-
Returns the
Throwable
that caused this service to fail. - FakeTicker - Class in com.google.common.testing
-
A Ticker whose value can be advanced programmatically in test.
- FakeTicker() - Constructor for class com.google.common.testing.FakeTicker
- FakeTimeLimiter - Class in com.google.common.util.concurrent
-
A TimeLimiter implementation which actually does not attempt to limit time at all.
- FakeTimeLimiter() - Constructor for class com.google.common.util.concurrent.FakeTimeLimiter
- farmHashFingerprint64() - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing FarmHash's Fingerprint64, an open-source algorithm.
- Feature<T> - Interface in com.google.common.collect.testing.features
-
Base class for enumerating the features of an interface to be tested.
- FeatureSpecificTestSuiteBuilder<B extends FeatureSpecificTestSuiteBuilder<B,G>,G> - Class in com.google.common.collect.testing
-
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.
- FeatureSpecificTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- FeatureUtil - Class in com.google.common.collect.testing.features
-
Utilities for collecting and validating tester requirements from annotations.
- FeatureUtil() - Constructor for class com.google.common.collect.testing.features.FeatureUtil
- FF - Static variable in class com.google.common.base.Ascii
-
Form Feed ('\f'): A format effector which controls the movement of the printing position to the first pre-determined printing line on the next form or page.
- FILE_SEPARATOR - com.google.common.base.StandardSystemProperty
-
File separator ("/" on UNIX).
- FileBackedOutputStream - Class in com.google.common.io
-
An
OutputStream
that starts buffering to a byte array, but switches to file buffering once the data reaches a configurable size. - FileBackedOutputStream(int) - Constructor for class com.google.common.io.FileBackedOutputStream
-
Creates a new instance that uses the given file threshold, and does not reset the data when the
ByteSource
returned byFileBackedOutputStream.asByteSource()
is finalized. - FileBackedOutputStream(int, boolean) - Constructor for class com.google.common.io.FileBackedOutputStream
-
Creates a new instance that uses the given file threshold, and optionally resets the data when the
ByteSource
returned byFileBackedOutputStream.asByteSource()
is finalized. - Files - Class in com.google.common.io
-
Provides utility methods for working with files.
- fileTreeTraverser() - Static method in class com.google.common.io.Files
-
Returns a
TreeTraverser
instance forFile
trees. - FileWriteMode - Enum in com.google.common.io
-
Modes for opening a file for writing.
- filter(Predicate<? super E>) - Method in class com.google.common.collect.FluentIterable
-
Returns the elements from this fluent iterable that satisfy a predicate.
- filter(Multiset<E>, Predicate<? super E>) - Static method in class com.google.common.collect.Multisets
-
Returns a view of the elements of
unfiltered
that satisfy a predicate. - filter(Class<T>) - Method in class com.google.common.collect.FluentIterable
-
Returns the elements from this fluent iterable that are instances of class
type
. - filter(Iterable<?>, Class<T>) - Static method in class com.google.common.collect.Iterables
-
Returns a view of
unfiltered
containing all elements that are of the typedesiredType
. - filter(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
-
Returns a view of
unfiltered
containing all elements that satisfy the input predicateretainIfTrue
. - filter(Collection<E>, Predicate<? super E>) - Static method in class com.google.common.collect.Collections2
-
Returns the elements of
unfiltered
that satisfy a predicate. - filter(Iterator<?>, Class<T>) - Static method in class com.google.common.collect.Iterators
-
Returns a view of
unfiltered
containing all elements that are of the typedesiredType
. - filter(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
-
Returns a view of
unfiltered
containing all elements that satisfy the input predicateretainIfTrue
. - filter(NavigableSet<E>, Predicate<? super E>) - Static method in class com.google.common.collect.Sets
-
Returns the elements of a
NavigableSet
,unfiltered
, that satisfy a predicate. - filter(Set<E>, Predicate<? super E>) - Static method in class com.google.common.collect.Sets
-
Returns the elements of
unfiltered
that satisfy a predicate. - filter(SortedSet<E>, Predicate<? super E>) - Static method in class com.google.common.collect.Sets
-
Returns the elements of a
SortedSet
,unfiltered
, that satisfy a predicate. - filterEntries(BiMap<K, V>, Predicate<? super Map.Entry<K, V>>) - Static method in class com.google.common.collect.Maps
-
Returns a bimap containing the mappings in
unfiltered
that satisfy a predicate. - filterEntries(Multimap<K, V>, Predicate<? super Map.Entry<K, V>>) - Static method in class com.google.common.collect.Multimaps
-
Returns a multimap containing the mappings in
unfiltered
that satisfy a predicate. - filterEntries(SetMultimap<K, V>, Predicate<? super Map.Entry<K, V>>) - Static method in class com.google.common.collect.Multimaps
-
Returns a multimap containing the mappings in
unfiltered
that satisfy a predicate. - filterEntries(Map<K, V>, Predicate<? super Map.Entry<K, V>>) - Static method in class com.google.common.collect.Maps
-
Returns a map containing the mappings in
unfiltered
that satisfy a predicate. - filterEntries(NavigableMap<K, V>, Predicate<? super Map.Entry<K, V>>) - Static method in class com.google.common.collect.Maps
-
Returns a sorted map containing the mappings in
unfiltered
that satisfy a predicate. - filterEntries(SortedMap<K, V>, Predicate<? super Map.Entry<K, V>>) - Static method in class com.google.common.collect.Maps
-
Returns a sorted map containing the mappings in
unfiltered
that satisfy a predicate. - filterKeys(BiMap<K, V>, Predicate<? super K>) - Static method in class com.google.common.collect.Maps
-
Returns a bimap containing the mappings in
unfiltered
whose keys satisfy a predicate. - filterKeys(ListMultimap<K, V>, Predicate<? super K>) - Static method in class com.google.common.collect.Multimaps
-
Returns a multimap containing the mappings in
unfiltered
whose keys satisfy a predicate. - filterKeys(Multimap<K, V>, Predicate<? super K>) - Static method in class com.google.common.collect.Multimaps
-
Returns a multimap containing the mappings in
unfiltered
whose keys satisfy a predicate. - filterKeys(SetMultimap<K, V>, Predicate<? super K>) - Static method in class com.google.common.collect.Multimaps
-
Returns a multimap containing the mappings in
unfiltered
whose keys satisfy a predicate. - filterKeys(Map<K, V>, Predicate<? super K>) - Static method in class com.google.common.collect.Maps
-
Returns a map containing the mappings in
unfiltered
whose keys satisfy a predicate. - filterKeys(NavigableMap<K, V>, Predicate<? super K>) - Static method in class com.google.common.collect.Maps
-
Returns a navigable map containing the mappings in
unfiltered
whose keys satisfy a predicate. - filterKeys(SortedMap<K, V>, Predicate<? super K>) - Static method in class com.google.common.collect.Maps
-
Returns a sorted map containing the mappings in
unfiltered
whose keys satisfy a predicate. - filterValues(BiMap<K, V>, Predicate<? super V>) - Static method in class com.google.common.collect.Maps
-
Returns a bimap containing the mappings in
unfiltered
whose values satisfy a predicate. - filterValues(Multimap<K, V>, Predicate<? super V>) - Static method in class com.google.common.collect.Multimaps
-
Returns a multimap containing the mappings in
unfiltered
whose values satisfy a predicate. - filterValues(SetMultimap<K, V>, Predicate<? super V>) - Static method in class com.google.common.collect.Multimaps
-
Returns a multimap containing the mappings in
unfiltered
whose values satisfy a predicate. - filterValues(Map<K, V>, Predicate<? super V>) - Static method in class com.google.common.collect.Maps
-
Returns a map containing the mappings in
unfiltered
whose values satisfy a predicate. - filterValues(NavigableMap<K, V>, Predicate<? super V>) - Static method in class com.google.common.collect.Maps
-
Returns a navigable map containing the mappings in
unfiltered
whose values satisfy a predicate. - filterValues(SortedMap<K, V>, Predicate<? super V>) - Static method in class com.google.common.collect.Maps
-
Returns a sorted map containing the mappings in
unfiltered
whose values satisfy a predicate. - FinalizablePhantomReference<T> - Class in com.google.common.base
-
Phantom reference with a
finalizeReferent()
method which a background thread invokes after the garbage collector reclaims the referent. - FinalizablePhantomReference(T, FinalizableReferenceQueue) - Constructor for class com.google.common.base.FinalizablePhantomReference
-
Constructs a new finalizable phantom reference.
- FinalizableReference - Interface in com.google.common.base
-
Implemented by references that have code to run after garbage collection of their referents.
- FinalizableReferenceQueue - Class in com.google.common.base
-
A reference queue with an associated background thread that dequeues references and invokes
FinalizableReference.finalizeReferent()
on them. - FinalizableReferenceQueue() - Constructor for class com.google.common.base.FinalizableReferenceQueue
-
Constructs a new queue.
- FinalizableSoftReference<T> - Class in com.google.common.base
-
Soft reference with a
finalizeReferent()
method which a background thread invokes after the garbage collector reclaims the referent. - FinalizableSoftReference(T, FinalizableReferenceQueue) - Constructor for class com.google.common.base.FinalizableSoftReference
-
Constructs a new finalizable soft reference.
- FinalizableWeakReference<T> - Class in com.google.common.base
-
Weak reference with a
finalizeReferent()
method which a background thread invokes after the garbage collector reclaims the referent. - FinalizableWeakReference(T, FinalizableReferenceQueue) - Constructor for class com.google.common.base.FinalizableWeakReference
-
Constructs a new finalizable weak reference.
- Finalizer - Class in com.google.common.base.internal
-
Thread that finalizes referents.
- finalizeReferent() - Method in interface com.google.common.base.FinalizableReference
-
Invoked on a background thread after the referent has been garbage collected unless security restrictions prevented starting a background thread, in which case this method is invoked when new references are created.
- find(Iterable<? extends T>, Predicate<? super T>, T) - Static method in class com.google.common.collect.Iterables
-
Returns the first element in
iterable
that satisfies the given predicate, ordefaultValue
if none found. - find(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
-
Returns the first element in
iterable
that satisfies the given predicate; use this method only when such an element is known to exist. - find(Object) - Method in class com.google.common.collect.testing.testers.AbstractListIndexOfTester
-
Override to call
indexOf()
orlastIndexOf()
. - find(Object) - Method in class com.google.common.collect.testing.testers.ListIndexOfTester
- find(Object) - Method in class com.google.common.collect.testing.testers.ListLastIndexOfTester
- find(Iterator<? extends T>, Predicate<? super T>, T) - Static method in class com.google.common.collect.Iterators
-
Returns the first element in
iterator
that satisfies the given predicate. - find(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
-
Returns the first element in
iterator
that satisfies the given predicate; use this method only when such an element is known to exist. - first() - Method in class com.google.common.collect.FluentIterable
-
Returns an
Optional
containing the first element in this fluent iterable. - first() - Method in class com.google.common.collect.ForwardingSortedSet
- first() - Method in class com.google.common.collect.ImmutableSortedSet
- first() - Method in class com.google.common.collect.testing.SafeTreeSet
- firstEntry() - Method in class com.google.common.collect.ForwardingNavigableMap
- firstEntry() - Method in class com.google.common.collect.ForwardingSortedMultiset
- firstEntry() - Method in class com.google.common.collect.ImmutableSortedMap
- firstEntry() - Method in interface com.google.common.collect.SortedMultiset
-
Returns the entry of the first element in this multiset, or
null
if this multiset is empty. - firstEntry() - Method in class com.google.common.collect.testing.SafeTreeMap
- firstKey() - Method in class com.google.common.collect.ForwardingSortedMap
- firstKey() - Method in class com.google.common.collect.ImmutableSortedMap
- firstKey() - Method in class com.google.common.collect.testing.SafeTreeMap
- firstMatch(Predicate<? super E>) - Method in class com.google.common.collect.FluentIterable
-
Returns an
Optional
containing the first element in this fluent iterable that satisfies the given predicate, if such an element exists. - firstNonNull(T, T) - Static method in class com.google.common.base.MoreObjects
-
Returns the first of two given parameters that is not
null
, if either is, or otherwise throws aNullPointerException
. - firstNonNull(T, T) - Static method in class com.google.common.base.Objects
-
Deprecated.Use
MoreObjects.firstNonNull(T, T)
instead. This method is scheduled for removal in Guava 21.0. - fixedLength(int) - Static method in class com.google.common.base.Splitter
-
Returns a splitter that divides strings into pieces of the given length.
- Floats - Class in com.google.common.primitives
-
Static utility methods pertaining to
float
primitives, that are not already found in eitherFloat
orArrays
. - floatValue() - Method in class com.google.common.primitives.UnsignedInteger
-
Returns the value of this
UnsignedInteger
as afloat
, analogous to a widening primitive conversion fromint
tofloat
, and correctly rounded. - floatValue() - Method in class com.google.common.primitives.UnsignedLong
-
Returns the value of this
UnsignedLong
as afloat
, analogous to a widening primitive conversion fromlong
tofloat
, and correctly rounded. - floatValue() - Method in class com.google.common.util.concurrent.AtomicDouble
-
Returns the value of this
AtomicDouble
as afloat
after a narrowing primitive conversion. - floor(E) - Method in class com.google.common.collect.ForwardingNavigableSet
- floor(E) - Method in class com.google.common.collect.ImmutableSortedSet
- floor(E) - Method in class com.google.common.collect.testing.SafeTreeSet
- floorEntry(K) - Method in class com.google.common.collect.ForwardingNavigableMap
- floorEntry(K) - Method in class com.google.common.collect.ImmutableSortedMap
- floorEntry(K) - Method in class com.google.common.collect.testing.SafeTreeMap
- floorKey(K) - Method in class com.google.common.collect.ForwardingNavigableMap
- floorKey(K) - Method in class com.google.common.collect.ImmutableSortedMap
- floorKey(K) - Method in class com.google.common.collect.testing.SafeTreeMap
- floorPowerOfTwo(int) - Static method in class com.google.common.math.IntMath
-
Returns the largest power of two less than or equal to
x
. - floorPowerOfTwo(long) - Static method in class com.google.common.math.LongMath
-
Returns the largest power of two less than or equal to
x
. - floorPowerOfTwo(BigInteger) - Static method in class com.google.common.math.BigIntegerMath
-
Returns the largest power of two less than or equal to
x
. - FluentIterable<E> - Class in com.google.common.collect
-
An expanded
Iterable
API, providing functionality similar to Java 8's powerful streams library in a slightly different way. - FluentIterable() - Constructor for class com.google.common.collect.FluentIterable
-
Constructor for use by subclasses.
- flush() - Method in class com.google.common.io.FileBackedOutputStream
- flush() - Method in class com.google.common.testing.TestLogHandler
- flush(Flushable, boolean) - Static method in class com.google.common.io.Flushables
-
Flush a
Flushable
, with control over whether anIOException
may be thrown. - Flushables - Class in com.google.common.io
-
Utility methods for working with
Flushable
objects. - flushQuietly(Flushable) - Static method in class com.google.common.io.Flushables
-
Equivalent to calling
flush(flushable, true)
, but with noIOException
in the signature. - FLV_VIDEO - Static variable in class com.google.common.net.MediaType
-
Media type for Flash video.
- FOLLOW_ONLY_WHEN_PRERENDER_SHOWN - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Follow-Only-When-Prerender-Shown
header field name. - forAllPublicStaticMethods(Class<?>) - Method in class com.google.common.testing.ClassSanityTester
-
Returns an object responsible for performing sanity tests against the return values of all public static methods declared by
cls
, excluding superclasses. - forArray(T...) - Static method in class com.google.common.collect.Iterators
-
Returns an iterator containing the elements of
array
in order. - forcePut(K, V) - Method in interface com.google.common.collect.BiMap
-
An alternate form of
put
that silently removes any existing entry with the valuevalue
before proceeding with theBiMap.put(K, V)
operation. - forcePut(K, V) - Method in class com.google.common.collect.EnumHashBiMap
- forcePut(K, V) - Method in class com.google.common.collect.HashBiMap
- forcePut(K, V) - Method in class com.google.common.collect.ImmutableBiMap
-
Deprecated.Unsupported operation.
- forEnumeration(Enumeration<T>) - Static method in class com.google.common.collect.Iterators
-
Adapts an
Enumeration
to theIterator
interface. - FORM_DATA - Static variable in class com.google.common.net.MediaType
- forMap(Map<K, ? extends V>, V) - Static method in class com.google.common.base.Functions
-
Returns a function which performs a map lookup with a default value.
- forMap(Map<K, V>) - Static method in class com.google.common.base.Functions
-
Returns a function which performs a map lookup.
- forMap(Map<K, V>) - Static method in class com.google.common.collect.Multimaps
-
Returns a multimap view of the specified map.
- formatFeatureSet(Set<? extends Feature<?>>) - Static method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- forNaN() - Static method in class com.google.common.math.LinearTransformation
-
Builds an instance for datasets which contains
Double.NaN
. - forPredicate(Predicate<? super Character>) - Static method in class com.google.common.base.CharMatcher
-
Returns a matcher with identical behavior to the given
Character
-based predicate, but which operates on primitivechar
instances instead. - forPredicate(Predicate<T>) - Static method in class com.google.common.base.Functions
-
Creates a function that returns the same boolean output as the given predicate for all inputs.
- forString(String) - Static method in class com.google.common.net.InetAddresses
-
Returns the
InetAddress
having the given string representation. - forSupplier(Supplier<T>) - Static method in class com.google.common.base.Functions
-
Returns a function that ignores its input and returns the result of
supplier.get()
. - forUriString(String) - Static method in class com.google.common.net.InetAddresses
-
Returns an InetAddress representing the literal IPv4 or IPv6 host portion of a URL, encoded in the format specified by RFC 3986 section 3.2.2.
- FORWARDED - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Forwarded
header field name. - ForwardingBlockingDeque<E> - Class in com.google.common.collect
-
A
BlockingDeque
which forwards all its method calls to anotherBlockingDeque
. - ForwardingBlockingDeque() - Constructor for class com.google.common.collect.ForwardingBlockingDeque
-
Constructor for use by subclasses.
- ForwardingBlockingQueue<E> - Class in com.google.common.util.concurrent
-
A
BlockingQueue
which forwards all its method calls to anotherBlockingQueue
. - ForwardingBlockingQueue() - Constructor for class com.google.common.util.concurrent.ForwardingBlockingQueue
-
Constructor for use by subclasses.
- ForwardingCache<K,V> - Class in com.google.common.cache
-
A cache which forwards all its method calls to another cache.
- ForwardingCache() - Constructor for class com.google.common.cache.ForwardingCache
-
Constructor for use by subclasses.
- ForwardingCache.SimpleForwardingCache<K,V> - Class in com.google.common.cache
-
A simplified version of
ForwardingCache
where subclasses can pass in an already constructedCache
as the delegate. - ForwardingCheckedFuture<V,X extends java.lang.Exception> - Class in com.google.common.util.concurrent
-
A future which forwards all its method calls to another future.
- ForwardingCheckedFuture() - Constructor for class com.google.common.util.concurrent.ForwardingCheckedFuture
- ForwardingCheckedFuture.SimpleForwardingCheckedFuture<V,X extends java.lang.Exception> - Class in com.google.common.util.concurrent
-
A simplified version of
ForwardingCheckedFuture
where subclasses can pass in an already constructedCheckedFuture
as the delegate. - ForwardingCollection<E> - Class in com.google.common.collect
-
A collection which forwards all its method calls to another collection.
- ForwardingCollection() - Constructor for class com.google.common.collect.ForwardingCollection
-
Constructor for use by subclasses.
- ForwardingConcurrentMap<K,V> - Class in com.google.common.collect
-
A concurrent map which forwards all its method calls to another concurrent map.
- ForwardingConcurrentMap() - Constructor for class com.google.common.collect.ForwardingConcurrentMap
-
Constructor for use by subclasses.
- ForwardingDeque<E> - Class in com.google.common.collect
-
A deque which forwards all its method calls to another deque.
- ForwardingDeque() - Constructor for class com.google.common.collect.ForwardingDeque
-
Constructor for use by subclasses.
- ForwardingExecutorService - Class in com.google.common.util.concurrent
-
An executor service which forwards all its method calls to another executor service.
- ForwardingExecutorService() - Constructor for class com.google.common.util.concurrent.ForwardingExecutorService
-
Constructor for use by subclasses.
- ForwardingFuture<V> - Class in com.google.common.util.concurrent
-
A
Future
which forwards all its method calls to another future. - ForwardingFuture() - Constructor for class com.google.common.util.concurrent.ForwardingFuture
-
Constructor for use by subclasses.
- ForwardingFuture.SimpleForwardingFuture<V> - Class in com.google.common.util.concurrent
-
A simplified version of
ForwardingFuture
where subclasses can pass in an already constructedFuture
as the delegate. - ForwardingIterator<T> - Class in com.google.common.collect
-
An iterator which forwards all its method calls to another iterator.
- ForwardingIterator() - Constructor for class com.google.common.collect.ForwardingIterator
-
Constructor for use by subclasses.
- ForwardingList<E> - Class in com.google.common.collect
-
A list which forwards all its method calls to another list.
- ForwardingList() - Constructor for class com.google.common.collect.ForwardingList
-
Constructor for use by subclasses.
- ForwardingListenableFuture<V> - Class in com.google.common.util.concurrent
-
A
ListenableFuture
which forwards all its method calls to another future. - ForwardingListenableFuture() - Constructor for class com.google.common.util.concurrent.ForwardingListenableFuture
-
Constructor for use by subclasses.
- ForwardingListenableFuture.SimpleForwardingListenableFuture<V> - Class in com.google.common.util.concurrent
-
A simplified version of
ForwardingListenableFuture
where subclasses can pass in an already constructedListenableFuture
as the delegate. - ForwardingListeningExecutorService - Class in com.google.common.util.concurrent
-
A listening executor service which forwards all its method calls to another listening executor service.
- ForwardingListeningExecutorService() - Constructor for class com.google.common.util.concurrent.ForwardingListeningExecutorService
-
Constructor for use by subclasses.
- ForwardingListIterator<E> - Class in com.google.common.collect
-
A list iterator which forwards all its method calls to another list iterator.
- ForwardingListIterator() - Constructor for class com.google.common.collect.ForwardingListIterator
-
Constructor for use by subclasses.
- ForwardingListMultimap<K,V> - Class in com.google.common.collect
-
A list multimap which forwards all its method calls to another list multimap.
- ForwardingListMultimap() - Constructor for class com.google.common.collect.ForwardingListMultimap
-
Constructor for use by subclasses.
- ForwardingLoadingCache<K,V> - Class in com.google.common.cache
-
A cache which forwards all its method calls to another cache.
- ForwardingLoadingCache() - Constructor for class com.google.common.cache.ForwardingLoadingCache
-
Constructor for use by subclasses.
- ForwardingLoadingCache.SimpleForwardingLoadingCache<K,V> - Class in com.google.common.cache
-
A simplified version of
ForwardingLoadingCache
where subclasses can pass in an already constructedLoadingCache
as the delegate. - ForwardingMap<K,V> - Class in com.google.common.collect
-
A map which forwards all its method calls to another map.
- ForwardingMap() - Constructor for class com.google.common.collect.ForwardingMap
-
Constructor for use by subclasses.
- ForwardingMap.StandardEntrySet - Class in com.google.common.collect
-
A sensible implementation of
Map.entrySet()
in terms of the following methods:ForwardingMap.clear()
,ForwardingMap.containsKey(java.lang.Object)
,ForwardingMap.get(java.lang.Object)
,ForwardingMap.isEmpty()
,ForwardingMap.remove(java.lang.Object)
, andForwardingMap.size()
. - ForwardingMap.StandardKeySet - Class in com.google.common.collect
-
A sensible implementation of
Map.keySet()
in terms of the following methods:ForwardingMap.clear()
,ForwardingMap.containsKey(java.lang.Object)
,ForwardingMap.isEmpty()
,ForwardingMap.remove(java.lang.Object)
,ForwardingMap.size()
, and theSet.iterator()
method ofForwardingMap.entrySet()
. - ForwardingMap.StandardValues - Class in com.google.common.collect
-
A sensible implementation of
Map.values()
in terms of the following methods:ForwardingMap.clear()
,ForwardingMap.containsValue(java.lang.Object)
,ForwardingMap.isEmpty()
,ForwardingMap.size()
, and theSet.iterator()
method ofForwardingMap.entrySet()
. - ForwardingMapEntry<K,V> - Class in com.google.common.collect
-
A map entry which forwards all its method calls to another map entry.
- ForwardingMapEntry() - Constructor for class com.google.common.collect.ForwardingMapEntry
-
Constructor for use by subclasses.
- ForwardingMultimap<K,V> - Class in com.google.common.collect
-
A multimap which forwards all its method calls to another multimap.
- ForwardingMultimap() - Constructor for class com.google.common.collect.ForwardingMultimap
-
Constructor for use by subclasses.
- ForwardingMultiset<E> - Class in com.google.common.collect
-
A multiset which forwards all its method calls to another multiset.
- ForwardingMultiset() - Constructor for class com.google.common.collect.ForwardingMultiset
-
Constructor for use by subclasses.
- ForwardingMultiset.StandardElementSet - Class in com.google.common.collect
-
A sensible implementation of
Multiset.elementSet()
in terms of the following methods:ForwardingCollection.clear()
,ForwardingCollection.contains(java.lang.Object)
,ForwardingCollection.containsAll(java.util.Collection<?>)
,ForwardingMultiset.count(java.lang.Object)
,ForwardingCollection.isEmpty()
, theSet.size()
andSet.iterator()
methods ofForwardingMultiset.entrySet()
, andForwardingMultiset.remove(Object, int)
. - ForwardingNavigableMap<K,V> - Class in com.google.common.collect
-
A navigable map which forwards all its method calls to another navigable map.
- ForwardingNavigableMap() - Constructor for class com.google.common.collect.ForwardingNavigableMap
-
Constructor for use by subclasses.
- ForwardingNavigableMap.StandardDescendingMap - Class in com.google.common.collect
-
A sensible implementation of
NavigableMap.descendingMap()
in terms of the methods of thisNavigableMap
. - ForwardingNavigableMap.StandardNavigableKeySet - Class in com.google.common.collect
-
A sensible implementation of
NavigableMap.navigableKeySet()
in terms of the methods of thisNavigableMap
. - ForwardingNavigableSet<E> - Class in com.google.common.collect
-
A navigable set which forwards all its method calls to another navigable set.
- ForwardingNavigableSet() - Constructor for class com.google.common.collect.ForwardingNavigableSet
-
Constructor for use by subclasses.
- ForwardingNavigableSet.StandardDescendingSet - Class in com.google.common.collect
-
A sensible implementation of
NavigableSet.descendingSet()
in terms of the other methods ofNavigableSet
, notably includingNavigableSet.descendingIterator()
. - ForwardingObject - Class in com.google.common.collect
-
An abstract base class for implementing the decorator pattern.
- ForwardingObject() - Constructor for class com.google.common.collect.ForwardingObject
-
Constructor for use by subclasses.
- ForwardingQueue<E> - Class in com.google.common.collect
-
A queue which forwards all its method calls to another queue.
- ForwardingQueue() - Constructor for class com.google.common.collect.ForwardingQueue
-
Constructor for use by subclasses.
- ForwardingSet<E> - Class in com.google.common.collect
-
A set which forwards all its method calls to another set.
- ForwardingSet() - Constructor for class com.google.common.collect.ForwardingSet
-
Constructor for use by subclasses.
- ForwardingSetMultimap<K,V> - Class in com.google.common.collect
-
A set multimap which forwards all its method calls to another set multimap.
- ForwardingSetMultimap() - Constructor for class com.google.common.collect.ForwardingSetMultimap
- ForwardingSortedMap<K,V> - Class in com.google.common.collect
-
A sorted map which forwards all its method calls to another sorted map.
- ForwardingSortedMap() - Constructor for class com.google.common.collect.ForwardingSortedMap
-
Constructor for use by subclasses.
- ForwardingSortedMap.StandardKeySet - Class in com.google.common.collect
-
A sensible implementation of
SortedMap.keySet()
in terms of the methods ofForwardingSortedMap
. - ForwardingSortedMultiset<E> - Class in com.google.common.collect
-
A sorted multiset which forwards all its method calls to another sorted multiset.
- ForwardingSortedMultiset() - Constructor for class com.google.common.collect.ForwardingSortedMultiset
-
Constructor for use by subclasses.
- ForwardingSortedMultiset.StandardDescendingMultiset - Class in com.google.common.collect
-
A skeleton implementation of a descending multiset view.
- ForwardingSortedMultiset.StandardElementSet - Class in com.google.common.collect
-
A sensible implementation of
SortedMultiset.elementSet()
in terms of the following methods:Collection.clear()
,SortedMultiset.comparator()
,Multiset.contains(java.lang.Object)
,Multiset.containsAll(java.util.Collection<?>)
,Multiset.count(java.lang.Object)
,SortedMultiset.firstEntry()
SortedMultiset.headMultiset(E, com.google.common.collect.BoundType)
,Collection.isEmpty()
,SortedMultiset.lastEntry()
,SortedMultiset.subMultiset(E, com.google.common.collect.BoundType, E, com.google.common.collect.BoundType)
,SortedMultiset.tailMultiset(E, com.google.common.collect.BoundType)
, thesize()
anditerator()
methods ofSortedMultiset.entrySet()
, andMultiset.remove(Object, int)
. - ForwardingSortedSet<E> - Class in com.google.common.collect
-
A sorted set which forwards all its method calls to another sorted set.
- ForwardingSortedSet() - Constructor for class com.google.common.collect.ForwardingSortedSet
-
Constructor for use by subclasses.
- ForwardingSortedSetMultimap<K,V> - Class in com.google.common.collect
-
A sorted set multimap which forwards all its method calls to another sorted set multimap.
- ForwardingSortedSetMultimap() - Constructor for class com.google.common.collect.ForwardingSortedSetMultimap
-
Constructor for use by subclasses.
- ForwardingTable<R,C,V> - Class in com.google.common.collect
-
A table which forwards all its method calls to another table.
- ForwardingTable() - Constructor for class com.google.common.collect.ForwardingTable
-
Constructor for use by subclasses.
- ForwardingWrapperTester - Class in com.google.common.testing
-
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.
- ForwardingWrapperTester() - Constructor for class com.google.common.testing.ForwardingWrapperTester
- frequency(Iterable<?>, Object) - Static method in class com.google.common.collect.Iterables
-
Returns the number of elements in the specified iterable that equal the specified object.
- frequency(Iterator<?>, Object) - Static method in class com.google.common.collect.Iterators
-
Returns the number of elements in the specified iterator that equal the specified object.
- from(Function<? super A, ? extends B>, Function<? super B, ? extends A>) - Static method in class com.google.common.base.Converter
-
Returns a converter based on separate forward and backward functions.
- from(Function<K, V>) - Static method in class com.google.common.cache.CacheLoader
-
Returns a cache loader based on an existing function instance.
- from(Supplier<V>) - Static method in class com.google.common.cache.CacheLoader
-
Returns a cache loader based on an existing supplier instance.
- from(CacheBuilderSpec) - Static method in class com.google.common.cache.CacheBuilder
-
Constructs a new
CacheBuilder
instance with the settings specified inspec
. - from(FluentIterable<E>) - Static method in class com.google.common.collect.FluentIterable
-
Deprecated.instances of
FluentIterable
don't need to be converted toFluentIterable
- from(Ordering<T>) - Static method in class com.google.common.collect.Ordering
-
Deprecated.no need to use this
- from(Graph<N>) - Static method in class com.google.common.graph.GraphBuilder
-
Returns a
GraphBuilder
initialized with all properties queryable fromgraph
. - from(Graph<N>) - Static method in class com.google.common.graph.ValueGraphBuilder
-
Returns a
ValueGraphBuilder
initialized with all properties queryable fromgraph
. - from(Network<N, E>) - Static method in class com.google.common.graph.NetworkBuilder
-
Returns a
NetworkBuilder
initialized with all properties queryable fromnetwork
. - from(E[]) - Static method in class com.google.common.collect.FluentIterable
-
Returns a fluent iterable containing
elements
in the specified order. - from(ClassLoader) - Static method in class com.google.common.reflect.ClassPath
-
Returns a
ClassPath
representing all classes and resources loadable fromclassloader
and its parent class loaders. - from(Iterable<E>) - Static method in class com.google.common.collect.FluentIterable
-
Returns a fluent iterable that wraps
iterable
, oriterable
itself if it is already aFluentIterable
. - from(Constructor<T>) - Static method in class com.google.common.reflect.Invokable
-
Returns
Invokable
ofconstructor
. - from(Method) - Static method in class com.google.common.reflect.Invokable
-
Returns
Invokable
ofmethod
. - from(String) - Static method in class com.google.common.cache.CacheBuilder
-
Constructs a new
CacheBuilder
instance with the settings specified inspec
. - from(String) - Static method in class com.google.common.net.HostSpecifier
-
Attempts to return a
HostSpecifier
for the given string, throwing an exception if parsing fails. - from(String) - Static method in class com.google.common.net.InternetDomainName
-
Returns an instance of
InternetDomainName
after lenient validation. - from(Collection<? extends E>) - Static method in class com.google.common.collect.testing.MinimalSet
- from(Collection<E>) - Static method in class com.google.common.collect.testing.MinimalIterable
-
Returns an iterable whose iterator returns the given elements in order.
- from(Comparator<T>) - Static method in class com.google.common.collect.Ordering
-
Returns an ordering based on an existing comparator instance.
- FROM - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
From
header field name. - fromByteArray(byte[]) - Static method in class com.google.common.math.PairedStats
-
Creates a
PairedStats
instance from the given byte representation which was obtained byPairedStats.toByteArray()
. - fromByteArray(byte[]) - Static method in class com.google.common.math.Stats
-
Creates a Stats instance from the given byte representation which was obtained by
Stats.toByteArray()
. - fromByteArray(byte[]) - Static method in class com.google.common.primitives.Chars
-
Returns the
char
value whose big-endian representation is stored in the first 2 bytes ofbytes
; equivalent toByteBuffer.wrap(bytes).getChar()
. - fromByteArray(byte[]) - Static method in class com.google.common.primitives.Ints
-
Returns the
int
value whose big-endian representation is stored in the first 4 bytes ofbytes
; equivalent toByteBuffer.wrap(bytes).getInt()
. - fromByteArray(byte[]) - Static method in class com.google.common.primitives.Longs
-
Returns the
long
value whose big-endian representation is stored in the first 8 bytes ofbytes
; equivalent toByteBuffer.wrap(bytes).getLong()
. - fromByteArray(byte[]) - Static method in class com.google.common.primitives.Shorts
-
Returns the
short
value whose big-endian representation is stored in the first 2 bytes ofbytes
; equivalent toByteBuffer.wrap(bytes).getShort()
. - fromBytes(byte[]) - Static method in class com.google.common.hash.HashCode
-
Creates a
HashCode
from a byte array. - fromBytes(byte, byte) - Static method in class com.google.common.primitives.Chars
-
Returns the
char
value whose byte representation is the given 2 bytes, in big-endian order; equivalent toChars.fromByteArray(new byte[] {b1, b2})
. - fromBytes(byte, byte) - Static method in class com.google.common.primitives.Shorts
-
Returns the
short
value whose byte representation is the given 2 bytes, in big-endian order; equivalent toShorts.fromByteArray(new byte[] {b1, b2})
. - fromBytes(byte, byte, byte, byte) - Static method in class com.google.common.primitives.Ints
-
Returns the
int
value whose byte representation is the given 4 bytes, in big-endian order; equivalent toInts.fromByteArray(new byte[] {b1, b2, b3, b4})
. - fromBytes(byte, byte, byte, byte, byte, byte, byte, byte) - Static method in class com.google.common.primitives.Longs
-
Returns the
long
value whose byte representation is the given 8 bytes, in big-endian order; equivalent toLongs.fromByteArray(new byte[] {b1, b2, b3, b4, b5, b6, b7, b8})
. - fromHost(String) - Static method in class com.google.common.net.HostAndPort
-
Build a HostAndPort instance from a host only.
- fromInt(int) - Static method in class com.google.common.hash.HashCode
-
Creates a 32-bit
HashCode
representation of the given int value. - fromIntBits(int) - Static method in class com.google.common.primitives.UnsignedInteger
-
Returns an
UnsignedInteger
corresponding to a given bit representation. - fromInteger(int) - Static method in class com.google.common.net.InetAddresses
-
Returns an Inet4Address having the integer value specified by the argument.
- fromLittleEndianByteArray(byte[]) - Static method in class com.google.common.net.InetAddresses
-
Returns an address from a little-endian ordered byte array (the opposite of what
InetAddress.getByAddress(java.lang.String, byte[])
expects). - fromLong(long) - Static method in class com.google.common.hash.HashCode
-
Creates a 64-bit
HashCode
representation of the given long value. - fromLongBits(long) - Static method in class com.google.common.primitives.UnsignedLong
-
Returns an
UnsignedLong
corresponding to a given bit representation. - fromNullable(T) - Static method in class com.google.common.base.Optional
-
If
nullableReference
is non-null, returns anOptional
instance containing that reference; otherwise returnsOptional.absent()
. - fromParts(String, int) - Static method in class com.google.common.net.HostAndPort
-
Build a HostAndPort instance from separate host and port values.
- fromProperties(Properties) - Static method in class com.google.common.collect.Maps
-
Creates an
ImmutableMap<String, String>
from aProperties
instance. - fromString(String) - Static method in class com.google.common.hash.HashCode
-
Creates a
HashCode
from a hexadecimal (base 16
) encoded string. - fromString(String) - Static method in class com.google.common.net.HostAndPort
-
Split a freeform string into a host and port, without strict validation.
- fromValid(String) - Static method in class com.google.common.net.HostSpecifier
-
Returns a
HostSpecifier
built from the providedspecifier
, which is already known to be valid. - FS - Static variable in class com.google.common.base.Ascii
-
File Separator: These four information separators may be used within data in optional fashion, except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then RS, and US is least inclusive.
- Function<F,T> - Interface in com.google.common.base
-
Determines an output value based on an input value; a pre-Java-8 version of
java.util.function.Function
. - Functions - Class in com.google.common.base
-
Static utility methods pertaining to
com.google.common.base.Function
instances; see that class for information about migrating tojava.util.function
. - funnel(T, PrimitiveSink) - Method in interface com.google.common.hash.Funnel
-
Sends a stream of data from the
from
object into the sinkinto
. - Funnel<T> - Interface in com.google.common.hash
-
An object which can send data from an object of type
T
into aPrimitiveSink
. - Funnels - Class in com.google.common.hash
-
Funnels for common types.
- future - Variable in class com.google.common.util.concurrent.testing.AbstractListenableFutureTest
- FutureCallback<V> - Interface in com.google.common.util.concurrent
-
A callback for accepting the results of a
Future
computation asynchronously. - Futures - Class in com.google.common.util.concurrent
-
Static utility methods pertaining to the
Future
interface. - Futures.FutureCombiner<V> - Class in com.google.common.util.concurrent
-
A helper to create a new
ListenableFuture
whose result is generated from a combination of input futures. - fuzzyCompare(double, double, double) - Static method in class com.google.common.math.DoubleMath
-
Compares
a
andb
"fuzzily," with a tolerance for nearly-equal values. - fuzzyEquals(double, double, double) - Static method in class com.google.common.math.DoubleMath
-
Returns
true
ifa
andb
are withintolerance
of each other.
G
- gcd(int, int) - Static method in class com.google.common.math.IntMath
-
Returns the greatest common divisor of
a, b
. - gcd(long, long) - Static method in class com.google.common.math.LongMath
-
Returns the greatest common divisor of
a, b
. - GcFinalization - Class in com.google.common.testing
-
Testing utilities relating to garbage collection finalization.
- GcFinalization.FinalizationPredicate - Interface in com.google.common.testing
-
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 thefinalize
methods of unreachable objects clearing weak references to unreachable referents enqueuing weak references to unreachable referents in their reference queue - GENERAL_PURPOSE - com.google.common.collect.testing.features.CollectionFeature
-
Features supported by general-purpose collections - everything but
CollectionFeature.RESTRICTS_ELEMENTS
. - GENERAL_PURPOSE - com.google.common.collect.testing.features.ListFeature
- GENERAL_PURPOSE - com.google.common.collect.testing.features.MapFeature
- GENERAL_PURPOSE - com.google.common.collect.testing.features.SetFeature
- get() - Method in class com.google.common.base.Equivalence.Wrapper
-
Returns the (possibly null) reference wrapped by this instance.
- get() - Method in class com.google.common.base.Optional
-
Returns the contained instance, which must be present.
- get() - Method in interface com.google.common.base.Supplier
-
Retrieves an instance of the appropriate type.
- get() - Method in class com.google.common.collect.testing.DerivedTestIteratorGenerator
- get() - Method in interface com.google.common.collect.testing.TestIteratorGenerator
- get() - Method in class com.google.common.util.concurrent.AbstractFuture
- get() - Method in class com.google.common.util.concurrent.AtomicDouble
-
Gets the current value.
- get() - Method in class com.google.common.util.concurrent.ForwardingFuture
- get(int) - Method in class com.google.common.collect.FluentIterable
-
Returns the element at the specified position in this fluent iterable.
- get(int) - Method in class com.google.common.collect.ForwardingList
- get(int) - Method in class com.google.common.util.concurrent.AtomicDoubleArray
-
Gets the current value at position
i
. - get(long, TimeUnit) - Method in class com.google.common.util.concurrent.AbstractFuture
- get(long, TimeUnit) - Method in class com.google.common.util.concurrent.ForwardingFuture
- get(Class<T>) - Static method in class com.google.common.testing.ArbitraryInstances
-
Returns an arbitrary instance for
type
, ornull
if no arbitrary instance can be determined. - get(Iterable<? extends T>, int, T) - Static method in class com.google.common.collect.Iterables
-
Returns the element at the specified position in an iterable or a default value otherwise.
- get(Iterable<T>, int) - Static method in class com.google.common.collect.Iterables
-
Returns the element at the specified position in an iterable.
- get(Object) - Method in class com.google.common.collect.ForwardingMap
- get(Object) - Method in class com.google.common.collect.HashBiMap
- get(Object) - Method in class com.google.common.collect.ImmutableMap
- get(Object) - Method in class com.google.common.collect.ImmutableSortedMap
- get(Object) - Method in class com.google.common.collect.testing.SafeTreeMap
- get(Object) - Method in class com.google.common.util.concurrent.Striped
-
Returns the stripe that corresponds to the passed key.
- get(Object, Object) - Method in class com.google.common.collect.ArrayTable
- get(Object, Object) - Method in class com.google.common.collect.ForwardingTable
- get(Object, Object) - Method in class com.google.common.collect.HashBasedTable
- get(Object, Object) - Method in interface com.google.common.collect.Table
-
Returns the value corresponding to the given row and column keys, or
null
if no such mapping exists. - get(Iterator<? extends T>, int, T) - Static method in class com.google.common.collect.Iterators
-
Advances
iterator
position + 1
times, returning the element at theposition
th position ordefaultValue
otherwise. - get(Iterator<T>, int) - Static method in class com.google.common.collect.Iterators
-
Advances
iterator
position + 1
times, returning the element at theposition
th position. - get(K) - Method in class com.google.common.cache.ForwardingLoadingCache
- get(K) - Method in interface com.google.common.cache.LoadingCache
-
Returns the value associated with
key
in this cache, first loading that value if necessary. - get(K) - Method in class com.google.common.collect.ForwardingListMultimap
- get(K) - Method in class com.google.common.collect.ForwardingMultimap
- get(K) - Method in class com.google.common.collect.ForwardingSetMultimap
- get(K) - Method in class com.google.common.collect.ForwardingSortedSetMultimap
- get(K) - Method in class com.google.common.collect.ImmutableListMultimap
-
Returns an immutable list of the values for the given key.
- get(K) - Method in class com.google.common.collect.ImmutableMultimap
-
Returns an immutable collection of the values for the given key.
- get(K) - Method in class com.google.common.collect.ImmutableRangeMap
- get(K) - Method in class com.google.common.collect.ImmutableSetMultimap
-
Returns an immutable set of the values for the given key.
- get(K) - Method in class com.google.common.collect.LinkedListMultimap
-
Returns a view collection of the values associated with
key
in this multimap, if any. - get(K) - Method in interface com.google.common.collect.ListMultimap
-
Returns a view collection of the values associated with
key
in this multimap, if any. - get(K) - Method in interface com.google.common.collect.Multimap
-
Returns a view collection of the values associated with
key
in this multimap, if any. - get(K) - Method in interface com.google.common.collect.RangeMap
-
Returns the value associated with the specified key, or
null
if there is no such value. - get(K) - Method in interface com.google.common.collect.SetMultimap
-
Returns a view collection of the values associated with
key
in this multimap, if any. - get(K) - Method in interface com.google.common.collect.SortedSetMultimap
-
Returns a collection view of all values associated with a key.
- get(K) - Method in class com.google.common.collect.testing.AbstractMapTester
-
Wrapper for
Map.get(Object)
that forces the caller to pass in a key of the same type as the map. - get(K) - Method in class com.google.common.collect.TreeMultimap
- get(K) - Method in class com.google.common.collect.TreeRangeMap
- get(K) - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Returns the value associated with
key
, or zero if there is no value associated withkey
. - get(K, Callable<? extends V>) - Method in class com.google.common.cache.AbstractCache
- get(K, Callable<? extends V>) - Method in interface com.google.common.cache.Cache
-
Returns the value associated with
key
in this cache, obtaining that value fromloader
if necessary. - get(K, Callable<? extends V>) - Method in class com.google.common.cache.ForwardingCache
- get6to4IPv4Address(Inet6Address) - Static method in class com.google.common.net.InetAddresses
-
Returns the IPv4 address embedded in a 6to4 address.
- getAbsentFeatures() - Method in class com.google.common.collect.testing.features.TesterRequirements
- getAddAllNullUnsupportedMethod() - Static method in class com.google.common.collect.testing.testers.CollectionAddAllTester
-
Returns the
Method
instance forCollectionAddAllTester.testAddAll_nullUnsupported()
so that tests can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug 5045147 is fixed. - getAddAllUnsupportedNonePresentMethod() - Static method in class com.google.common.collect.testing.testers.CollectionAddAllTester
-
Returns the
Method
instance forCollectionAddAllTester.testAddAll_unsupportedNonePresent()
so that tests can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
while we figure out what to do withConcurrentHashMap
support forentrySet().add()
. - getAddAllUnsupportedSomePresentMethod() - Static method in class com.google.common.collect.testing.testers.CollectionAddAllTester
-
Returns the
Method
instance forCollectionAddAllTester.testAddAll_unsupportedSomePresent()
so that tests can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
while we figure out what to do withConcurrentHashMap
support forentrySet().add()
. - getAddNullSupportedMethod() - Static method in class com.google.common.collect.testing.testers.CollectionAddTester
-
Returns the
Method
instance forCollectionAddTester.testAdd_nullSupported()
so that tests ofCollections.checkedCollection(java.util.Collection, Class)
can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug 6409434 is fixed. - getAddNullSupportedMethod() - Static method in class com.google.common.collect.testing.testers.ListAddAtIndexTester
-
Returns the
Method
instance forListAddAtIndexTester.testAddAtIndex_nullSupported()
so that tests can suppress it. - getAddNullUnsupportedMethod() - Static method in class com.google.common.collect.testing.testers.CollectionAddTester
-
Returns the
Method
instance forCollectionAddTester.testAdd_nullSupported()
so that tests ofTreeSet
can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug 5045147 is fixed. - getAddSupportedNullPresentMethod() - Static method in class com.google.common.collect.testing.testers.ListAddTester
-
Returns the
Method
instance forListAddTester.testAdd_supportedNullPresent()
so that tests can suppress it. - getAddSupportedNullPresentMethod() - Static method in class com.google.common.collect.testing.testers.SetAddTester
-
Returns the
Method
instance forSetAddTester.testAdd_supportedNullPresent()
so that tests can suppress it. - getAddUnsupportedNotPresentMethod() - Static method in class com.google.common.collect.testing.testers.CollectionAddTester
-
Returns the
Method
instance forCollectionAddTester.testAdd_unsupportedNotPresent()
so that tests can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
while we figure out what to do withConcurrentHashMap
support forentrySet().add()
. - getAll(Iterable<? extends K>) - Method in class com.google.common.cache.AbstractLoadingCache
- getAll(Iterable<? extends K>) - Method in class com.google.common.cache.ForwardingLoadingCache
- getAll(Iterable<? extends K>) - Method in interface com.google.common.cache.LoadingCache
-
Returns a map of the values associated with
keys
, creating or retrieving those values if necessary. - getAllClasses() - Method in class com.google.common.reflect.ClassPath
-
Returns all classes loadable from the current class path.
- getAllPresent(Iterable<?>) - Method in class com.google.common.cache.AbstractCache
-
This implementation of
getAllPresent
lacks any insight into the internal cache data structure, and is thus forced to return the query keys instead of the cached keys. - getAllPresent(Iterable<?>) - Method in interface com.google.common.cache.Cache
-
Returns a map of the values associated with
keys
in this cache. - getAllPresent(Iterable<?>) - Method in class com.google.common.cache.ForwardingCache
- getAndAdd(double) - Method in class com.google.common.util.concurrent.AtomicDouble
-
Atomically adds the given value to the current value.
- getAndAdd(int, double) - Method in class com.google.common.util.concurrent.AtomicDoubleArray
-
Atomically adds the given value to the element at index
i
. - getAndAdd(K, long) - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Adds
delta
to the value currently associated withkey
, and returns the old value. - getAndDecrement(K) - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Decrements by one the value currently associated with
key
, and returns the old value. - getAndIncrement(K) - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Increments by one the value currently associated with
key
, and returns the old value. - getAndSet(double) - Method in class com.google.common.util.concurrent.AtomicDouble
-
Atomically sets to the given value and returns the old value.
- getAndSet(int, double) - Method in class com.google.common.util.concurrent.AtomicDoubleArray
-
Atomically sets the element at position
i
to the given value and returns the old value. - getAnnotation(Class<A>) - Method in class com.google.common.reflect.Parameter
- getAnnotations() - Method in class com.google.common.reflect.Parameter
- getAnnotationsByType(Class<A>) - Method in class com.google.common.reflect.Parameter
- getAt(int) - Method in class com.google.common.util.concurrent.Striped
-
Returns the stripe at the specified index.
- getCausalChain(Throwable) - Static method in class com.google.common.base.Throwables
-
Gets a
Throwable
cause chain as a list. - getCause() - Method in class com.google.common.cache.RemovalNotification
-
Returns the cause for which the entry was removed.
- getChecked(Future<V>, Class<X>) - Static method in class com.google.common.util.concurrent.Futures
-
Returns the result of
Future.get()
, converting most exceptions to a new instance of the given checked exception type. - getChecked(Future<V>, Class<X>, long, TimeUnit) - Static method in class com.google.common.util.concurrent.Futures
-
Returns the result of
Future.get(long, TimeUnit)
, converting most exceptions to a new instance of the given checked exception type. - getClient() - Method in class com.google.common.net.InetAddresses.TeredoInfo
- getCoercedIPv4Address(InetAddress) - Static method in class com.google.common.net.InetAddresses
-
Coerces an IPv6 address into an IPv4 address.
- getCollectionSize() - Method in class com.google.common.collect.testing.OneSizeGenerator
- getCollectionSize() - Method in interface com.google.common.collect.testing.OneSizeTestContainerGenerator
- getColumnKey() - Method in interface com.google.common.collect.Table.Cell
-
Returns the column key of this cell.
- getCompatIPv4Address(Inet6Address) - Static method in class com.google.common.net.InetAddresses
-
Returns the IPv4 address embedded in an IPv4 compatible address.
- getComponentType() - Method in class com.google.common.reflect.TypeToken
-
Returns the array component type if this type represents an array (
int[]
,T[]
,<? extends Map<String, Integer>[]>
etc.), or elsenull
is returned. - getConflictingStackTrace() - Method in exception com.google.common.util.concurrent.CycleDetectingLockFactory.PotentialDeadlockException
- getConflicts() - Method in exception com.google.common.collect.testing.features.ConflictingRequirementsException
- getContainsEntryWithIncomparableKeyMethod() - Static method in class com.google.common.collect.testing.testers.MapEntrySetTester
- getContainsEntryWithIncomparableValueMethod() - Static method in class com.google.common.collect.testing.testers.MapEntrySetTester
- getCount() - Method in interface com.google.common.collect.Multiset.Entry
-
Returns the count of the associated element in the underlying multiset.
- getCount() - Method in class com.google.common.io.CountingInputStream
-
Returns the number of bytes read.
- getCount() - Method in class com.google.common.io.CountingOutputStream
-
Returns the number of bytes written.
- getCountDuplicateInitializingMethods() - Static method in class com.google.common.collect.testing.google.MultisetCountTester
-
Returns
Method
instances for the read tests that assume multisets support duplicates so that the test ofMultisets.forSet()
can suppress them. - getCreateWithNullKeyUnsupportedMethod() - Static method in class com.google.common.collect.testing.testers.MapCreationTester
-
Returns the
Method
instance forMapCreationTester.testCreateWithNullKeyUnsupported()
so that tests can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug 5045147 is fixed. - getCreateWithNullUnsupportedMethod() - Static method in class com.google.common.collect.testing.testers.CollectionCreationTester
-
Returns the
Method
instance forCollectionCreationTester.testCreateWithNull_unsupported()
so that tests can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug 5045147 is fixed. - getDeclaredAnnotation(Class<A>) - Method in class com.google.common.reflect.Parameter
- getDeclaredAnnotations() - Method in class com.google.common.reflect.Parameter
- getDeclaredAnnotationsByType(Class<A>) - Method in class com.google.common.reflect.Parameter
- getDeclaringClass() - Method in class com.google.common.reflect.Invokable
- getDeclaringInvokable() - Method in class com.google.common.reflect.Parameter
-
Returns the
Invokable
that declares this parameter. - getDone(Future<V>) - Static method in class com.google.common.util.concurrent.Futures
-
Returns the result of the input
Future
, which must have already completed. - getElement() - Method in interface com.google.common.collect.Multiset.Entry
-
Returns the multiset element corresponding to this entry.
- getEmbeddedIPv4ClientAddress(Inet6Address) - Static method in class com.google.common.net.InetAddresses
-
Examines the Inet6Address to extract the embedded IPv4 client address if the InetAddress is an IPv6 address of one of the specified address types that contain an embedded IPv4 address.
- getEntry(K) - Method in class com.google.common.collect.ImmutableRangeMap
- getEntry(K) - Method in interface com.google.common.collect.RangeMap
-
Returns the range containing this key and its associated value, if such a range is present in the range map, or
null
otherwise. - getEntry(K) - Method in class com.google.common.collect.TreeRangeMap
- getEvent() - Method in class com.google.common.eventbus.DeadEvent
-
Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered subscriber.
- getEvent() - Method in class com.google.common.eventbus.SubscriberExceptionContext
- getEventBus() - Method in class com.google.common.eventbus.SubscriberExceptionContext
- getExceptionTypes() - Method in class com.google.common.reflect.Invokable
-
Returns all declared exception types of this
Invokable
. - getExitingExecutorService(ThreadPoolExecutor) - Static method in class com.google.common.util.concurrent.MoreExecutors
-
Converts the given ThreadPoolExecutor into an ExecutorService that exits when the application is complete.
- getExitingExecutorService(ThreadPoolExecutor, long, TimeUnit) - Static method in class com.google.common.util.concurrent.MoreExecutors
-
Converts the given ThreadPoolExecutor into an ExecutorService that exits when the application is complete.
- getExitingScheduledExecutorService(ScheduledThreadPoolExecutor) - Static method in class com.google.common.util.concurrent.MoreExecutors
-
Converts the given ScheduledThreadPoolExecutor into a ScheduledExecutorService that exits when the application is complete.
- getExitingScheduledExecutorService(ScheduledThreadPoolExecutor, long, TimeUnit) - Static method in class com.google.common.util.concurrent.MoreExecutors
-
Converts the given ScheduledThreadPoolExecutor into a ScheduledExecutorService that exits when the application is complete.
- getFeatures() - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- getField(Enum<?>) - Static method in class com.google.common.base.Enums
-
Returns the
Field
in whichenumValue
is defined. - getFileExtension(String) - Static method in class com.google.common.io.Files
-
Returns the file extension for the given file name, or the empty string if the file has no extension.
- getFirst() - Method in class com.google.common.collect.ForwardingDeque
- getFirst(Iterable<? extends T>, T) - Static method in class com.google.common.collect.Iterables
-
Returns the first element in
iterable
ordefaultValue
if the iterable is empty. - getFlags() - Method in class com.google.common.net.InetAddresses.TeredoInfo
- getFrom() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator
- getFrom() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator
- getHashCodeMethod() - Static method in class com.google.common.collect.testing.testers.ListHashCodeTester
-
Returns the
Method
instance forListHashCodeTester.testHashCode()
so that list tests on unhashable objects can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
. - getHashCodeMethods() - Static method in class com.google.common.collect.testing.testers.SetHashCodeTester
-
Returns the
Method
instances for the test methods in this class which callhashCode()
on the set values so that set tests on unhashable objects can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
. - getHoleMethods() - Static method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
-
Returns the
Method
instances for the test methods in this class that create a set with a "hole" in it so that set tests ofContiguousSet
can suppress them withFeatureSpecificTestSuiteBuilder.suppressing()
. - getHost() - Method in class com.google.common.net.HostAndPort
-
Returns the portion of this
HostAndPort
instance that should represent the hostname or IPv4/IPv6 literal. - getHostText() - Method in class com.google.common.net.HostAndPort
-
Deprecated.Use
HostAndPort.getHost()
instead. This method is scheduled for removal in Guava 22.0. - getIfPresent(Class<T>, String) - Static method in class com.google.common.base.Enums
-
Returns an optional enum constant for the given type, using
Enum.valueOf(java.lang.Class<T>, java.lang.String)
. - getIfPresent(Object) - Method in interface com.google.common.cache.Cache
-
Returns the value associated with
key
in this cache, ornull
if there is no cached value forkey
. - getIfPresent(Object) - Method in class com.google.common.cache.ForwardingCache
- getImpliedFeatures() - Method in enum com.google.common.collect.testing.features.CollectionFeature
- getImpliedFeatures() - Method in enum com.google.common.collect.testing.features.CollectionSize
- getImpliedFeatures() - Method in interface com.google.common.collect.testing.features.Feature
-
Returns the set of features that are implied by this feature.
- getImpliedFeatures() - Method in enum com.google.common.collect.testing.features.ListFeature
- getImpliedFeatures() - Method in enum com.google.common.collect.testing.features.MapFeature
- getImpliedFeatures() - Method in enum com.google.common.collect.testing.features.SetFeature
- getImpliedFeatures() - Method in enum com.google.common.collect.testing.google.MultimapFeature
- getImpliedFeatures() - Method in enum com.google.common.collect.testing.google.MultisetFeature
- getImpliedFeatures() - Method in enum com.google.common.collect.testing.google.MultisetTestSuiteBuilder.NoRecurse
- getInheritableThreadLocalsField() - Static method in class com.google.common.base.internal.Finalizer
- getInnerGenerator() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapEntrySetGenerator
- getInnerGenerator() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapKeySetGenerator
- getInnerGenerator() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapValueCollectionGenerator
- getInnerGenerator() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator
- getInnerGenerator() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator
- getInnerGenerator() - Method in interface com.google.common.collect.testing.DerivedGenerator
- getInnerGenerator() - Method in class com.google.common.collect.testing.DerivedTestIteratorGenerator
- getInnerGenerator() - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.BiMapValueSetGenerator
- getInnerGenerator() - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.InverseBiMapGenerator
- getInnerGenerator() - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.MapGenerator
- getInnerGenerator() - Method in class com.google.common.collect.testing.OneSizeGenerator
- getInnerGenerator() - Method in interface com.google.common.collect.testing.OneSizeTestContainerGenerator
- getInstance(TypeToken<T>) - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap
- getInstance(TypeToken<T>) - Method in class com.google.common.reflect.MutableTypeToInstanceMap
- getInstance(TypeToken<T>) - Method in interface com.google.common.reflect.TypeToInstanceMap
-
Returns the value the specified type is mapped to, or
null
if no entry for this type is present. - getInstance(Class<T>) - Method in interface com.google.common.collect.ClassToInstanceMap
-
Returns the value the specified class is mapped to, or
null
if no entry for this class is present. - getInstance(Class<T>) - Method in class com.google.common.collect.ImmutableClassToInstanceMap
- getInstance(Class<T>) - Method in class com.google.common.collect.MutableClassToInstanceMap
- getInstance(Class<T>) - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap
- getInstance(Class<T>) - Method in class com.google.common.reflect.MutableTypeToInstanceMap
- getInstance(Class<T>) - Method in interface com.google.common.reflect.TypeToInstanceMap
-
Returns the value the specified class is mapped to, or
null
if no entry for this class is present. - getInverseSameAfterSerializingMethods() - Static method in class com.google.common.collect.testing.google.BiMapInverseTester
-
Returns
Method
instances for the tests that assume that the inverse will be the same after serialization. - getIsatapIPv4Address(Inet6Address) - Static method in class com.google.common.net.InetAddresses
-
Returns the IPv4 address embedded in an ISATAP address.
- getIteratorDuplicateInitializingMethods() - Static method in class com.google.common.collect.testing.google.MultisetIteratorTester
-
Returns
Method
instances for the tests that assume multisets support duplicates so that the test ofMultisets.forSet()
can suppress them. - getKey() - Method in class com.google.common.collect.ForwardingMapEntry
- getKeyForNullValue() - Method in class com.google.common.collect.testing.AbstractMapTester
- getKeyForNullValue() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- getKeyNotInPopulatedMap() - Method in class com.google.common.collect.testing.MapInterfaceTest
-
Creates a new key that is not expected to be found in
MapInterfaceTest.makePopulatedMap()
. - getLast() - Method in class com.google.common.collect.ForwardingDeque
- getLast(Iterable<? extends T>, T) - Static method in class com.google.common.collect.Iterables
-
Returns the last element of
iterable
ordefaultValue
if the iterable is empty. - getLast(Iterable<T>) - Static method in class com.google.common.collect.Iterables
-
Returns the last element of
iterable
. - getLast(Iterator<? extends T>, T) - Static method in class com.google.common.collect.Iterators
-
Advances
iterator
to the end, returning the last element ordefaultValue
if the iterator is empty. - getLast(Iterator<T>) - Static method in class com.google.common.collect.Iterators
-
Advances
iterator
to the end, returning the last element. - getList() - Method in class com.google.common.collect.testing.testers.AbstractListTester
- getListIteratorFullyModifiableMethod() - Static method in class com.google.common.collect.testing.testers.ListListIteratorTester
-
Returns the
Method
instance forListListIteratorTester.testListIterator_fullyModifiable()
so that tests ofCopyOnWriteArraySet
can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug 6570575 is fixed. - getListIteratorUnmodifiableMethod() - Static method in class com.google.common.collect.testing.testers.ListListIteratorTester
-
Returns the
Method
instance forListListIteratorTester.testListIterator_unmodifiable()
so that it can be suppressed in GWT tests. - getMap() - Method in class com.google.common.collect.testing.AbstractMapTester
- getMap() - Method in class com.google.common.collect.testing.google.AbstractBiMapTester
- getMap() - Method in class com.google.common.collect.testing.testers.ConcurrentMapPutIfAbsentTester
- getMap() - Method in class com.google.common.collect.testing.testers.ConcurrentMapRemoveTester
- getMap() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester
- getMap() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceTester
- getMessage() - Method in exception com.google.common.collect.testing.features.ConflictingRequirementsException
- getMessage() - Method in exception com.google.common.util.concurrent.CycleDetectingLockFactory.PotentialDeadlockException
-
Appends the chain of messages from the
conflictingStackTrace
to the originalmessage
. - getMethod(Class<?>, String) - Static method in class com.google.common.collect.testing.Helpers
- getMethodName() - Method in class com.google.common.collect.testing.testers.AbstractListIndexOfTester
-
Override to return "indexOf" or "lastIndexOf()" for use in failure messages.
- getMethodName() - Method in class com.google.common.collect.testing.testers.ListIndexOfTester
- getMethodName() - Method in class com.google.common.collect.testing.testers.ListLastIndexOfTester
- getMultiset() - Method in class com.google.common.collect.testing.google.AbstractMultisetTester
- getName() - Method in class com.google.common.collect.testing.AbstractTester
- getName() - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- getName() - Method in class com.google.common.reflect.ClassPath.ClassInfo
-
Returns the fully qualified name of the class.
- getNameWithoutExtension(String) - Static method in class com.google.common.io.Files
-
Returns the file name without its file extension or path.
- getNext(Iterator<? extends T>, T) - Static method in class com.google.common.collect.Iterators
-
Returns the next element in
iterator
ordefaultValue
if the iterator is empty. - getNextSchedule() - Method in class com.google.common.util.concurrent.AbstractScheduledService.CustomScheduler
-
Calculates the time at which to next invoke the task.
- getNullLocation() - Method in class com.google.common.collect.testing.AbstractContainerTester
- getNumElements() - Method in class com.google.common.collect.testing.AbstractContainerTester
- getNumElements() - Method in enum com.google.common.collect.testing.features.CollectionSize
- getNumEntries() - Method in class com.google.common.collect.testing.AbstractMapTester
- getOccupiedDepth() - Method in class com.google.common.util.concurrent.Monitor
-
Returns the number of times the current thread has entered this monitor in excess of the number of times it has left.
- getOnlyElement(Iterable<? extends T>, T) - Static method in class com.google.common.collect.Iterables
-
Returns the single element contained in
iterable
, ordefaultValue
if the iterable is empty. - getOnlyElement(Iterable<T>) - Static method in class com.google.common.collect.Iterables
-
Returns the single element contained in
iterable
. - getOnlyElement(Iterator<? extends T>, T) - Static method in class com.google.common.collect.Iterators
-
Returns the single element contained in
iterator
, ordefaultValue
if the iterator is empty. - getOnlyElement(Iterator<T>) - Static method in class com.google.common.collect.Iterators
-
Returns the single element contained in
iterator
. - getOrderedElements() - Method in class com.google.common.collect.testing.AbstractContainerTester
-
Returns the sample elements as ordered by
TestContainerGenerator.order(List)
. - getOwnerType() - Method in class com.google.common.reflect.Invokable
-
Returns the type of
T
. - getPackageName() - Method in class com.google.common.reflect.ClassPath.ClassInfo
-
Returns the package name of the class, without attempting to load the class.
- getPackageName(Class<?>) - Static method in class com.google.common.reflect.Reflection
-
Returns the package name of
clazz
according to the Java Language Specification (section 6.7). - getPackageName(String) - Static method in class com.google.common.reflect.Reflection
-
Returns the package name of
classFullName
according to the Java Language Specification (section 6.7). - getParameters() - Method in class com.google.common.reflect.Invokable
-
Returns all declared parameters of this
Invokable
. - getPort() - Method in class com.google.common.net.HostAndPort
-
Get the current port number, failing if no port is defined.
- getPort() - Method in class com.google.common.net.InetAddresses.TeredoInfo
- getPortOrDefault(int) - Method in class com.google.common.net.HostAndPort
-
Returns the current port number, with a default if no port is defined.
- getPresentFeatures() - Method in class com.google.common.collect.testing.features.TesterRequirements
- getPutAllNullKeyUnsupportedMethod() - Static method in class com.google.common.collect.testing.testers.MapPutAllTester
-
Returns the
Method
instance forMapPutAllTester.testPutAll_nullKeyUnsupported()
so that tests can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug 5045147 is fixed. - getPutNullKeyUnsupportedMethod() - Static method in class com.google.common.collect.testing.testers.MapPutTester
-
Returns the
Method
instance forMapPutTester.testPut_nullKeyUnsupported()
so that tests ofTreeMap
can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug 5045147 is fixed. - getQueue() - Method in class com.google.common.collect.testing.testers.AbstractQueueTester
- getQueueLength() - Method in class com.google.common.util.concurrent.Monitor
-
Returns an estimate of the number of threads waiting to enter this monitor.
- getRate() - Method in class com.google.common.util.concurrent.RateLimiter
-
Returns the stable rate (as
permits per seconds
) with which thisRateLimiter
is configured with. - getRawType() - Method in class com.google.common.reflect.TypeToken
-
Returns the raw type of
T
. - getRemoveDuplicateInitializingMethods() - Static method in class com.google.common.collect.testing.google.MultisetRemoveTester
-
Returns
Method
instances for the remove tests that assume multisets support duplicates so that the test ofMultisets.forSet()
can suppress them. - getResource(Class<?>, String) - Static method in class com.google.common.io.Resources
-
Given a
resourceName
that is relative tocontextClass
, returns aURL
pointing to the named resource. - getResource(String) - Static method in class com.google.common.io.Resources
-
Returns a
URL
pointing toresourceName
if the resource is found using the context class loader. - getResourceName() - Method in class com.google.common.reflect.ClassPath.ResourceInfo
-
Returns the fully qualified name of the resource.
- getResources() - Method in class com.google.common.reflect.ClassPath
-
Returns all resources loadable from the current class path, including the class files of all loadable classes but excluding the "META-INF/MANIFEST.MF" file.
- getResult() - Method in interface com.google.common.io.ByteProcessor
-
Return the result of processing all the bytes.
- getResult() - Method in interface com.google.common.io.LineProcessor
-
Return the result of processing all the lines.
- getReturnType() - Method in class com.google.common.reflect.Invokable
-
Returns the return type of this
Invokable
. - getRootCause(Throwable) - Static method in class com.google.common.base.Throwables
-
Returns the innermost cause of
throwable
. - getRowKey() - Method in interface com.google.common.collect.Table.Cell
-
Returns the row key of this cell.
- getSampleElements() - Method in class com.google.common.collect.testing.AbstractContainerTester
- getSampleElements(int) - Method in class com.google.common.collect.testing.AbstractContainerTester
- getSampleElements(int) - Method in class com.google.common.collect.testing.OneSizeGenerator
- getSampleElements(int) - Method in interface com.google.common.collect.testing.OneSizeTestContainerGenerator
- getSampleEntries() - Method in class com.google.common.collect.testing.AbstractMapTester
- getSampleEntries(int) - Method in class com.google.common.collect.testing.AbstractMapTester
- getServer() - Method in class com.google.common.net.InetAddresses.TeredoInfo
- getSet() - Method in class com.google.common.collect.testing.testers.AbstractSetTester
- getSetCountDuplicateInitializingMethods() - Static method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
-
Returns
Method
instances for thesetCount()
tests that assume multisets support duplicates so that the test ofMultisets.forSet()
can suppress them. - getSetNullSupportedMethod() - Static method in class com.google.common.collect.testing.testers.ListSetTester
-
Returns the
Method
instance forListSetTester.testSet_null()
so that tests ofCollections.checkedCollection(java.util.Collection, Class)
can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug 6409434 is fixed. - getSetUp() - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- getSetValueMethod() - Static method in class com.google.common.collect.testing.testers.MapEntrySetTester
- getSimpleName() - Method in class com.google.common.reflect.ClassPath.ClassInfo
-
Returns the simple name of the underlying class as given in the source code.
- getSource() - Method in exception com.google.common.collect.testing.features.ConflictingRequirementsException
- getSource() - Method in class com.google.common.eventbus.DeadEvent
-
Returns the object that originated this event (not the object that originated the wrapped event).
- getStackTraceAsString(Throwable) - Static method in class com.google.common.base.Throwables
-
Returns a string containing the result of
toString()
, followed by the full, recursive stack trace ofthrowable
. - getStimulusValues() - Method in class com.google.common.collect.testing.IteratorTester
- getStimulusValues() - Method in class com.google.common.collect.testing.ListIteratorTester
- getStoredLogRecords() - Method in class com.google.common.testing.TestLogHandler
-
Returns a snapshot of the logged records.
- getSubjectGenerator() - Method in class com.google.common.collect.testing.AbstractTester
- getSubjectGenerator() - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- getSubListOriginalListSetAffectsSubListLargeListMethod() - Static method in class com.google.common.collect.testing.testers.ListSubListTester
-
Returns the
Method
instance forListSubListTester.testSubList_originalListSetAffectsSubListLargeList()
()} so that tests ofCopyOnWriteArrayList
can suppress them withFeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug 6570631 is fixed. - getSubListOriginalListSetAffectsSubListMethod() - Static method in class com.google.common.collect.testing.testers.ListSubListTester
-
Returns the
Method
instance forListSubListTester.testSubList_originalListSetAffectsSubList()
so that tests ofCopyOnWriteArrayList
can suppress them withFeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug 6570631 is fixed. - getSubListSubListRemoveAffectsOriginalLargeListMethod() - Static method in class com.google.common.collect.testing.testers.ListSubListTester
-
Returns the
Method
instance forListSubListTester.testSubList_subListRemoveAffectsOriginalLargeList()
so that tests ofCopyOnWriteArrayList
can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug 6570575 is fixed. - getSubscriber() - Method in class com.google.common.eventbus.SubscriberExceptionContext
- getSubscriberMethod() - Method in class com.google.common.eventbus.SubscriberExceptionContext
- getSubtype(Class<?>) - Method in class com.google.common.reflect.TypeToken
-
Returns subtype of
this
withsubclass
as the raw class. - getSupertype(Class<? super T>) - Method in class com.google.common.reflect.TypeToken
-
Returns the generic form of
superclass
. - getSuppressedTests() - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- getTearDown() - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- getTeredoInfo(Inet6Address) - Static method in class com.google.common.net.InetAddresses
-
Returns the Teredo information embedded in a Teredo address.
- getTesterAnnotations(AnnotatedElement) - Static method in class com.google.common.collect.testing.features.FeatureUtil
-
Find all the tester annotations declared on a tester class or method.
- getTesterRequirements(Class<?>) - Static method in class com.google.common.collect.testing.features.FeatureUtil
-
Get the full set of requirements for a tester class.
- getTesterRequirements(Method) - Static method in class com.google.common.collect.testing.features.FeatureUtil
-
Get the full set of requirements for a tester class.
- getTesters() - Method in class com.google.common.collect.testing.AbstractCollectionTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.ConcurrentMapTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.ConcurrentNavigableMapTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.DerivedIteratorTestSuiteBuilder
-
We rely entirely on the delegate builder for test creation, so this just throws UnsupportedOperationException.
- getTesters() - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.google.BiMapTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.google.ListMultimapTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.google.MultimapTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.google.MultisetTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.google.SetMultimapTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.google.SortedMultisetTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.google.SortedSetMultimapTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.IteratorTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.ListTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.MapTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.NavigableMapTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.NavigableSetTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.QueueTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.SetTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.SortedMapTestSuiteBuilder
- getTesters() - Method in class com.google.common.collect.testing.SortedSetTestSuiteBuilder
- getTestMethodName() - Method in class com.google.common.collect.testing.AbstractTester
-
Returns the name of the test method invoked by this test instance.
- getTo() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator
- getTo() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator
- getToArrayIsPlainObjectArrayMethod() - Static method in class com.google.common.collect.testing.testers.CollectionToArrayTester
-
Returns the
Method
instance forCollectionToArrayTester.testToArray_isPlainObjectArray()
so that tests ofArrays.asList(Object[])
can suppress it withFeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug 6260652 is fixed. - getTopLevelClasses() - Method in class com.google.common.reflect.ClassPath
-
Returns all top level classes loadable from the current class path.
- getTopLevelClasses(String) - Method in class com.google.common.reflect.ClassPath
-
Returns all top level classes whose package name is
packageName
. - getTopLevelClassesRecursive(String) - Method in class com.google.common.reflect.ClassPath
-
Returns all top level classes whose package name is
packageName
or starts withpackageName
followed by a '.'. - getType() - Method in class com.google.common.reflect.Parameter
-
Returns the type of the parameter.
- getType() - Method in class com.google.common.reflect.TypeToken
-
Returns the represented type.
- getTypes() - Method in class com.google.common.reflect.TypeToken
-
Returns the set of interfaces and classes that this type is or is a subtype of.
- getUnchecked(Future<V>) - Static method in class com.google.common.util.concurrent.Futures
-
Returns the result of calling
Future.get()
uninterruptibly on a task known not to throw a checked exception. - getUnchecked(K) - Method in class com.google.common.cache.AbstractLoadingCache
- getUnchecked(K) - Method in class com.google.common.cache.ForwardingLoadingCache
- getUnchecked(K) - Method in interface com.google.common.cache.LoadingCache
-
Returns the value associated with
key
in this cache, first loading that value if necessary. - getUninterruptibly(Future<V>) - Static method in class com.google.common.util.concurrent.Uninterruptibles
-
Invokes
future.
get()
uninterruptibly. - getUninterruptibly(Future<V>, long, TimeUnit) - Static method in class com.google.common.util.concurrent.Uninterruptibles
-
Invokes
future.
get(timeout, unit)
uninterruptibly. - getValue() - Method in class com.google.common.collect.ForwardingMapEntry
- getValue() - Method in interface com.google.common.collect.Table.Cell
-
Returns the value of this cell.
- getValueForNullKey() - Method in class com.google.common.collect.testing.AbstractMapTester
- getValueForNullKey() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- getValueNotInPopulatedMap() - Method in class com.google.common.collect.testing.MapInterfaceTest
-
Creates a new value that is not expected to be found in
MapInterfaceTest.makePopulatedMap()
. - getWaitQueueLength(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
-
Returns an estimate of the number of threads waiting for the given guard to become satisfied.
- GIF - Static variable in class com.google.common.net.MediaType
- goodFastHash(int) - Static method in class com.google.common.hash.Hashing
-
Returns a general-purpose, temporary-use, non-cryptographic hash function.
- Graph<N> - Interface in com.google.common.graph
-
An interface for graph-structured data, whose edges are anonymous entities with no identity or information of their own.
- GraphBuilder<N> - Class in com.google.common.graph
-
A builder for constructing instances of
MutableGraph
with user-defined properties. - Graphs - Class in com.google.common.graph
- greaterThan(C) - Static method in class com.google.common.collect.Range
-
Returns a range that contains all values strictly greater than
endpoint
. - greatestOf(Iterable<E>, int) - Method in class com.google.common.collect.Ordering
-
Returns the
k
greatest elements of the given iterable according to this ordering, in order from greatest to least. - greatestOf(Iterator<E>, int) - Method in class com.google.common.collect.Ordering
-
Returns the
k
greatest elements from the given iterator according to this ordering, in order from greatest to least. - GS - Static variable in class com.google.common.base.Ascii
-
Group Separator: These four information separators may be used within data in optional fashion, except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then RS, and US is least inclusive.
- Guard(Monitor) - Constructor for class com.google.common.util.concurrent.Monitor.Guard
- GwtCompatible - Annotation Type in com.google.common.annotations
-
The presence of this annotation on a type indicates that the type may be used with the Google Web Toolkit (GWT).
- GwtIncompatible - Annotation Type in com.google.common.annotations
-
The presence of this annotation on an API indicates that the method may not be used with the Google Web Toolkit (GWT).
- GZIP - Static variable in class com.google.common.net.MediaType
H
- handleException(Throwable, SubscriberExceptionContext) - Method in interface com.google.common.eventbus.SubscriberExceptionHandler
-
Handles exceptions thrown by subscribers.
- handleInvocation(Object, Method, Object[]) - Method in class com.google.common.reflect.AbstractInvocationHandler
-
AbstractInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
delegates to this method upon any method invocation on the proxy instance, exceptObject.equals(java.lang.Object)
,Object.hashCode()
andObject.toString()
. - handlePotentialDeadlock(CycleDetectingLockFactory.PotentialDeadlockException) - Method in interface com.google.common.util.concurrent.CycleDetectingLockFactory.Policy
-
Called when a potential deadlock is encountered.
- hasCycle(Graph<?>) - Static method in class com.google.common.graph.Graphs
-
Returns true if
graph
has at least one cycle. - hasCycle(Network<?, ?>) - Static method in class com.google.common.graph.Graphs
-
Returns true if
network
has at least one cycle. - hasEmbeddedIPv4ClientAddress(Inet6Address) - Static method in class com.google.common.net.InetAddresses
-
Examines the Inet6Address to determine if it is an IPv6 address of one of the specified address types that contain an embedded IPv4 address.
- hash() - Method in interface com.google.common.hash.Hasher
-
Computes a hash code based on the data that have been provided to this hasher.
- hash() - Method in class com.google.common.hash.HashingInputStream
-
Returns the
HashCode
based on the data read from this stream. - hash() - Method in class com.google.common.hash.HashingOutputStream
-
Returns the
HashCode
based on the data written to this stream. - hash(HashFunction) - Method in class com.google.common.io.ByteSource
-
Hashes the contents of this byte source using the given hash function.
- hash(File, HashFunction) - Static method in class com.google.common.io.Files
-
Computes the hash code of the
file
usinghashFunction
. - hash(T) - Method in class com.google.common.base.Equivalence
-
Returns a hash code for
t
. - HashBasedTable<R,C,V> - Class in com.google.common.collect
-
Implementation of
Table
using linked hash tables. - HashBiMap<K,V> - Class in com.google.common.collect
-
A
BiMap
backed by two hash tables. - hashBytes(byte[]) - Method in interface com.google.common.hash.HashFunction
-
Shortcut for
newHasher().putBytes(input).hash()
. - hashBytes(byte[], int, int) - Method in interface com.google.common.hash.HashFunction
-
Shortcut for
newHasher().putBytes(input, off, len).hash()
. - hashCode() - Method in class com.google.common.base.Equivalence.Wrapper
-
Returns the result of
Equivalence.hash(Object)
applied to the wrapped reference. - hashCode() - Method in class com.google.common.base.Optional
-
Returns a hash code for this instance.
- hashCode() - Method in class com.google.common.cache.CacheBuilderSpec
- hashCode() - Method in class com.google.common.cache.CacheStats
- hashCode() - Method in class com.google.common.collect.ForwardingList
- hashCode() - Method in class com.google.common.collect.ForwardingMap
- hashCode() - Method in class com.google.common.collect.ForwardingMapEntry
- hashCode() - Method in class com.google.common.collect.ForwardingMultimap
- hashCode() - Method in class com.google.common.collect.ForwardingMultiset
- hashCode() - Method in class com.google.common.collect.ForwardingSet
- hashCode() - Method in class com.google.common.collect.ForwardingTable
- hashCode() - Method in class com.google.common.collect.ImmutableList
- hashCode() - Method in class com.google.common.collect.ImmutableMap
- hashCode() - Method in class com.google.common.collect.ImmutableMultiset
- hashCode() - Method in class com.google.common.collect.ImmutableRangeMap
- hashCode() - Method in class com.google.common.collect.ImmutableSet
- hashCode() - Method in interface com.google.common.collect.MapDifference
-
Returns the hash code for this instance.
- hashCode() - Method in interface com.google.common.collect.MapDifference.ValueDifference
-
The hash code equals the value
Arrays.asList(leftValue(), rightValue()).hashCode()
. - hashCode() - Method in interface com.google.common.collect.Multimap
-
Returns the hash code for this multimap.
- hashCode() - Method in interface com.google.common.collect.Multiset.Entry
- hashCode() - Method in interface com.google.common.collect.Multiset
-
Returns the hash code for this multiset.
- hashCode() - Method in class com.google.common.collect.Range
-
Returns a hash code for this range.
- hashCode() - Method in interface com.google.common.collect.RangeMap
-
Returns
asMapOfRanges().hashCode()
. - hashCode() - Method in interface com.google.common.collect.RangeSet
-
Returns
asRanges().hashCode()
. - hashCode() - Method in interface com.google.common.collect.Table.Cell
-
Returns the hash code of this cell.
- hashCode() - Method in interface com.google.common.collect.Table
-
Returns the hash code for this table.
- hashCode() - Method in class com.google.common.collect.testing.BaseComparable
- hashCode() - Method in class com.google.common.collect.testing.features.TesterRequirements
- hashCode() - Method in class com.google.common.collect.testing.Helpers.NullsBefore
- hashCode() - Method in class com.google.common.collect.testing.MinimalSet
- hashCode() - Method in class com.google.common.collect.testing.SafeTreeMap
- hashCode() - Method in class com.google.common.collect.testing.SafeTreeSet
- hashCode() - Method in class com.google.common.collect.testing.UnhashableObject
- hashCode() - Method in class com.google.common.collect.TreeRangeMap
- hashCode() - Method in class com.google.common.graph.ElementOrder
- hashCode() - Method in class com.google.common.graph.EndpointPair
-
The hashcode of an ordered
EndpointPair
is equal toObjects.hashCode(source(), target())
. - hashCode() - Method in interface com.google.common.graph.Graph
-
For the default
Graph
implementations, returnsSystem.identityHashCode(this)
. - hashCode() - Method in interface com.google.common.graph.Network
-
For the default
Network
implementations, returnsSystem.identityHashCode(this)
. - hashCode() - Method in interface com.google.common.graph.ValueGraph
-
For the default
ValueGraph
implementations, returnsSystem.identityHashCode(this)
. - hashCode() - Method in class com.google.common.hash.BloomFilter
- hashCode() - Method in class com.google.common.hash.HashCode
-
Returns a "Java hash code" for this
HashCode
instance; this is well-defined (so, for example, you can safely putHashCode
instances into aHashSet
) but is otherwise probably not what you want to use. - hashCode() - Method in interface com.google.common.hash.Hasher
-
Deprecated.This returns
Object.hashCode()
; you almost certainly mean to callhash().asInt()
. - hashCode() - Method in class com.google.common.math.PairedStats
- hashCode() - Method in class com.google.common.math.Stats
- hashCode() - Method in class com.google.common.net.HostAndPort
- hashCode() - Method in class com.google.common.net.HostSpecifier
- hashCode() - Method in class com.google.common.net.InternetDomainName
- hashCode() - Method in class com.google.common.net.MediaType
- hashCode() - Method in class com.google.common.primitives.UnsignedInteger
- hashCode() - Method in class com.google.common.primitives.UnsignedLong
- hashCode() - Method in class com.google.common.reflect.AbstractInvocationHandler
-
By default delegates to
Object.hashCode()
. - hashCode() - Method in class com.google.common.reflect.ClassPath.ResourceInfo
- hashCode() - Method in class com.google.common.reflect.Parameter
- hashCode() - Method in class com.google.common.reflect.TypeParameter
- hashCode() - Method in class com.google.common.reflect.TypeToken
- hashCode(boolean) - Static method in class com.google.common.primitives.Booleans
-
Returns a hash code for
value
; equal to the result of invoking((Boolean) value).hashCode()
. - hashCode(byte) - Static method in class com.google.common.primitives.Bytes
-
Returns a hash code for
value
; equal to the result of invoking((Byte) value).hashCode()
. - hashCode(char) - Static method in class com.google.common.primitives.Chars
-
Returns a hash code for
value
; equal to the result of invoking((Character) value).hashCode()
. - hashCode(double) - Static method in class com.google.common.primitives.Doubles
-
Returns a hash code for
value
; equal to the result of invoking((Double) value).hashCode()
. - hashCode(float) - Static method in class com.google.common.primitives.Floats
-
Returns a hash code for
value
; equal to the result of invoking((Float) value).hashCode()
. - hashCode(int) - Static method in class com.google.common.primitives.Ints
-
Returns a hash code for
value
; equal to the result of invoking((Integer) value).hashCode()
. - hashCode(long) - Static method in class com.google.common.primitives.Longs
-
Returns a hash code for
value
; equal to the result of invoking((Long) value).hashCode()
. - hashCode(short) - Static method in class com.google.common.primitives.Shorts
-
Returns a hash code for
value
; equal to the result of invoking((Short) value).hashCode()
. - hashCode(Object...) - Static method in class com.google.common.base.Objects
-
Generates a hash code for multiple values.
- HashCode - Class in com.google.common.hash
-
An immutable hash code of arbitrary bit length.
- Hasher - Interface in com.google.common.hash
-
A
PrimitiveSink
that can compute a hash code after reading the input. - HashFunction - Interface in com.google.common.hash
-
A hash function is a collision-averse pure function that maps an arbitrary block of data to a number called a hash code.
- Hashing - Class in com.google.common.hash
-
Static methods to obtain
HashFunction
instances, and other static hashing-related utilities. - HashingInputStream - Class in com.google.common.hash
-
An
InputStream
that maintains a hash of the data read from it. - HashingInputStream(HashFunction, InputStream) - Constructor for class com.google.common.hash.HashingInputStream
-
Creates an input stream that hashes using the given
HashFunction
and delegates all data read from it to the underlyingInputStream
. - HashingOutputStream - Class in com.google.common.hash
-
An
OutputStream
that maintains a hash of the data written to it. - HashingOutputStream(HashFunction, OutputStream) - Constructor for class com.google.common.hash.HashingOutputStream
-
Creates an output stream that hashes using the given
HashFunction
, and forwards all data written to it to the underlyingOutputStream
. - hashInt(int) - Method in interface com.google.common.hash.HashFunction
-
Shortcut for
newHasher().putInt(input).hash()
; returns the hash code for the givenint
value, interpreted in little-endian byte order. - hashKeys() - Static method in class com.google.common.collect.MultimapBuilder
-
Uses a
HashMap
to map keys to value collections. - hashKeys(int) - Static method in class com.google.common.collect.MultimapBuilder
-
Uses a
HashMap
to map keys to value collections, initialized to expect the specified number of keys. - hashLong(long) - Method in interface com.google.common.hash.HashFunction
-
Shortcut for
newHasher().putLong(input).hash()
; returns the hash code for the givenlong
value, interpreted in little-endian byte order. - HashMultimap<K,V> - Class in com.google.common.collect
-
Implementation of
Multimap
using hash tables. - HashMultiset<E> - Class in com.google.common.collect
-
Multiset implementation backed by a
HashMap
. - hashObject(T, Funnel<? super T>) - Method in interface com.google.common.hash.HashFunction
-
Shortcut for
newHasher().putObject(instance, funnel).hash()
. - hashSetValues() - Method in class com.google.common.collect.MultimapBuilder.MultimapBuilderWithKeys
-
Uses a
HashSet
to store value collections. - hashSetValues(int) - Method in class com.google.common.collect.MultimapBuilder.MultimapBuilderWithKeys
-
Uses a
HashSet
to store value collections, initialized to expect the specified number of values per key. - hashString(CharSequence, Charset) - Method in interface com.google.common.hash.HashFunction
-
Shortcut for
newHasher().putString(input, charset).hash()
. - hashUnencodedChars(CharSequence) - Method in interface com.google.common.hash.HashFunction
-
Shortcut for
newHasher().putUnencodedChars(input).hash()
. - hasLowerBound() - Method in class com.google.common.collect.Range
-
Returns
true
if this range has a lower endpoint. - hasNext() - Method in class com.google.common.collect.AbstractIterator
- hasNext() - Method in class com.google.common.collect.AbstractSequentialIterator
- hasNext() - Method in class com.google.common.collect.ForwardingIterator
- hasParent() - Method in class com.google.common.net.InternetDomainName
-
Indicates whether this domain is composed of two or more parts.
- hasPort() - Method in class com.google.common.net.HostAndPort
-
Return true if this instance has a defined port.
- hasPrevious() - Method in class com.google.common.collect.ForwardingListIterator
- hasPublicSuffix() - Method in class com.google.common.net.InternetDomainName
-
Indicates whether this domain name ends in a public suffix, including if it is a public suffix itself.
- hasQueuedThread(Thread) - Method in class com.google.common.util.concurrent.Monitor
-
Queries whether the given thread is waiting to enter this monitor.
- hasQueuedThreads() - Method in class com.google.common.util.concurrent.Monitor
-
Returns whether any threads are waiting to enter this monitor.
- hasUpperBound() - Method in class com.google.common.collect.Range
-
Returns
true
if this range has an upper endpoint. - hasWaiters(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
-
Queries whether any threads are waiting for the given guard to become satisfied.
- hasWildcard() - Method in class com.google.common.net.MediaType
-
Returns true if either the type or subtype is the wildcard.
- headMap(K) - Method in class com.google.common.collect.ForwardingSortedMap
- headMap(K) - Method in class com.google.common.collect.ImmutableSortedMap
-
This method returns a
ImmutableSortedMap
, consisting of the entries whose keys are less thantoKey
. - headMap(K) - Method in class com.google.common.collect.testing.SafeTreeMap
- headMap(K, boolean) - Method in class com.google.common.collect.ForwardingNavigableMap
- headMap(K, boolean) - Method in class com.google.common.collect.ImmutableSortedMap
-
This method returns a
ImmutableSortedMap
, consisting of the entries whose keys are less than (or equal to, ifinclusive
)toKey
. - headMap(K, boolean) - Method in class com.google.common.collect.testing.SafeTreeMap
- headMultiset(E, BoundType) - Method in class com.google.common.collect.ForwardingSortedMultiset
- headMultiset(E, BoundType) - Method in class com.google.common.collect.ImmutableSortedMultiset
- headMultiset(E, BoundType) - Method in interface com.google.common.collect.SortedMultiset
-
Returns a view of this multiset restricted to the elements less than
upperBound
, optionally includingupperBound
itself. - headMultiset(E, BoundType) - Method in class com.google.common.collect.TreeMultiset
- headSet(C) - Method in class com.google.common.collect.ContiguousSet
- headSet(C, boolean) - Method in class com.google.common.collect.ContiguousSet
- headSet(E) - Method in class com.google.common.collect.ForwardingSortedSet
- headSet(E) - Method in class com.google.common.collect.ImmutableSortedSet
- headSet(E) - Method in class com.google.common.collect.testing.SafeTreeSet
- headSet(E, boolean) - Method in class com.google.common.collect.ForwardingNavigableSet
- headSet(E, boolean) - Method in class com.google.common.collect.ImmutableSortedSet
- headSet(E, boolean) - Method in class com.google.common.collect.testing.SafeTreeSet
- healthy() - Method in class com.google.common.util.concurrent.ServiceManager.Listener
-
Called when the service initially becomes healthy.
- Helpers - Class in com.google.common.collect.testing
- Helpers() - Constructor for class com.google.common.collect.testing.Helpers
- Helpers.NullsBefore - Class in com.google.common.collect.testing
-
Compares strings in natural order except that null comes immediately before a given value.
- Helpers.NullsBeforeB - Class in com.google.common.collect.testing
- Helpers.NullsBeforeTwo - Class in com.google.common.collect.testing
- higher(E) - Method in class com.google.common.collect.ForwardingNavigableSet
- higher(E) - Method in class com.google.common.collect.ImmutableSortedSet
- higher(E) - Method in class com.google.common.collect.testing.SafeTreeSet
- higherEntry(K) - Method in class com.google.common.collect.ForwardingNavigableMap
- higherEntry(K) - Method in class com.google.common.collect.ImmutableSortedMap
- higherEntry(K) - Method in class com.google.common.collect.testing.SafeTreeMap
- higherKey(K) - Method in class com.google.common.collect.ForwardingNavigableMap
- higherKey(K) - Method in class com.google.common.collect.ImmutableSortedMap
- higherKey(K) - Method in class com.google.common.collect.testing.SafeTreeMap
- hitCount() - Method in class com.google.common.cache.CacheStats
-
Returns the number of times
Cache
lookup methods have returned a cached value. - hitRate() - Method in class com.google.common.cache.CacheStats
-
Returns the ratio of cache requests which were hits.
- hmacMd5(byte[]) - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the MD5 (128 hash bits) hash function and a
SecretSpecKey
created from the given byte array and the MD5 algorithm. - hmacMd5(Key) - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the MD5 (128 hash bits) hash function and the given secret key.
- hmacSha1(byte[]) - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the SHA-1 (160 hash bits) hash function and a
SecretSpecKey
created from the given byte array and the SHA-1 algorithm. - hmacSha1(Key) - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the SHA-1 (160 hash bits) hash function and the given secret key.
- hmacSha256(byte[]) - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the SHA-256 (256 hash bits) hash function and a
SecretSpecKey
created from the given byte array and the SHA-256 algorithm. - hmacSha256(Key) - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the SHA-256 (256 hash bits) hash function and the given secret key.
- hmacSha512(byte[]) - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the SHA-512 (512 hash bits) hash function and a
SecretSpecKey
created from the given byte array and the SHA-512 algorithm. - hmacSha512(Key) - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the SHA-512 (512 hash bits) hash function and the given secret key.
- horizontal(double) - Static method in class com.google.common.math.LinearTransformation
-
Builds an instance representing a horizontal transformation with a constant value of
y
. - HOST - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Host
header field name. - HostAndPort - Class in com.google.common.net
-
An immutable representation of a host and port.
- HostSpecifier - Class in com.google.common.net
-
A syntactically valid host specifier, suitable for use in a URI.
- HT - Static variable in class com.google.common.base.Ascii
-
Horizontal Tabulation ('\t'): A format effector which controls the movement of the printing position to the next in a series of predetermined positions along the printing line.
- HTML_UTF_8 - Static variable in class com.google.common.net.MediaType
- htmlEscaper() - Static method in class com.google.common.html.HtmlEscapers
- HtmlEscapers - Class in com.google.common.html
-
Escaper
instances suitable for strings to be included in HTML attribute values and most elements' text contents. - HttpHeaders - Class in com.google.common.net
-
Contains constant definitions for the HTTP header field names.
I
- I_CALENDAR_UTF_8 - Static variable in class com.google.common.net.MediaType
- ICO - Static variable in class com.google.common.net.MediaType
- identifier() - Method in class com.google.common.eventbus.EventBus
-
Returns the identifier for this event bus.
- identity() - Static method in class com.google.common.base.Converter
-
Returns a serializable converter that always converts or reverses an object to itself.
- identity() - Static method in class com.google.common.base.Equivalence
-
Returns an equivalence that uses
==
to compare values andSystem.identityHashCode(Object)
to compute the hash code. - identity() - Static method in class com.google.common.base.Functions
-
Returns the identity function.
- IF_MATCH - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
If-Match
header field name. - IF_MODIFIED_SINCE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
If-Modified-Since
header field name. - IF_NONE_MATCH - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
If-None-Match
header field name. - IF_RANGE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
If-Range
header field name. - IF_UNMODIFIED_SINCE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
If-Unmodified-Since
header field name. - ignore(Method) - Method in class com.google.common.testing.NullPointerTester
-
Ignore
method
in the tests that follow. - ignoreClasses(Predicate<? super Class<?>>) - Method in class com.google.common.testing.AbstractPackageSanityTests
-
Specifies that classes that satisfy the given predicate aren't tested for sanity.
- immediateCancelledFuture() - Static method in class com.google.common.util.concurrent.Futures
-
Creates a
ListenableFuture
which is cancelled immediately upon construction, so thatisCancelled()
always returnstrue
. - immediateCheckedFuture(V) - Static method in class com.google.common.util.concurrent.Futures
-
Returns a
CheckedFuture
which has its value set immediately upon construction. - immediateFailedCheckedFuture(X) - Static method in class com.google.common.util.concurrent.Futures
-
Returns a
CheckedFuture
which has an exception set immediately upon construction. - immediateFailedFuture(Throwable) - Static method in class com.google.common.util.concurrent.Futures
-
Returns a
ListenableFuture
which has an exception set immediately upon construction. - immediateFuture(V) - Static method in class com.google.common.util.concurrent.Futures
-
Creates a
ListenableFuture
which has its value set immediately upon construction. - ImmutableBiMap<K,V> - Class in com.google.common.collect
-
A
BiMap
whose contents will never change, with many other important properties detailed atImmutableCollection
. - ImmutableBiMap.Builder<K,V> - Class in com.google.common.collect
-
A builder for creating immutable bimap instances, especially
public static final
bimaps ("constant bimaps"). - ImmutableBiMapCopyOfEntriesGenerator() - Constructor for class com.google.common.collect.testing.google.BiMapGenerators.ImmutableBiMapCopyOfEntriesGenerator
- ImmutableBiMapCopyOfGenerator() - Constructor for class com.google.common.collect.testing.google.BiMapGenerators.ImmutableBiMapCopyOfGenerator
- ImmutableBiMapGenerator() - Constructor for class com.google.common.collect.testing.google.BiMapGenerators.ImmutableBiMapGenerator
- immutableCell(R, C, V) - Static method in class com.google.common.collect.Tables
-
Returns an immutable cell with the specified row key, column key, and value.
- ImmutableClassToInstanceMap<B> - Class in com.google.common.collect
-
A
ClassToInstanceMap
whose contents will never change, with many other important properties detailed atImmutableCollection
. - ImmutableClassToInstanceMap.Builder<B> - Class in com.google.common.collect
-
A builder for creating immutable class-to-instance maps.
- ImmutableCollection<E> - Class in com.google.common.collect
-
A
Collection
whose contents will never change, and which offers a few additional guarantees detailed below. - ImmutableCollection.Builder<E> - Class in com.google.common.collect
-
Abstract base class for builders of
ImmutableCollection
types. - immutableCopy() - Method in class com.google.common.collect.Sets.SetView
-
Returns an immutable copy of the current contents of this set view.
- immutableEntry(E, int) - Static method in class com.google.common.collect.Multisets
-
Returns an immutable multiset entry with the specified element and count.
- immutableEntry(K, V) - Static method in class com.google.common.collect.Maps
-
Returns an immutable map entry with the specified key and value.
- immutableEnumMap(Map<K, ? extends V>) - Static method in class com.google.common.collect.Maps
-
Returns an immutable map instance containing the given entries.
- ImmutableEnumMapGenerator() - Constructor for class com.google.common.collect.testing.google.MapGenerators.ImmutableEnumMapGenerator
- immutableEnumSet(E, E...) - Static method in class com.google.common.collect.Sets
-
Returns an immutable set instance containing the given enum elements.
- immutableEnumSet(Iterable<E>) - Static method in class com.google.common.collect.Sets
-
Returns an immutable set instance containing the given enum elements.
- ImmutableGraph<N> - Class in com.google.common.graph
-
A
Graph
whose elements and structural relationships will never change. - ImmutableList<E> - Class in com.google.common.collect
-
A
List
whose contents will never change, with many other important properties detailed atImmutableCollection
. - ImmutableList.Builder<E> - Class in com.google.common.collect
-
A builder for creating immutable list instances, especially
public static final
lists ("constant lists"). - ImmutableListHeadSubListGenerator() - Constructor for class com.google.common.collect.testing.google.ListGenerators.ImmutableListHeadSubListGenerator
- ImmutableListMiddleSubListGenerator() - Constructor for class com.google.common.collect.testing.google.ListGenerators.ImmutableListMiddleSubListGenerator
- ImmutableListMultimap<K,V> - Class in com.google.common.collect
-
A
ListMultimap
whose contents will never change, with many other important properties detailed atImmutableCollection
. - ImmutableListMultimap.Builder<K,V> - Class in com.google.common.collect
-
A builder for creating immutable
ListMultimap
instances, especiallypublic static final
multimaps ("constant multimaps"). - ImmutableListOfGenerator() - Constructor for class com.google.common.collect.testing.google.ListGenerators.ImmutableListOfGenerator
- ImmutableListTailSubListGenerator() - Constructor for class com.google.common.collect.testing.google.ListGenerators.ImmutableListTailSubListGenerator
- ImmutableMap<K,V> - Class in com.google.common.collect
-
A
Map
whose contents will never change, with many other important properties detailed atImmutableCollection
. - ImmutableMap.Builder<K,V> - Class in com.google.common.collect
-
A builder for creating immutable map instances, especially
public static final
maps ("constant maps"). - ImmutableMapCopyOfEntriesGenerator() - Constructor for class com.google.common.collect.testing.google.MapGenerators.ImmutableMapCopyOfEntriesGenerator
- ImmutableMapCopyOfEnumMapGenerator() - Constructor for class com.google.common.collect.testing.google.MapGenerators.ImmutableMapCopyOfEnumMapGenerator
- ImmutableMapCopyOfGenerator() - Constructor for class com.google.common.collect.testing.google.MapGenerators.ImmutableMapCopyOfGenerator
- ImmutableMapEntryListGenerator() - Constructor for class com.google.common.collect.testing.google.MapGenerators.ImmutableMapEntryListGenerator
- ImmutableMapGenerator() - Constructor for class com.google.common.collect.testing.google.MapGenerators.ImmutableMapGenerator
- ImmutableMapKeyListGenerator() - Constructor for class com.google.common.collect.testing.google.MapGenerators.ImmutableMapKeyListGenerator
- ImmutableMapUnhashableValuesGenerator() - Constructor for class com.google.common.collect.testing.google.MapGenerators.ImmutableMapUnhashableValuesGenerator
- ImmutableMapValueListGenerator() - Constructor for class com.google.common.collect.testing.google.MapGenerators.ImmutableMapValueListGenerator
- ImmutableMultimap<K,V> - Class in com.google.common.collect
-
A
Multimap
whose contents will never change, with many other important properties detailed atImmutableCollection
. - ImmutableMultimap.Builder<K,V> - Class in com.google.common.collect
-
A builder for creating immutable multimap instances, especially
public static final
multimaps ("constant multimaps"). - ImmutableMultiset<E> - Class in com.google.common.collect
-
A
Multiset
whose contents will never change, with many other important properties detailed atImmutableCollection
. - ImmutableMultiset.Builder<E> - Class in com.google.common.collect
-
A builder for creating immutable multiset instances, especially
public static final
multisets ("constant multisets"). - ImmutableNetwork<N,E> - Class in com.google.common.graph
-
A
Network
whose elements and structural relationships will never change. - ImmutableRangeMap<K extends java.lang.Comparable<?>,V> - Class in com.google.common.collect
-
A
RangeMap
whose contents will never change, with many other important properties detailed atImmutableCollection
. - ImmutableRangeMap.Builder<K extends java.lang.Comparable<?>,V> - Class in com.google.common.collect
-
A builder for immutable range maps.
- ImmutableRangeSet<C extends java.lang.Comparable> - Class in com.google.common.collect
-
A
RangeSet
whose contents will never change, with many other important properties detailed atImmutableCollection
. - ImmutableRangeSet.Builder<C extends java.lang.Comparable<?>> - Class in com.google.common.collect
-
A builder for immutable range sets.
- ImmutableSet<E> - Class in com.google.common.collect
-
A
Set
whose contents will never change, with many other important properties detailed atImmutableCollection
. - ImmutableSet.Builder<E> - Class in com.google.common.collect
-
A builder for creating
ImmutableSet
instances. - ImmutableSetAsListGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSetAsListGenerator
- ImmutableSetCopyOfGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSetCopyOfGenerator
- ImmutableSetMultimap<K,V> - Class in com.google.common.collect
-
A
SetMultimap
whose contents will never change, with many other important properties detailed atImmutableCollection
. - ImmutableSetMultimap.Builder<K,V> - Class in com.google.common.collect
-
A builder for creating immutable
SetMultimap
instances, especiallypublic static final
multimaps ("constant multimaps"). - ImmutableSetWithBadHashesGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSetWithBadHashesGenerator
- immutableSortedCopy(Iterable<E>) - Method in class com.google.common.collect.Ordering
-
Returns an immutable list containing
elements
sorted by this ordering. - ImmutableSortedMap<K,V> - Class in com.google.common.collect
-
A
NavigableMap
whose contents will never change, with many other important properties detailed atImmutableCollection
. - ImmutableSortedMap.Builder<K,V> - Class in com.google.common.collect
-
A builder for creating immutable sorted map instances, especially
public static final
maps ("constant maps"). - ImmutableSortedMapCopyOfEntriesGenerator() - Constructor for class com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapCopyOfEntriesGenerator
- ImmutableSortedMapEntryListGenerator() - Constructor for class com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapEntryListGenerator
- ImmutableSortedMapGenerator() - Constructor for class com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapGenerator
- ImmutableSortedMapKeyListGenerator() - Constructor for class com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapKeyListGenerator
- ImmutableSortedMapValueListGenerator() - Constructor for class com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapValueListGenerator
- ImmutableSortedMultiset<E> - Class in com.google.common.collect
-
A
SortedMultiset
whose contents will never change, with many other important properties detailed atImmutableCollection
. - ImmutableSortedMultiset.Builder<E> - Class in com.google.common.collect
-
A builder for creating immutable multiset instances, especially
public static final
multisets ("constant multisets"). - ImmutableSortedSet<E> - Class in com.google.common.collect
-
A
NavigableSet
whose contents will never change, with many other important properties detailed atImmutableCollection
. - ImmutableSortedSet.Builder<E> - Class in com.google.common.collect
-
A builder for creating immutable sorted set instances, especially
public static final
sets ("constant sets"), with a given comparator. - ImmutableSortedSetAsListGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetAsListGenerator
- ImmutableSortedSetAsListSubListGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetAsListSubListGenerator
- ImmutableSortedSetCopyOfGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetCopyOfGenerator
- ImmutableSortedSetDescendingAsListGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetDescendingAsListGenerator
- ImmutableSortedSetDescendingGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetDescendingGenerator
- ImmutableSortedSetExplicitComparator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetExplicitComparator
- ImmutableSortedSetExplicitSuperclassComparatorGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetExplicitSuperclassComparatorGenerator
- ImmutableSortedSetHeadsetGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetHeadsetGenerator
- ImmutableSortedSetReversedOrderGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetReversedOrderGenerator
- ImmutableSortedSetSubsetAsListGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetSubsetAsListGenerator
- ImmutableSortedSetSubsetAsListSubListGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetSubsetAsListSubListGenerator
- ImmutableSortedSetSubsetGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetSubsetGenerator
- ImmutableSortedSetTailsetGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetTailsetGenerator
- ImmutableSortedSetUnhashableGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetUnhashableGenerator
- ImmutableTable<R,C,V> - Class in com.google.common.collect
-
A
Table
whose contents will never change, with many other important properties detailed atImmutableCollection
. - ImmutableTable.Builder<R,C,V> - Class in com.google.common.collect
-
A builder for creating immutable table instances, especially
public static final
tables ("constant tables"). - ImmutableTypeToInstanceMap<B> - Class in com.google.common.reflect
-
A type-to-instance map backed by an
ImmutableMap
. - ImmutableTypeToInstanceMap.Builder<B> - Class in com.google.common.reflect
-
A builder for creating immutable type-to-instance maps.
- ImmutableValueGraph<N,V> - Class in com.google.common.graph
-
A
ValueGraph
whose elements and structural relationships will never change. - impliedFeatures(Set<Feature<?>>) - Static method in class com.google.common.collect.testing.features.FeatureUtil
-
Given a set of features, return a new set of all features directly or indirectly implied by any of them.
- in(Collection<? extends T>) - Static method in class com.google.common.base.Predicates
-
Returns a predicate that evaluates to
true
if the object reference being tested is a member of the given collection. - incidentEdges(Object) - Method in interface com.google.common.graph.Network
-
Returns the edges whose
incident nodes
in this network includenode
. - incidentNodes(Object) - Method in interface com.google.common.graph.Network
-
Returns the nodes which are the endpoints of
edge
in this network. - includingEquals() - Method in class com.google.common.testing.ForwardingWrapperTester
-
Asks for
Object.equals(java.lang.Object)
andObject.hashCode()
to be tested. - INCLUSIVE - com.google.common.collect.testing.DerivedCollectionGenerators.Bound
- inCompletionOrder(Iterable<? extends ListenableFuture<? extends T>>) - Static method in class com.google.common.util.concurrent.Futures
-
Returns a list of delegate futures that correspond to the futures received in the order that they complete.
- increment(InetAddress) - Static method in class com.google.common.net.InetAddresses
-
Returns a new InetAddress that is one more than the passed in address.
- incrementAndGet(K) - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Increments by one the value currently associated with
key
, and returns the new value. - incrementBy(AbstractCache.StatsCounter) - Method in class com.google.common.cache.AbstractCache.SimpleStatsCounter
-
Increments all counters by the values in
other
. - inDegree(Object) - Method in class com.google.common.graph.AbstractGraph
- inDegree(Object) - Method in class com.google.common.graph.AbstractNetwork
- inDegree(Object) - Method in interface com.google.common.graph.Graph
-
Returns the count of
node
's incoming edges (equal topredecessors(node).size()
) in a directed graph. - inDegree(Object) - Method in interface com.google.common.graph.Network
-
Returns the count of
node
'sincoming edges
in a directed network. - index(int) - Method in class com.google.common.math.Quantiles.Scale
-
Specifies a single quantile index to be calculated, i.e.
- index(Function<? super E, K>) - Method in class com.google.common.collect.FluentIterable
-
Creates an index
ImmutableListMultimap
that contains the results of applying a specified function to each item in thisFluentIterable
of values. - index(Iterable<V>, Function<? super V, K>) - Static method in class com.google.common.collect.Multimaps
-
Creates an index
ImmutableListMultimap
that contains the results of applying a specified function to each item in anIterable
of values. - index(Iterator<V>, Function<? super V, K>) - Static method in class com.google.common.collect.Multimaps
-
Creates an index
ImmutableListMultimap
that contains the results of applying a specified function to each item in anIterator
of values. - indexes(int...) - Method in class com.google.common.math.Quantiles.Scale
-
Specifies multiple quantile indexes to be calculated, each index being the k in the kth q-quantile.
- indexes(Collection<Integer>) - Method in class com.google.common.math.Quantiles.Scale
-
Specifies multiple quantile indexes to be calculated, each index being the k in the kth q-quantile.
- indexIn(CharSequence) - Method in class com.google.common.base.CharMatcher
-
Returns the index of the first matching character in a character sequence, or
-1
if no matching character is present. - indexIn(CharSequence, int) - Method in class com.google.common.base.CharMatcher
-
Returns the index of the first matching character in a character sequence, starting from a given position, or
-1
if no character matches after that position. - indexOf(boolean[], boolean) - Static method in class com.google.common.primitives.Booleans
-
Returns the index of the first appearance of the value
target
inarray
. - indexOf(boolean[], boolean[]) - Static method in class com.google.common.primitives.Booleans
-
Returns the start position of the first occurrence of the specified
target
withinarray
, or-1
if there is no such occurrence. - indexOf(byte[], byte) - Static method in class com.google.common.primitives.Bytes
-
Returns the index of the first appearance of the value
target
inarray
. - indexOf(byte[], byte[]) - Static method in class com.google.common.primitives.Bytes
-
Returns the start position of the first occurrence of the specified
target
withinarray
, or-1
if there is no such occurrence. - indexOf(char[], char) - Static method in class com.google.common.primitives.Chars
-
Returns the index of the first appearance of the value
target
inarray
. - indexOf(char[], char[]) - Static method in class com.google.common.primitives.Chars
-
Returns the start position of the first occurrence of the specified
target
withinarray
, or-1
if there is no such occurrence. - indexOf(double[], double) - Static method in class com.google.common.primitives.Doubles
-
Returns the index of the first appearance of the value
target
inarray
. - indexOf(double[], double[]) - Static method in class com.google.common.primitives.Doubles
-
Returns the start position of the first occurrence of the specified
target
withinarray
, or-1
if there is no such occurrence. - indexOf(float[], float) - Static method in class com.google.common.primitives.Floats
-
Returns the index of the first appearance of the value
target
inarray
. - indexOf(float[], float[]) - Static method in class com.google.common.primitives.Floats
-
Returns the start position of the first occurrence of the specified
target
withinarray
, or-1
if there is no such occurrence. - indexOf(int[], int) - Static method in class com.google.common.primitives.Ints
-
Returns the index of the first appearance of the value
target
inarray
. - indexOf(int[], int[]) - Static method in class com.google.common.primitives.Ints
-
Returns the start position of the first occurrence of the specified
target
withinarray
, or-1
if there is no such occurrence. - indexOf(long[], long) - Static method in class com.google.common.primitives.Longs
-
Returns the index of the first appearance of the value
target
inarray
. - indexOf(long[], long[]) - Static method in class com.google.common.primitives.Longs
-
Returns the start position of the first occurrence of the specified
target
withinarray
, or-1
if there is no such occurrence. - indexOf(short[], short) - Static method in class com.google.common.primitives.Shorts
-
Returns the index of the first appearance of the value
target
inarray
. - indexOf(short[], short[]) - Static method in class com.google.common.primitives.Shorts
-
Returns the start position of the first occurrence of the specified
target
withinarray
, or-1
if there is no such occurrence. - indexOf(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
-
Returns the index in
iterable
of the first element that satisfies the providedpredicate
, or-1
if the Iterable has no such elements. - indexOf(Object) - Method in class com.google.common.collect.ForwardingList
- indexOf(Object) - Method in class com.google.common.collect.ImmutableList
- indexOf(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
-
Returns the index in
iterator
of the first element that satisfies the providedpredicate
, or-1
if the Iterator has no such elements. - inducedSubgraph(Graph<N>, Iterable<? extends N>) - Static method in class com.google.common.graph.Graphs
-
Returns the subgraph of
graph
induced bynodes
. - inducedSubgraph(Network<N, E>, Iterable<? extends N>) - Static method in class com.google.common.graph.Graphs
-
Returns the subgraph of
network
induced bynodes
. - inducedSubgraph(ValueGraph<N, V>, Iterable<? extends N>) - Static method in class com.google.common.graph.Graphs
-
Returns the subgraph of
graph
induced bynodes
. - inEdges(Object) - Method in interface com.google.common.graph.Network
-
Returns all edges in this network which can be traversed in the direction (if any) of the edge to end at
node
. - InetAddresses - Class in com.google.common.net
-
Static utility methods pertaining to
InetAddress
instances. - InetAddresses.TeredoInfo - Class in com.google.common.net
-
A simple immutable data class to encapsulate the information to be found in a Teredo address.
- init(G, String) - Method in class com.google.common.collect.testing.AbstractTester
- init(G, String, Runnable, Runnable) - Method in class com.google.common.collect.testing.AbstractTester
- initCollectionWithNullElement() - Method in class com.google.common.collect.testing.AbstractCollectionTester
- initialCapacity(int) - Method in class com.google.common.cache.CacheBuilder
-
Sets the minimum total size for the internal hash tables.
- initialCapacity(int) - Method in class com.google.common.collect.MapMaker
-
Sets the minimum total size for the internal hash tables.
- initialize(Class<?>...) - Static method in class com.google.common.reflect.Reflection
-
Ensures that the given classes are initialized, as described in JLS Section 12.4.2.
- initMapWithNullKey() - Method in class com.google.common.collect.testing.AbstractMapTester
- initMapWithNullValue() - Method in class com.google.common.collect.testing.AbstractMapTester
- initMultimapWithNullKey() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- initMultimapWithNullKeyAndValue() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- initMultimapWithNullValue() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- initThreeCopies() - Method in class com.google.common.collect.testing.google.AbstractMultisetTester
- inOrderTraversal(T) - Method in class com.google.common.collect.BinaryTreeTraverser
- inRange(char, char) - Static method in class com.google.common.base.CharMatcher
-
Returns a
char
matcher that matches any character in a given range (both endpoints are inclusive). - insertion() - Static method in class com.google.common.graph.ElementOrder
-
Returns an instance which specifies that insertion ordering is guaranteed.
- INSERTION - com.google.common.graph.ElementOrder.Type
- INSTANCE - Static variable in class com.google.common.collect.testing.Helpers.NullsBeforeB
- INSTANCE - Static variable in class com.google.common.collect.testing.Helpers.NullsBeforeTwo
- instanceOf(Class<?>) - Static method in class com.google.common.base.Predicates
-
Returns a predicate that evaluates to
true
if the object being tested is an instance of the given class. - integerFunnel() - Static method in class com.google.common.hash.Funnels
-
Returns a funnel for integers.
- integers() - Static method in class com.google.common.collect.DiscreteDomain
-
Returns the discrete domain for values of type
Integer
. - interfaces() - Method in class com.google.common.reflect.TypeToken.TypeSet
-
Returns the types that are interfaces implemented by this type.
- intern(E) - Method in interface com.google.common.collect.Interner
-
Chooses and returns the representative instance for any of a collection of instances that are equal to each other.
- Interner<E> - Interface in com.google.common.collect
-
Provides equivalent behavior to
String.intern()
for other immutable types. - Interners - Class in com.google.common.collect
-
Contains static methods pertaining to instances of
Interner
. - InternetDomainName - Class in com.google.common.net
-
An immutable well-formed internet domain name, such as
com
orfoo.co.uk
. - interruptTask() - Method in class com.google.common.util.concurrent.AbstractFuture
-
Subclasses can override this method to implement interruption of the future's computation.
- intersection(ContiguousSet<C>) - Method in class com.google.common.collect.ContiguousSet
-
Returns the set of values that are contained in both this set and the other.
- intersection(Multiset<E>, Multiset<?>) - Static method in class com.google.common.collect.Multisets
-
Returns an unmodifiable view of the intersection of two multisets.
- intersection(Range<C>) - Method in class com.google.common.collect.Range
-
Returns the maximal range enclosed by both this range and
connectedRange
, if such a range exists. - intersection(Set<? extends T>, Set<? extends T>) - Static method in class com.google.common.collect.testing.features.FeatureUtil
-
Construct a new
Set
that is the intersection of the given sets. - intersection(Set<E>, Set<?>) - Static method in class com.google.common.collect.Sets
-
Returns an unmodifiable view of the intersection of two sets.
- intersects(Range<C>) - Method in class com.google.common.collect.ImmutableRangeSet
- intersects(Range<C>) - Method in interface com.google.common.collect.RangeSet
-
Returns
true
if there exists a non-empty range enclosed by both a member range in this range set and the specified range. - intersects(Range<C>) - Method in class com.google.common.collect.TreeRangeSet
- IntMath - Class in com.google.common.math
-
A class for arithmetic on values of type
int
. - Ints - Class in com.google.common.primitives
-
Static utility methods pertaining to
int
primitives, that are not already found in eitherInteger
orArrays
. - Ints() - Constructor for class com.google.common.collect.testing.SampleElements.Ints
- intValue() - Method in class com.google.common.primitives.UnsignedInteger
-
Returns the value of this
UnsignedInteger
as anint
. - intValue() - Method in class com.google.common.primitives.UnsignedLong
-
Returns the value of this
UnsignedLong
as anint
. - intValue() - Method in class com.google.common.util.concurrent.AtomicDouble
-
Returns the value of this
AtomicDouble
as anint
after a narrowing primitive conversion. - invalidate(Object) - Method in class com.google.common.cache.AbstractCache
- invalidate(Object) - Method in interface com.google.common.cache.Cache
-
Discards any cached value for key
key
. - invalidate(Object) - Method in class com.google.common.cache.ForwardingCache
- invalidateAll() - Method in class com.google.common.cache.AbstractCache
- invalidateAll() - Method in interface com.google.common.cache.Cache
-
Discards all entries in the cache.
- invalidateAll() - Method in class com.google.common.cache.ForwardingCache
- invalidateAll(Iterable<?>) - Method in class com.google.common.cache.AbstractCache
- invalidateAll(Iterable<?>) - Method in interface com.google.common.cache.Cache
-
Discards any cached values for keys
keys
. - invalidateAll(Iterable<?>) - Method in class com.google.common.cache.ForwardingCache
- InvalidCacheLoadException(String) - Constructor for exception com.google.common.cache.CacheLoader.InvalidCacheLoadException
- inverse() - Method in interface com.google.common.collect.BiMap
-
Returns the inverse view of this bimap, which maps each of this bimap's values to its associated key.
- inverse() - Method in class com.google.common.collect.HashBiMap
- inverse() - Method in class com.google.common.collect.ImmutableBiMap
-
Returns the inverse view of this bimap, which maps each of this bimap's values to its associated key.
- inverse() - Method in class com.google.common.collect.ImmutableListMultimap
-
Returns an immutable multimap which is the inverse of this one.
- inverse() - Method in class com.google.common.collect.ImmutableMultimap
-
Returns an immutable multimap which is the inverse of this one.
- inverse() - Method in class com.google.common.collect.ImmutableSetMultimap
-
Returns an immutable multimap which is the inverse of this one.
- inverse() - Method in class com.google.common.math.LinearTransformation
-
Returns the inverse linear transformation.
- InverseBiMapGenerator(OneSizeTestContainerGenerator<BiMap<K, V>, Map.Entry<K, V>>) - Constructor for class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.InverseBiMapGenerator
- invertFrom(Multimap<? extends V, ? extends K>, M) - Static method in class com.google.common.collect.Multimaps
-
Copies each key-value mapping in
source
intodest
, with its key and value reversed. - invisible() - Static method in class com.google.common.base.CharMatcher
-
Determines whether a character is invisible; that is, if its Unicode category is any of SPACE_SEPARATOR, LINE_SEPARATOR, PARAGRAPH_SEPARATOR, CONTROL, FORMAT, SURROGATE, and PRIVATE_USE according to ICU4J.
- INVISIBLE - Static variable in class com.google.common.base.CharMatcher
-
Deprecated.Use
CharMatcher.invisible()
instead. This constant is scheduled to be removed in June 2018. - Invokable<T,R> - Class in com.google.common.reflect
-
Wrapper around either a
Method
or aConstructor
. - invoke(Object, Method, Object[]) - Method in class com.google.common.reflect.AbstractInvocationHandler
-
proxy.hashCode()
delegates toAbstractInvocationHandler.hashCode()
proxy.toString()
delegates toAbstractInvocationHandler.toString()
proxy.equals(argument)
returns true if:proxy
andargument
are of the same type andAbstractInvocationHandler.equals(java.lang.Object)
returns true for theInvocationHandler
ofargument
other method calls are dispatched toAbstractInvocationHandler.handleInvocation(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
. - invoke(T, Object...) - Method in class com.google.common.reflect.Invokable
-
Invokes with
receiver
as 'this' andargs
passed to the underlying method and returns the return value; or calls the underlying constructor withargs
and returns the constructed instance. - invokeAll(Collection<? extends Callable<T>>) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
- invokeAll(Collection<? extends Callable<T>>) - Method in interface com.google.common.util.concurrent.ListeningExecutorService
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in interface com.google.common.util.concurrent.ListeningExecutorService
- invokeAny(Collection<? extends Callable<T>>) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
- is(char) - Static method in class com.google.common.base.CharMatcher
-
Returns a
char
matcher that matches only one specified character. - is(MediaType) - Method in class com.google.common.net.MediaType
-
Returns
true
if this instance falls within the range (as defined by the HTTP Accept header) given by the argument according to three criteria: The type of the argument is the wildcard or equal to the type of this instance. - is6to4Address(Inet6Address) - Static method in class com.google.common.net.InetAddresses
-
Evaluates whether the argument is a 6to4 address.
- isAnnotationPresent(Class<? extends Annotation>) - Method in class com.google.common.reflect.Parameter
- isArray() - Method in class com.google.common.reflect.TypeToken
-
Returns true if this type is known to be an array type, such as
int[]
,T[]
,<? extends Map<String, Integer>[]>
etc. - isCancelled() - Method in class com.google.common.util.concurrent.AbstractFuture
- isCancelled() - Method in class com.google.common.util.concurrent.ForwardingFuture
- isCompatible(BloomFilter<T>) - Method in class com.google.common.hash.BloomFilter
-
Determines whether a given bloom filter is compatible with this bloom filter.
- isCompatIPv4Address(Inet6Address) - Static method in class com.google.common.net.InetAddresses
-
Evaluates whether the argument is an IPv6 "compat" address.
- isConnected(Range<C>) - Method in class com.google.common.collect.Range
-
Returns
true
if there exists a (possibly empty) range which is enclosed by both this range andother
. - isDirected() - Method in interface com.google.common.graph.Graph
-
Returns true if the edges in this graph are directed.
- isDirected() - Method in interface com.google.common.graph.Network
-
Returns true if the edges in this network are directed.
- isDirectory() - Static method in class com.google.common.io.Files
-
Returns a predicate that returns the result of
File.isDirectory()
on input files. - isDone() - Method in interface com.google.common.testing.GcFinalization.FinalizationPredicate
- isDone() - Method in class com.google.common.util.concurrent.AbstractFuture
- isDone() - Method in class com.google.common.util.concurrent.ForwardingFuture
- isEmpty() - Method in class com.google.common.collect.ArrayTable
-
Always returns
false
. - isEmpty() - Method in class com.google.common.collect.ConcurrentHashMultiset
- isEmpty() - Method in class com.google.common.collect.FluentIterable
-
Determines whether this fluent iterable is empty.
- isEmpty() - Method in class com.google.common.collect.ForwardingCollection
- isEmpty() - Method in class com.google.common.collect.ForwardingMap
- isEmpty() - Method in class com.google.common.collect.ForwardingMultimap
- isEmpty() - Method in class com.google.common.collect.ForwardingTable
- isEmpty() - Method in class com.google.common.collect.ImmutableMap
- isEmpty() - Method in class com.google.common.collect.ImmutableRangeSet
- isEmpty() - Method in class com.google.common.collect.LinkedListMultimap
- isEmpty() - Method in interface com.google.common.collect.Multimap
-
Returns
true
if this multimap contains no key-value pairs. - isEmpty() - Method in class com.google.common.collect.Range
-
Returns
true
if this range is of the form[v..v)
or(v..v]
. - isEmpty() - Method in interface com.google.common.collect.RangeSet
-
Returns
true
if this range set contains no ranges. - isEmpty() - Method in interface com.google.common.collect.Table
-
Returns
true
if the table contains no mappings. - isEmpty() - Method in class com.google.common.collect.testing.SafeTreeMap
- isEmpty() - Method in class com.google.common.collect.testing.SafeTreeSet
- isEmpty() - Method in class com.google.common.io.ByteSource
-
Returns whether the source has zero bytes.
- isEmpty() - Method in class com.google.common.io.CharSource
-
Returns whether the source has zero chars.
- isEmpty() - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Returns
true
if this map contains no key-value mappings. - isEmpty(Iterable<?>) - Static method in class com.google.common.collect.Iterables
-
Determines if the given iterable contains no elements.
- isFair() - Method in class com.google.common.util.concurrent.Monitor
-
Returns whether this monitor is using a fair ordering policy.
- isFile() - Static method in class com.google.common.io.Files
-
Returns a predicate that returns the result of
File.isFile()
on input files. - isFinite(double) - Static method in class com.google.common.primitives.Doubles
-
Returns
true
ifvalue
represents a real number. - isFinite(float) - Static method in class com.google.common.primitives.Floats
-
Returns
true
ifvalue
represents a real number. - isHealthy() - Method in class com.google.common.util.concurrent.ServiceManager
-
Returns true if all services are currently in the running state.
- isHorizontal() - Method in class com.google.common.math.LinearTransformation
-
Returns whether this is a horizontal transformation.
- isInetAddress(String) - Static method in class com.google.common.net.InetAddresses
-
Returns
true
if the supplied string is a valid IP string literal,false
otherwise. - isIsatapAddress(Inet6Address) - Static method in class com.google.common.net.InetAddresses
-
Evaluates whether the argument is an ISATAP address.
- isLowerCase(char) - Static method in class com.google.common.base.Ascii
-
Indicates whether
c
is one of the twenty-six lowercase ASCII alphabetic characters between'a'
and'z'
inclusive. - isMappedIPv4Address(String) - Static method in class com.google.common.net.InetAddresses
-
Evaluates whether the argument is an "IPv4 mapped" IPv6 address.
- isMathematicalInteger(double) - Static method in class com.google.common.math.DoubleMath
-
Returns
true
ifx
represents a mathematical integer. - isMaximum(InetAddress) - Static method in class com.google.common.net.InetAddresses
-
Returns true if the InetAddress is either 255.255.255.255 for IPv4 or ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff for IPv6.
- isNot(char) - Static method in class com.google.common.base.CharMatcher
-
Returns a
char
matcher that matches any character except the one specified. - isNull() - Static method in class com.google.common.base.Predicates
-
Returns a predicate that evaluates to
true
if the object reference being tested is null. - isNullOrEmpty(String) - Static method in class com.google.common.base.Strings
-
Returns
true
if the given string is null or is the empty string. - ISO_8859_1 - Static variable in class com.google.common.base.Charsets
-
ISO-8859-1: ISO Latin Alphabet Number 1 (ISO-LATIN-1).
- isOccupied() - Method in class com.google.common.util.concurrent.Monitor
-
Returns whether this monitor is occupied by any thread.
- isOccupiedByCurrentThread() - Method in class com.google.common.util.concurrent.Monitor
-
Returns whether the current thread is occupying this monitor (has entered more times than it has left).
- isOrdered() - Method in class com.google.common.graph.EndpointPair
-
Returns
true
if thisEndpointPair
is an ordered pair (i.e. - isOrdered(Iterable<? extends T>) - Method in class com.google.common.collect.Ordering
-
Returns
true
if each element initerable
after the first is greater than or equal to the element that preceded it, according to this ordering. - isOverridable() - Method in class com.google.common.reflect.Invokable
-
Returns
true
if this is an overridable method. - isPowerOfTwo(double) - Static method in class com.google.common.math.DoubleMath
-
Returns
true
ifx
is exactly equal to2^k
for some finite integerk
. - isPowerOfTwo(int) - Static method in class com.google.common.math.IntMath
-
Returns
true
ifx
represents a power of two. - isPowerOfTwo(long) - Static method in class com.google.common.math.LongMath
-
Returns
true
ifx
represents a power of two. - isPowerOfTwo(BigInteger) - Static method in class com.google.common.math.BigIntegerMath
-
Returns
true
ifx
represents a power of two. - isPresent() - Method in class com.google.common.base.Optional
-
Returns
true
if this holder contains a (non-null) instance. - isPrime(int) - Static method in class com.google.common.math.IntMath
-
Returns
true
ifn
is a prime number: an integer greater than one that cannot be factored into a product of smaller positive integers. - isPrime(long) - Static method in class com.google.common.math.LongMath
-
Returns
true
ifn
is a prime number: an integer greater than one that cannot be factored into a product of smaller positive integers. - isPrimitive() - Method in class com.google.common.reflect.TypeToken
-
Returns true if this type is one of the nine primitive types (including
void
). - isPublicSuffix() - Method in class com.google.common.net.InternetDomainName
-
Indicates whether this domain name represents a public suffix, as defined by the Mozilla Foundation's Public Suffix List (PSL).
- isRunning() - Method in class com.google.common.base.Stopwatch
-
Returns
true
ifStopwatch.start()
has been called on this stopwatch, andStopwatch.stop()
has not been called since the last call tostart()
. - isRunning() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
- isRunning() - Method in class com.google.common.util.concurrent.AbstractIdleService
- isRunning() - Method in class com.google.common.util.concurrent.AbstractScheduledService
- isRunning() - Method in class com.google.common.util.concurrent.AbstractService
- isRunning() - Method in interface com.google.common.util.concurrent.Service
-
Returns
true
if this service is running. - isSatisfied() - Method in class com.google.common.util.concurrent.Monitor.Guard
-
Evaluates this guard's boolean condition.
- isShutdown() - Method in class com.google.common.util.concurrent.ForwardingExecutorService
- isStrictlyOrdered(Iterable<? extends T>) - Method in class com.google.common.collect.Ordering
-
Returns
true
if each element initerable
after the first is strictly greater than the element that preceded it, according to this ordering. - isSubtypeOf(TypeToken<?>) - Method in class com.google.common.reflect.TypeToken
-
Returns true if this type is a subtype of the given
type
. - isSubtypeOf(Type) - Method in class com.google.common.reflect.TypeToken
-
Returns true if this type is a subtype of the given
type
. - isSupertypeOf(TypeToken<?>) - Method in class com.google.common.reflect.TypeToken
-
Returns true if this type is a supertype of the given
type
. - isSupertypeOf(Type) - Method in class com.google.common.reflect.TypeToken
-
Returns true if this type is a supertype of the given
type
. - isTeredoAddress(Inet6Address) - Static method in class com.google.common.net.InetAddresses
-
Evaluates whether the argument is a Teredo address.
- isTerminated() - Method in class com.google.common.util.concurrent.ForwardingExecutorService
- isTopPrivateDomain() - Method in class com.google.common.net.InternetDomainName
-
Indicates whether this domain name is composed of exactly one subdomain component followed by a public suffix.
- isUnderPublicSuffix() - Method in class com.google.common.net.InternetDomainName
-
Indicates whether this domain name ends in a public suffix, while not being a public suffix itself.
- isUpperCase(char) - Static method in class com.google.common.base.Ascii
-
Indicates whether
c
is one of the twenty-six uppercase ASCII alphabetic characters between'A'
and'Z'
inclusive. - isUriInetAddress(String) - Static method in class com.google.common.net.InetAddresses
-
Returns
true
if the supplied string is a valid URI IP string literal,false
otherwise. - isValid(String) - Static method in class com.google.common.net.HostSpecifier
-
Determines whether
specifier
represents a validHostSpecifier
as described in the documentation forHostSpecifier.fromValid(String)
. - isValid(String) - Static method in class com.google.common.net.InternetDomainName
-
Indicates whether the argument is a syntactically valid domain name using lenient validation.
- isVarArgs() - Method in class com.google.common.reflect.Invokable
-
Returns
true
if this was declared to take a variable number of arguments. - isVertical() - Method in class com.google.common.math.LinearTransformation
-
Returns whether this is a vertical transformation.
- isWellFormed(byte[]) - Static method in class com.google.common.base.Utf8
-
Returns
true
ifbytes
is a well-formed UTF-8 byte sequence according to Unicode 6.0. - isWellFormed(byte[], int, int) - Static method in class com.google.common.base.Utf8
-
Returns whether the given byte array slice is a well-formed UTF-8 byte sequence, as defined by
Utf8.isWellFormed(byte[])
. - isWrapperType(Class<?>) - Static method in class com.google.common.primitives.Primitives
-
Returns
true
iftype
is one of the nine primitive-wrapper types, such asInteger
. - Iterables - Class in com.google.common.collect
-
This class contains static utility methods that operate on or return objects of type
Iterable
. - iterator() - Method in class com.google.common.collect.ForwardingCollection
- iterator() - Method in class com.google.common.collect.ImmutableCollection
-
Returns an unmodifiable iterator across the elements in this collection.
- iterator() - Method in class com.google.common.collect.ImmutableList
- iterator() - Method in class com.google.common.collect.ImmutableMultiset
- iterator() - Method in class com.google.common.collect.ImmutableSet
- iterator() - Method in class com.google.common.collect.ImmutableSortedSet
- iterator() - Method in class com.google.common.collect.MinMaxPriorityQueue
-
Returns an iterator over the elements contained in this collection, in no particular order.
- iterator() - Method in interface com.google.common.collect.Multiset
- iterator() - Method in class com.google.common.collect.Sets.SetView
-
Scope the return type to
UnmodifiableIterator
to ensure this is an unmodifiable view. - iterator() - Method in interface com.google.common.collect.SortedMultiset
- iterator() - Method in class com.google.common.collect.testing.MinimalCollection
- iterator() - Method in class com.google.common.collect.testing.MinimalIterable
- iterator() - Method in class com.google.common.collect.testing.SafeTreeSet
- iterator() - Method in class com.google.common.collect.testing.SampleElements
- iterator() - Method in class com.google.common.graph.EndpointPair
-
Iterates in the order
EndpointPair.nodeU()
,EndpointPair.nodeV()
. - IteratorFeature - Enum in com.google.common.collect.testing
-
A method supported by implementations of the
Iterator
orListIterator
interface. - Iterators - Class in com.google.common.collect
-
This class contains static utility methods that operate on or return objects of type
Iterator
. - IteratorTester<E> - Class in com.google.common.collect.testing
-
A utility for testing an Iterator implementation by comparing its behavior to that of a "known good" reference implementation.
- IteratorTester(int, Iterable<? extends IteratorFeature>, Iterable<E>, AbstractIteratorTester.KnownOrder) - Constructor for class com.google.common.collect.testing.IteratorTester
-
Creates an IteratorTester.
- IteratorTestSuiteBuilder<E> - Class in com.google.common.collect.testing
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests an Iterator implementation.
- IteratorTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.IteratorTestSuiteBuilder
J
- JAVA_CLASS_PATH - com.google.common.base.StandardSystemProperty
-
Java class path.
- JAVA_CLASS_VERSION - com.google.common.base.StandardSystemProperty
-
Java class format version number.
- JAVA_COMPILER - com.google.common.base.StandardSystemProperty
-
Name of JIT compiler to use.
- JAVA_DIGIT - Static variable in class com.google.common.base.CharMatcher
-
Deprecated.Use
CharMatcher.javaDigit()
instead. This constant is scheduled to be removed in June 2018. - JAVA_EXT_DIRS - com.google.common.base.StandardSystemProperty
-
Path of extension directory or directories.
- JAVA_HOME - com.google.common.base.StandardSystemProperty
-
Java installation directory.
- JAVA_IO_TMPDIR - com.google.common.base.StandardSystemProperty
-
Default temp file path.
- JAVA_ISO_CONTROL - Static variable in class com.google.common.base.CharMatcher
-
Deprecated.Use
CharMatcher.javaIsoControl()
instead. This constant is scheduled to be removed in June 2018. - JAVA_LETTER - Static variable in class com.google.common.base.CharMatcher
-
Deprecated.Use
CharMatcher.javaLetter()
instead. This constant is scheduled to be removed in June 2018. - JAVA_LETTER_OR_DIGIT - Static variable in class com.google.common.base.CharMatcher
-
Deprecated.Use
CharMatcher.javaLetterOrDigit()
instead. This constant is scheduled to be removed in June 2018. - JAVA_LIBRARY_PATH - com.google.common.base.StandardSystemProperty
-
List of paths to search when loading libraries.
- JAVA_LOWER_CASE - Static variable in class com.google.common.base.CharMatcher
-
Deprecated.Use
CharMatcher.javaLowerCase()
instead. This constant is scheduled to be removed in June 2018. - JAVA_SPECIFICATION_NAME - com.google.common.base.StandardSystemProperty
-
Java Runtime Environment specification name.
- JAVA_SPECIFICATION_VENDOR - com.google.common.base.StandardSystemProperty
-
Java Runtime Environment specification vendor.
- JAVA_SPECIFICATION_VERSION - com.google.common.base.StandardSystemProperty
-
Java Runtime Environment specification version.
- JAVA_UPPER_CASE - Static variable in class com.google.common.base.CharMatcher
-
Deprecated.Use
CharMatcher.javaUpperCase()
instead. This constant is scheduled to be removed in June 2018. - JAVA_VENDOR - com.google.common.base.StandardSystemProperty
-
Java Runtime Environment vendor.
- JAVA_VENDOR_URL - com.google.common.base.StandardSystemProperty
-
Java vendor URL.
- JAVA_VERSION - com.google.common.base.StandardSystemProperty
-
Java Runtime Environment version.
- JAVA_VM_NAME - com.google.common.base.StandardSystemProperty
-
Java Virtual Machine implementation name.
- JAVA_VM_SPECIFICATION_NAME - com.google.common.base.StandardSystemProperty
-
Java Virtual Machine specification name.
- JAVA_VM_SPECIFICATION_VENDOR - com.google.common.base.StandardSystemProperty
-
Java Virtual Machine specification vendor.
- JAVA_VM_SPECIFICATION_VERSION - com.google.common.base.StandardSystemProperty
-
Java Virtual Machine specification version.
- JAVA_VM_VENDOR - com.google.common.base.StandardSystemProperty
-
Java Virtual Machine implementation vendor.
- JAVA_VM_VERSION - com.google.common.base.StandardSystemProperty
-
Java Virtual Machine implementation version.
- javaDigit() - Static method in class com.google.common.base.CharMatcher
-
Determines whether a character is a digit according to Java's definition.
- javaIsoControl() - Static method in class com.google.common.base.CharMatcher
-
Determines whether a character is an ISO control character as specified by
Character.isISOControl(char)
. - javaLetter() - Static method in class com.google.common.base.CharMatcher
-
Determines whether a character is a letter according to Java's definition.
- javaLetterOrDigit() - Static method in class com.google.common.base.CharMatcher
-
Determines whether a character is a letter or digit according to Java's definition.
- javaLowerCase() - Static method in class com.google.common.base.CharMatcher
-
Determines whether a character is lower case according to Java's definition.
- JAVASCRIPT_UTF_8 - Static variable in class com.google.common.net.MediaType
-
RFC 4329 declares this to be the correct media type for JavaScript, but
text/javascript
may be necessary in certain situations for compatibility. - javaUpperCase() - Static method in class com.google.common.base.CharMatcher
-
Determines whether a character is upper case according to Java's definition.
- JdkFutureAdapters - Class in com.google.common.util.concurrent
-
Utilities necessary for working with libraries that supply plain
Future
instances. - join(Joiner) - Method in class com.google.common.collect.FluentIterable
-
Returns a
String
containing all of the elements of this fluent iterable joined withjoiner
. - join(Iterable<?>) - Method in class com.google.common.base.Joiner
-
Returns a string containing the string representation of each of
parts
, using the previously configured separator between each. - join(Iterable<? extends Map.Entry<?, ?>>) - Method in class com.google.common.base.Joiner.MapJoiner
-
Returns a string containing the string representation of each entry in
entries
, using the previously configured separator and key-value separator. - join(Object[]) - Method in class com.google.common.base.Joiner
-
Returns a string containing the string representation of each of
parts
, using the previously configured separator between each. - join(Object, Object, Object...) - Method in class com.google.common.base.Joiner
-
Returns a string containing the string representation of each argument, using the previously configured separator between each.
- join(String, boolean...) - Static method in class com.google.common.primitives.Booleans
-
Returns a string containing the supplied
boolean
values separated byseparator
. - join(String, byte...) - Static method in class com.google.common.primitives.SignedBytes
-
Returns a string containing the supplied
byte
values separated byseparator
. - join(String, byte...) - Static method in class com.google.common.primitives.UnsignedBytes
-
Returns a string containing the supplied
byte
values separated byseparator
. - join(String, char...) - Static method in class com.google.common.primitives.Chars
-
Returns a string containing the supplied
char
values separated byseparator
. - join(String, double...) - Static method in class com.google.common.primitives.Doubles
-
Returns a string containing the supplied
double
values, converted to strings as specified byDouble.toString(double)
, and separated byseparator
. - join(String, float...) - Static method in class com.google.common.primitives.Floats
-
Returns a string containing the supplied
float
values, converted to strings as specified byFloat.toString(float)
, and separated byseparator
. - join(String, int...) - Static method in class com.google.common.primitives.Ints
-
Returns a string containing the supplied
int
values separated byseparator
. - join(String, int...) - Static method in class com.google.common.primitives.UnsignedInts
-
Returns a string containing the supplied unsigned
int
values separated byseparator
. - join(String, long...) - Static method in class com.google.common.primitives.Longs
-
Returns a string containing the supplied
long
values separated byseparator
. - join(String, long...) - Static method in class com.google.common.primitives.UnsignedLongs
-
Returns a string containing the supplied unsigned
long
values separated byseparator
. - join(String, short...) - Static method in class com.google.common.primitives.Shorts
-
Returns a string containing the supplied
short
values separated byseparator
. - join(Iterator<?>) - Method in class com.google.common.base.Joiner
-
Returns a string containing the string representation of each of
parts
, using the previously configured separator between each. - join(Iterator<? extends Map.Entry<?, ?>>) - Method in class com.google.common.base.Joiner.MapJoiner
-
Returns a string containing the string representation of each entry in
entries
, using the previously configured separator and key-value separator. - join(Map<?, ?>) - Method in class com.google.common.base.Joiner.MapJoiner
-
Returns a string containing the string representation of each entry of
map
, using the previously configured separator and key-value separator. - Joiner - Class in com.google.common.base
-
An object which joins pieces of text (specified as an array,
Iterable
, varargs or even aMap
) with a separator. - Joiner.MapJoiner - Class in com.google.common.base
-
An object that joins map entries in the same manner as
Joiner
joins iterables and arrays. - joinUninterruptibly(Thread) - Static method in class com.google.common.util.concurrent.Uninterruptibles
-
Invokes
toJoin.
join()
uninterruptibly. - joinUninterruptibly(Thread, long, TimeUnit) - Static method in class com.google.common.util.concurrent.Uninterruptibles
-
Invokes
unit.
timedJoin(toJoin, timeout)
uninterruptibly. - JPEG - Static variable in class com.google.common.net.MediaType
- JSON_UTF_8 - Static variable in class com.google.common.net.MediaType
K
- k0() - Method in class com.google.common.collect.testing.AbstractMapTester
- k0() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- k1() - Method in class com.google.common.collect.testing.AbstractMapTester
- k1() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- k2() - Method in class com.google.common.collect.testing.AbstractMapTester
- k2() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- k3() - Method in class com.google.common.collect.testing.AbstractMapTester
- k3() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- k4() - Method in class com.google.common.collect.testing.AbstractMapTester
- k4() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- key() - Method in enum com.google.common.base.StandardSystemProperty
-
Returns the key used to lookup this system property.
- KEY_ARCHIVE - Static variable in class com.google.common.net.MediaType
-
As described in PKCS #12: Personal Information Exchange Syntax Standard, PKCS #12 defines an archive file format for storing many cryptography objects as a single file.
- keyComparator() - Method in class com.google.common.collect.TreeMultimap
-
Returns the comparator that orders the multimap keys.
- keys() - Method in class com.google.common.collect.ForwardingMultimap
- keys() - Method in class com.google.common.collect.ImmutableMultimap
-
Returns an immutable multiset containing all the keys in this multimap, in the same order and with the same frequencies as they appear in this multimap; to get only a single occurrence of each key, use
ImmutableMultimap.keySet()
. - keys() - Method in interface com.google.common.collect.Multimap
-
Returns a view collection containing the key from each key-value pair in this multimap, without collapsing duplicates.
- keySet() - Method in class com.google.common.collect.ForwardingMap
- keySet() - Method in class com.google.common.collect.ForwardingMultimap
- keySet() - Method in class com.google.common.collect.HashBiMap
- keySet() - Method in class com.google.common.collect.ImmutableMap
-
Returns an immutable set of the keys in this map.
- keySet() - Method in class com.google.common.collect.ImmutableMultimap
-
Returns an immutable set of the distinct keys in this multimap, in the same order as they appear in this multimap.
- keySet() - Method in class com.google.common.collect.ImmutableSortedMap
-
Returns an immutable sorted set of the keys in this map.
- keySet() - Method in class com.google.common.collect.LinkedHashMultimap
-
Returns a view collection of all distinct keys contained in this multimap.
- keySet() - Method in interface com.google.common.collect.Multimap
-
Returns a view collection of all distinct keys contained in this multimap.
- keySet() - Method in class com.google.common.collect.testing.SafeTreeMap
- keySet() - Method in class com.google.common.collect.TreeMultimap
-
Returns a view collection of all distinct keys contained in this multimap.
- keyType() - Method in class com.google.common.collect.EnumBiMap
-
Returns the associated key type.
- keyType() - Method in class com.google.common.collect.EnumHashBiMap
-
Returns the associated key type.
- KML - Static variable in class com.google.common.net.MediaType
- KMZ - Static variable in class com.google.common.net.MediaType
- KNOWN_ORDER - com.google.common.collect.testing.features.CollectionFeature
-
Indicates that a collection has a well-defined ordering of its elements.
L
- L24_AUDIO - Static variable in class com.google.common.net.MediaType
-
Media type for L24 audio, as defined by RFC 3190.
- last() - Method in class com.google.common.collect.FluentIterable
-
Returns an
Optional
containing the last element in this fluent iterable. - last() - Method in class com.google.common.collect.ForwardingSortedSet
- last() - Method in class com.google.common.collect.ImmutableSortedSet
- last() - Method in class com.google.common.collect.testing.SafeTreeSet
- LAST_EVENT_ID - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Last-Event-ID
header field name. - LAST_MODIFIED - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Last-Modified
header field name. - lastEntry() - Method in class com.google.common.collect.ForwardingNavigableMap
- lastEntry() - Method in class com.google.common.collect.ForwardingSortedMultiset
- lastEntry() - Method in class com.google.common.collect.ImmutableSortedMap
- lastEntry() - Method in interface com.google.common.collect.SortedMultiset
-
Returns the entry of the last element in this multiset, or
null
if this multiset is empty. - lastEntry() - Method in class com.google.common.collect.testing.SafeTreeMap
- lastIndexIn(CharSequence) - Method in class com.google.common.base.CharMatcher
-
Returns the index of the last matching character in a character sequence, or
-1
if no matching character is present. - lastIndexOf(boolean[], boolean) - Static method in class com.google.common.primitives.Booleans
-
Returns the index of the last appearance of the value
target
inarray
. - lastIndexOf(byte[], byte) - Static method in class com.google.common.primitives.Bytes
-
Returns the index of the last appearance of the value
target
inarray
. - lastIndexOf(char[], char) - Static method in class com.google.common.primitives.Chars
-
Returns the index of the last appearance of the value
target
inarray
. - lastIndexOf(double[], double) - Static method in class com.google.common.primitives.Doubles
-
Returns the index of the last appearance of the value
target
inarray
. - lastIndexOf(float[], float) - Static method in class com.google.common.primitives.Floats
-
Returns the index of the last appearance of the value
target
inarray
. - lastIndexOf(int[], int) - Static method in class com.google.common.primitives.Ints
-
Returns the index of the last appearance of the value
target
inarray
. - lastIndexOf(long[], long) - Static method in class com.google.common.primitives.Longs
-
Returns the index of the last appearance of the value
target
inarray
. - lastIndexOf(short[], short) - Static method in class com.google.common.primitives.Shorts
-
Returns the index of the last appearance of the value
target
inarray
. - lastIndexOf(Object) - Method in class com.google.common.collect.ForwardingList
- lastIndexOf(Object) - Method in class com.google.common.collect.ImmutableList
- lastKey() - Method in class com.google.common.collect.ForwardingSortedMap
- lastKey() - Method in class com.google.common.collect.ImmutableSortedMap
- lastKey() - Method in class com.google.common.collect.testing.SafeTreeMap
- latch - Variable in class com.google.common.util.concurrent.testing.AbstractListenableFutureTest
- lazySet(double) - Method in class com.google.common.util.concurrent.AtomicDouble
-
Eventually sets to the given value.
- lazySet(int, double) - Method in class com.google.common.util.concurrent.AtomicDoubleArray
-
Eventually sets the element at position
i
to the given value. - lazyStackTrace(Throwable) - Static method in class com.google.common.base.Throwables
-
Returns the stack trace of
throwable
, possibly providing slower iteration over the full trace but faster iteration over parts of the trace. - lazyStackTraceIsLazy() - Static method in class com.google.common.base.Throwables
-
Returns whether
Throwables.lazyStackTrace(java.lang.Throwable)
will use the special implementation described in its documentation. - lazyTransform(Future<I>, Function<? super I, ? extends O>) - Static method in class com.google.common.util.concurrent.Futures
-
Like
Futures.transform(ListenableFuture, Function)
except that the transformationfunction
is invoked on each call toget()
on the returned future. - lazyWeakLock(int) - Static method in class com.google.common.util.concurrent.Striped
-
Creates a
Striped<Lock>
with lazily initialized, weakly referenced locks. - lazyWeakReadWriteLock(int) - Static method in class com.google.common.util.concurrent.Striped
-
Creates a
Striped<ReadWriteLock>
with lazily initialized, weakly referenced read-write locks. - lazyWeakSemaphore(int, int) - Static method in class com.google.common.util.concurrent.Striped
-
Creates a
Striped<Semaphore>
with lazily initialized, weakly referenced semaphores, with the specified number of permits. - leastOf(Iterable<E>, int) - Method in class com.google.common.collect.Ordering
-
Returns the
k
least elements of the given iterable according to this ordering, in order from least to greatest. - leastOf(Iterator<E>, int) - Method in class com.google.common.collect.Ordering
-
Returns the
k
least elements from the given iterator according to this ordering, in order from least to greatest. - leastSquaresFit() - Method in class com.google.common.math.PairedStats
-
Returns a linear transformation giving the best fit to the data according to Ordinary Least Squares linear regression of
y
as a function ofx
. - leastSquaresFit() - Method in class com.google.common.math.PairedStatsAccumulator
-
Returns a linear transformation giving the best fit to the data according to Ordinary Least Squares linear regression of
y
as a function ofx
. - leave() - Method in class com.google.common.util.concurrent.Monitor
-
Leaves this monitor.
- leftChild(T) - Method in class com.google.common.collect.BinaryTreeTraverser
-
Returns the left child of the specified node, or
Optional.absent()
if the specified node has no left child. - leftValue() - Method in interface com.google.common.collect.MapDifference.ValueDifference
-
Returns the value from the left map (possibly null).
- length() - Method in class com.google.common.io.CharSource
-
Returns the length of this source in chars, even if doing so requires opening and traversing an entire stream.
- length() - Method in class com.google.common.util.concurrent.AtomicDoubleArray
-
Returns the length of the array.
- lengthIfKnown() - Method in class com.google.common.io.CharSource
-
Returns the size of this source in chars, if the size can be easily determined without actually opening the data stream.
- lessThan(C) - Static method in class com.google.common.collect.Range
-
Returns a range that contains all values strictly less than
endpoint
. - lexicographical() - Method in class com.google.common.collect.Ordering
-
Returns a new ordering which sorts iterables by comparing corresponding elements pairwise until a nonzero result is found; imposes "dictionary order".
- lexicographicalComparator() - Static method in class com.google.common.primitives.Booleans
-
Returns a comparator that compares two
boolean
arrays lexicographically. - lexicographicalComparator() - Static method in class com.google.common.primitives.Chars
-
Returns a comparator that compares two
char
arrays lexicographically. - lexicographicalComparator() - Static method in class com.google.common.primitives.Doubles
-
Returns a comparator that compares two
double
arrays lexicographically. - lexicographicalComparator() - Static method in class com.google.common.primitives.Floats
-
Returns a comparator that compares two
float
arrays lexicographically. - lexicographicalComparator() - Static method in class com.google.common.primitives.Ints
-
Returns a comparator that compares two
int
arrays lexicographically. - lexicographicalComparator() - Static method in class com.google.common.primitives.Longs
-
Returns a comparator that compares two
long
arrays lexicographically. - lexicographicalComparator() - Static method in class com.google.common.primitives.Shorts
-
Returns a comparator that compares two
short
arrays lexicographically. - lexicographicalComparator() - Static method in class com.google.common.primitives.SignedBytes
-
Returns a comparator that compares two
byte
arrays lexicographically. - lexicographicalComparator() - Static method in class com.google.common.primitives.UnsignedBytes
-
Returns a comparator that compares two
byte
arrays lexicographically. - lexicographicalComparator() - Static method in class com.google.common.primitives.UnsignedInts
-
Returns a comparator that compares two arrays of unsigned
int
values lexicographically. - lexicographicalComparator() - Static method in class com.google.common.primitives.UnsignedLongs
-
Returns a comparator that compares two arrays of unsigned
long
values lexicographically. - LF - Static variable in class com.google.common.base.Ascii
-
Line Feed ('\n'): A format effector which controls the movement of the printing position to the next printing line.
- limit(int) - Method in class com.google.common.base.Splitter
-
Returns a splitter that behaves equivalently to
this
splitter but stops splitting after it reaches the limit. - limit(int) - Method in class com.google.common.collect.FluentIterable
-
Creates a fluent iterable with the first
size
elements of this fluent iterable. - limit(InputStream, long) - Static method in class com.google.common.io.ByteStreams
-
Wraps a
InputStream
, limiting the number of bytes which can be read. - limit(Iterable<T>, int) - Static method in class com.google.common.collect.Iterables
-
Returns a view of
iterable
containing its firstlimitSize
elements. - limit(Iterator<T>, int) - Static method in class com.google.common.collect.Iterators
-
Returns a view containing the first
limitSize
elements ofiterator
. - LINE_SEPARATOR - com.google.common.base.StandardSystemProperty
-
Line separator ("\n" on UNIX).
- LinearTransformation - Class in com.google.common.math
-
The representation of a linear transformation between real numbers
x
andy
. - LinearTransformation() - Constructor for class com.google.common.math.LinearTransformation
- LinearTransformation.LinearTransformationBuilder - Class in com.google.common.math
-
This is an intermediate stage in the construction process.
- LineProcessor<T> - Interface in com.google.common.io
-
A callback to be used with the streaming
readLines
methods. - LineReader - Class in com.google.common.io
-
A class for reading lines of text.
- LineReader(Readable) - Constructor for class com.google.common.io.LineReader
-
Creates a new instance that will read lines from the given
Readable
object. - LINK - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Link
header field name. - linkedHashKeys() - Static method in class com.google.common.collect.MultimapBuilder
-
Uses a
LinkedHashMap
to map keys to value collections. - linkedHashKeys(int) - Static method in class com.google.common.collect.MultimapBuilder
-
Uses a
LinkedHashMap
to map keys to value collections, initialized to expect the specified number of keys. - LinkedHashMultimap<K,V> - Class in com.google.common.collect
-
Implementation of
Multimap
that does not allow duplicate key-value entries and that returns collections whose iterators follow the ordering in which the data was added to the multimap. - LinkedHashMultiset<E> - Class in com.google.common.collect
-
A
Multiset
implementation with predictable iteration order. - linkedHashSetValues() - Method in class com.google.common.collect.MultimapBuilder.MultimapBuilderWithKeys
-
Uses a
LinkedHashSet
to store value collections. - linkedHashSetValues(int) - Method in class com.google.common.collect.MultimapBuilder.MultimapBuilderWithKeys
-
Uses a
LinkedHashSet
to store value collections, initialized to expect the specified number of values per key. - LinkedListMultimap<K,V> - Class in com.google.common.collect
-
An implementation of
ListMultimap
that supports deterministic iteration order for both keys and values. - linkedListValues() - Method in class com.google.common.collect.MultimapBuilder.MultimapBuilderWithKeys
-
Uses a
LinkedList
to store value collections. - ListAddAllAtIndexTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
addAll(int, Collection)
operations on a list. - ListAddAllAtIndexTester() - Constructor for class com.google.common.collect.testing.testers.ListAddAllAtIndexTester
- ListAddAllTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
addAll(Collection)
operations on a list. - ListAddAllTester() - Constructor for class com.google.common.collect.testing.testers.ListAddAllTester
- ListAddAtIndexTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
add(int, Object)
operations on a list. - ListAddAtIndexTester() - Constructor for class com.google.common.collect.testing.testers.ListAddAtIndexTester
- ListAddTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
add(Object)
operations on a list. - ListAddTester() - Constructor for class com.google.common.collect.testing.testers.ListAddTester
- ListCreationTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests creation (typically through a constructor or static factory method) of a list.
- ListCreationTester() - Constructor for class com.google.common.collect.testing.testers.ListCreationTester
- ListenableFuture<V> - Interface in com.google.common.util.concurrent
-
A
Future
that accepts completion listeners. - ListenableFutureTask<V> - Class in com.google.common.util.concurrent
-
A
FutureTask
that also implements theListenableFuture
interface. - ListenableScheduledFuture<V> - Interface in com.google.common.util.concurrent
-
Helper interface to implement both
ListenableFuture
andScheduledFuture
. - Listener() - Constructor for class com.google.common.util.concurrent.Service.Listener
- Listener() - Constructor for class com.google.common.util.concurrent.ServiceManager.Listener
- listeningDecorator(ExecutorService) - Static method in class com.google.common.util.concurrent.MoreExecutors
-
Creates an
ExecutorService
whosesubmit
andinvokeAll
methods submitListenableFutureTask
instances to the given delegate executor. - listeningDecorator(ScheduledExecutorService) - Static method in class com.google.common.util.concurrent.MoreExecutors
-
Creates a
ScheduledExecutorService
whosesubmit
andinvokeAll
methods submitListenableFutureTask
instances to the given delegate executor. - ListeningExecutorService - Interface in com.google.common.util.concurrent
-
An
ExecutorService
that returnsListenableFuture
instances. - ListeningScheduledExecutorService - Interface in com.google.common.util.concurrent
-
A
ScheduledExecutorService
that returnsListenableFuture
instances from itsExecutorService
methods. - listenInPoolThread(Future<V>) - Static method in class com.google.common.util.concurrent.JdkFutureAdapters
-
Assigns a thread to the given
Future
to provideListenableFuture
functionality. - listenInPoolThread(Future<V>, Executor) - Static method in class com.google.common.util.concurrent.JdkFutureAdapters
-
Submits a blocking task for the given
Future
to provideListenableFuture
functionality. - ListEqualsTester<E> - Class in com.google.common.collect.testing.testers
-
Tests
List.equals(java.lang.Object)
. - ListEqualsTester() - Constructor for class com.google.common.collect.testing.testers.ListEqualsTester
- ListFeature - Enum in com.google.common.collect.testing.features
-
Optional features of classes derived from
List
. - ListFeature.Require - Annotation Type in com.google.common.collect.testing.features
- ListGenerators - Class in com.google.common.collect.testing.google
-
Common generators of different types of lists.
- ListGenerators.BuilderAddAllListGenerator - Class in com.google.common.collect.testing.google
- ListGenerators.BuilderAddListGenerator - Class in com.google.common.collect.testing.google
- ListGenerators.BuilderReversedListGenerator - Class in com.google.common.collect.testing.google
- ListGenerators.CharactersOfCharSequenceGenerator - Class in com.google.common.collect.testing.google
- ListGenerators.CharactersOfStringGenerator - Class in com.google.common.collect.testing.google
- ListGenerators.ImmutableListHeadSubListGenerator - Class in com.google.common.collect.testing.google
- ListGenerators.ImmutableListMiddleSubListGenerator - Class in com.google.common.collect.testing.google
- ListGenerators.ImmutableListOfGenerator - Class in com.google.common.collect.testing.google
- ListGenerators.ImmutableListTailSubListGenerator - Class in com.google.common.collect.testing.google
- ListGenerators.UnhashableElementsImmutableListGenerator - Class in com.google.common.collect.testing.google
- ListGetTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
get()
operations on a list. - ListGetTester() - Constructor for class com.google.common.collect.testing.testers.ListGetTester
- ListHashCodeTester<E> - Class in com.google.common.collect.testing.testers
-
Tests
List.hashCode()
. - ListHashCodeTester() - Constructor for class com.google.common.collect.testing.testers.ListHashCodeTester
- ListIndexOfTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
indexOf()
operations on a list. - ListIndexOfTester() - Constructor for class com.google.common.collect.testing.testers.ListIndexOfTester
- listIterator() - Method in class com.google.common.collect.ForwardingList
- listIterator() - Method in class com.google.common.collect.ImmutableList
- listIterator(int) - Method in class com.google.common.collect.ForwardingList
- listIterator(int) - Method in class com.google.common.collect.ImmutableList
- ListIteratorTester<E> - Class in com.google.common.collect.testing
-
A utility similar to
IteratorTester
for testing aListIterator
against a known good reference implementation. - ListIteratorTester(int, Iterable<E>, Iterable<? extends IteratorFeature>, Iterable<E>, int) - Constructor for class com.google.common.collect.testing.ListIteratorTester
- ListLastIndexOfTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
lastIndexOf()
operations on a list. - ListLastIndexOfTester() - Constructor for class com.google.common.collect.testing.testers.ListLastIndexOfTester
- ListListIteratorTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
listIterator
operations on a list. - ListListIteratorTester() - Constructor for class com.google.common.collect.testing.testers.ListListIteratorTester
- ListMultimap<K,V> - Interface in com.google.common.collect
-
A
Multimap
that can hold duplicate key-value pairs and that maintains the insertion ordering of values for a given key. - ListMultimapAsMapTester<K,V> - Class in com.google.common.collect.testing.google
-
Testers for
ListMultimap.asMap()
. - ListMultimapAsMapTester() - Constructor for class com.google.common.collect.testing.google.ListMultimapAsMapTester
- ListMultimapEqualsTester<K,V> - Class in com.google.common.collect.testing.google
-
Testers for
ListMultimap.equals(Object)
. - ListMultimapEqualsTester() - Constructor for class com.google.common.collect.testing.google.ListMultimapEqualsTester
- ListMultimapPutAllTester<K,V> - Class in com.google.common.collect.testing.google
-
Testers for
Multimap.putAll(Object, Iterable)
. - ListMultimapPutAllTester() - Constructor for class com.google.common.collect.testing.google.ListMultimapPutAllTester
- ListMultimapPutTester<K,V> - Class in com.google.common.collect.testing.google
-
Testers for
Multimap.put(Object, Object)
. - ListMultimapPutTester() - Constructor for class com.google.common.collect.testing.google.ListMultimapPutTester
- ListMultimapRemoveTester<K,V> - Class in com.google.common.collect.testing.google
-
Testers for
Multimap.remove(Object, Object)
. - ListMultimapRemoveTester() - Constructor for class com.google.common.collect.testing.google.ListMultimapRemoveTester
- ListMultimapReplaceValuesTester<K,V> - Class in com.google.common.collect.testing.google
-
Testers for
ListMultimap.replaceValues(Object, Iterable)
. - ListMultimapReplaceValuesTester() - Constructor for class com.google.common.collect.testing.google.ListMultimapReplaceValuesTester
- ListMultimapTestSuiteBuilder<K,V> - Class in com.google.common.collect.testing.google
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a
ListMultimap
implementation. - ListMultimapTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.google.ListMultimapTestSuiteBuilder
- ListRemoveAllTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests removeAll operations on a list.
- ListRemoveAllTester() - Constructor for class com.google.common.collect.testing.testers.ListRemoveAllTester
- ListRemoveAtIndexTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
remove(int)
operations on a list. - ListRemoveAtIndexTester() - Constructor for class com.google.common.collect.testing.testers.ListRemoveAtIndexTester
- ListRemoveTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
remove(Object)
operations on a list. - ListRemoveTester() - Constructor for class com.google.common.collect.testing.testers.ListRemoveTester
- ListRetainAllTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
retainAll
operations on a list. - ListRetainAllTester() - Constructor for class com.google.common.collect.testing.testers.ListRetainAllTester
- Lists - Class in com.google.common.collect
-
Static utility methods pertaining to
List
instances. - ListSetTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
set()
operations on a list. - ListSetTester() - Constructor for class com.google.common.collect.testing.testers.ListSetTester
- ListSubListTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
subList()
operations on a list. - ListSubListTester() - Constructor for class com.google.common.collect.testing.testers.ListSubListTester
- ListTestSuiteBuilder<E> - Class in com.google.common.collect.testing
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a List implementation.
- ListTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.ListTestSuiteBuilder
- ListToArrayTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
toArray()
operations on a list. - ListToArrayTester() - Constructor for class com.google.common.collect.testing.testers.ListToArrayTester
- LittleEndianDataInputStream - Class in com.google.common.io
-
An implementation of
DataInput
that uses little-endian byte ordering for readingshort
,int
,float
,double
, andlong
values. - LittleEndianDataInputStream(InputStream) - Constructor for class com.google.common.io.LittleEndianDataInputStream
-
Creates a
LittleEndianDataInputStream
that wraps the given stream. - LittleEndianDataOutputStream - Class in com.google.common.io
-
An implementation of
DataOutput
that uses little-endian byte ordering for writingchar
,short
,int
,float
,double
, andlong
values. - LittleEndianDataOutputStream(OutputStream) - Constructor for class com.google.common.io.LittleEndianDataOutputStream
-
Creates a
LittleEndianDataOutputStream
that wraps the given stream. - load() - Method in class com.google.common.reflect.ClassPath.ClassInfo
-
Loads (but doesn't link or initialize) the class.
- load(K) - Method in class com.google.common.cache.CacheLoader
-
Computes or retrieves the value corresponding to
key
. - loadAll(Iterable<? extends K>) - Method in class com.google.common.cache.CacheLoader
-
Computes or retrieves the values corresponding to
keys
. - loadCount() - Method in class com.google.common.cache.CacheStats
-
Returns the total number of times that
Cache
lookup methods attempted to load new values. - loadExceptionCount() - Method in class com.google.common.cache.CacheStats
-
Returns the number of times
Cache
lookup methods threw an exception while loading a new value. - loadExceptionRate() - Method in class com.google.common.cache.CacheStats
-
Returns the ratio of cache loading attempts which threw exceptions.
- LoadingCache<K,V> - Interface in com.google.common.cache
-
A semi-persistent mapping from keys to values.
- loadSuccessCount() - Method in class com.google.common.cache.CacheStats
-
Returns the number of times
Cache
lookup methods have successfully loaded a new value. - LOCATION - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Location
header field name. - lock(int) - Static method in class com.google.common.util.concurrent.Striped
-
Creates a
Striped<Lock>
with eagerly initialized, strongly referenced locks. - log10(int, RoundingMode) - Static method in class com.google.common.math.IntMath
-
Returns the base-10 logarithm of
x
, rounded according to the specified rounding mode. - log10(long, RoundingMode) - Static method in class com.google.common.math.LongMath
-
Returns the base-10 logarithm of
x
, rounded according to the specified rounding mode. - log10(BigInteger, RoundingMode) - Static method in class com.google.common.math.BigIntegerMath
-
Returns the base-10 logarithm of
x
, rounded according to the specified rounding mode. - log2(double) - Static method in class com.google.common.math.DoubleMath
-
Returns the base 2 logarithm of a double value.
- log2(double, RoundingMode) - Static method in class com.google.common.math.DoubleMath
-
Returns the base 2 logarithm of a double value, rounded with the specified rounding mode to an
int
. - log2(int, RoundingMode) - Static method in class com.google.common.math.IntMath
-
Returns the base-2 logarithm of
x
, rounded according to the specified rounding mode. - log2(long, RoundingMode) - Static method in class com.google.common.math.LongMath
-
Returns the base-2 logarithm of
x
, rounded according to the specified rounding mode. - log2(BigInteger, RoundingMode) - Static method in class com.google.common.math.BigIntegerMath
-
Returns the base-2 logarithm of
x
, rounded according to the specified rounding mode. - logger - Static variable in class com.google.common.testing.SloppyTearDown
- longFunnel() - Static method in class com.google.common.hash.Funnels
-
Returns a funnel for longs.
- LongMath - Class in com.google.common.math
-
A class for arithmetic on values of type
long
. - longs() - Static method in class com.google.common.collect.DiscreteDomain
-
Returns the discrete domain for values of type
Long
. - Longs - Class in com.google.common.primitives
-
Static utility methods pertaining to
long
primitives, that are not already found in eitherLong
orArrays
. - longValue() - Method in class com.google.common.primitives.UnsignedInteger
-
Returns the value of this
UnsignedInteger
as along
. - longValue() - Method in class com.google.common.primitives.UnsignedLong
-
Returns the value of this
UnsignedLong
as along
. - longValue() - Method in class com.google.common.util.concurrent.AtomicDouble
-
Returns the value of this
AtomicDouble
as along
after a narrowing primitive conversion. - lower(E) - Method in class com.google.common.collect.ForwardingNavigableSet
- lower(E) - Method in class com.google.common.collect.ImmutableSortedSet
- lower(E) - Method in class com.google.common.collect.testing.SafeTreeSet
- LOWER_CAMEL - com.google.common.base.CaseFormat
-
Java variable naming convention, e.g., "lowerCamel".
- LOWER_HYPHEN - com.google.common.base.CaseFormat
-
Hyphenated variable naming convention, e.g., "lower-hyphen".
- LOWER_UNDERSCORE - com.google.common.base.CaseFormat
-
C++ variable naming convention, e.g., "lower_underscore".
- lowerBoundType() - Method in class com.google.common.collect.Range
-
Returns the type of this range's lower bound:
BoundType.CLOSED
if the range includes its lower endpoint,BoundType.OPEN
if it does not. - lowerCase() - Method in class com.google.common.io.BaseEncoding
-
Returns an encoding that behaves equivalently to this encoding, but encodes and decodes with lowercase letters.
- lowerEndpoint() - Method in class com.google.common.collect.Range
-
Returns the lower endpoint of this range.
- lowerEntry(K) - Method in class com.google.common.collect.ForwardingNavigableMap
- lowerEntry(K) - Method in class com.google.common.collect.ImmutableSortedMap
- lowerEntry(K) - Method in class com.google.common.collect.testing.SafeTreeMap
- lowerKey(K) - Method in class com.google.common.collect.ForwardingNavigableMap
- lowerKey(K) - Method in class com.google.common.collect.ImmutableSortedMap
- lowerKey(K) - Method in class com.google.common.collect.testing.SafeTreeMap
M
- makeChecked(ListenableFuture<V>, Function<? super Exception, X>) - Static method in class com.google.common.util.concurrent.Futures
-
Creates a
CheckedFuture
out of a normalListenableFuture
and aFunction
that maps fromException
instances into the appropriate checked type. - makeEitherMap() - Method in class com.google.common.collect.testing.MapInterfaceTest
-
Used by tests that require a map, but don't care whether it's populated or not.
- makeEitherMap() - Method in class com.google.common.collect.testing.SortedMapInterfaceTest
- makeEmptyMap() - Method in class com.google.common.collect.testing.MapInterfaceTest
-
Creates a new, empty instance of the class under test.
- makeEmptyMap() - Method in class com.google.common.collect.testing.SortedMapInterfaceTest
- makeMap() - Method in class com.google.common.collect.MapMaker
-
Builds a thread-safe map.
- makePopulatedMap() - Method in class com.google.common.collect.testing.MapInterfaceTest
-
Creates a new, non-empty instance of the class under test.
- makePopulatedMap() - Method in class com.google.common.collect.testing.SortedMapInterfaceTest
- makeSuiteForTesterClass(Class<? extends AbstractTester<?>>) - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- MANIFEST_JSON_UTF_8 - Static variable in class com.google.common.net.MediaType
-
Media type for the Manifest for a web application.
- map(File) - Static method in class com.google.common.io.Files
-
Fully maps a file read-only in to memory as per
FileChannel.map(java.nio.channels.FileChannel.MapMode, long, long)
. - map(File, FileChannel.MapMode) - Static method in class com.google.common.io.Files
-
Fully maps a file in to memory as per
FileChannel.map(java.nio.channels.FileChannel.MapMode, long, long)
using the requestedFileChannel.MapMode
. - map(File, FileChannel.MapMode, long) - Static method in class com.google.common.io.Files
-
Maps a file in to memory as per
FileChannel.map(java.nio.channels.FileChannel.MapMode, long, long)
using the requestedFileChannel.MapMode
. - MapClearTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
clear()
operations on a map. - MapClearTester() - Constructor for class com.google.common.collect.testing.testers.MapClearTester
- MapConstraint<K,V> - Interface in com.google.common.collect
-
Deprecated.Use
Preconditions
for basic checks. In place of constrained maps, we encourage you to check your preconditions explicitly instead of leaving that work to the map implementation. For the specific case of rejecting null, considerImmutableMap
. This class is scheduled for removal in Guava 21.0. - MapConstraints - Class in com.google.common.collect
-
Deprecated.Use
Preconditions
for basic checks. In place of constrained maps, we encourage you to check your preconditions explicitly instead of leaving that work to the map implementation. For the specific case of rejecting null, considerImmutableMap
. This class is scheduled for removal in Guava 21.0. - MapContainsKeyTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
containsKey()
operations on a map. - MapContainsKeyTester() - Constructor for class com.google.common.collect.testing.testers.MapContainsKeyTester
- MapContainsValueTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
containsValue()
operations on a map. - MapContainsValueTester() - Constructor for class com.google.common.collect.testing.testers.MapContainsValueTester
- MapCreationTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests creation (typically through a constructor or static factory method) of a map.
- MapCreationTester() - Constructor for class com.google.common.collect.testing.testers.MapCreationTester
- MapDifference<K,V> - Interface in com.google.common.collect
-
An object representing the differences between two maps.
- MapDifference.ValueDifference<V> - Interface in com.google.common.collect
-
A difference between the mappings from two maps with the same key.
- mapEntries(SampleElements<K>, SampleElements<V>) - Static method in class com.google.common.collect.testing.SampleElements
- mapEntry(K, V) - Static method in class com.google.common.collect.testing.Helpers
- MapEntrySetGenerator(OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>>) - Constructor for class com.google.common.collect.testing.DerivedCollectionGenerators.MapEntrySetGenerator
- MapEntrySetTester<K,V> - Class in com.google.common.collect.testing.testers
-
Tests
Map.entrySet()
. - MapEntrySetTester() - Constructor for class com.google.common.collect.testing.testers.MapEntrySetTester
- MapEqualsTester<K,V> - Class in com.google.common.collect.testing.testers
-
Tests
Map.equals(java.lang.Object)
. - MapEqualsTester() - Constructor for class com.google.common.collect.testing.testers.MapEqualsTester
- mapException(Exception) - Method in class com.google.common.util.concurrent.AbstractCheckedFuture
-
Translates from an
InterruptedException
,CancellationException
orExecutionException
thrown byget
to an exception of typeX
to be thrown bycheckedGet
. - MapFeature - Enum in com.google.common.collect.testing.features
-
Optional features of classes derived from
Map
. - MapFeature.Require - Annotation Type in com.google.common.collect.testing.features
- MapGenerator(OneSizeTestContainerGenerator<BiMap<K, V>, Map.Entry<K, V>>) - Constructor for class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.MapGenerator
- MapGenerators - Class in com.google.common.collect.testing.google
-
Generators of different types of map and related collections, such as keys, entries and values.
- MapGenerators() - Constructor for class com.google.common.collect.testing.google.MapGenerators
- MapGenerators.ImmutableEnumMapGenerator - Class in com.google.common.collect.testing.google
- MapGenerators.ImmutableMapCopyOfEntriesGenerator - Class in com.google.common.collect.testing.google
- MapGenerators.ImmutableMapCopyOfEnumMapGenerator - Class in com.google.common.collect.testing.google
- MapGenerators.ImmutableMapCopyOfGenerator - Class in com.google.common.collect.testing.google
- MapGenerators.ImmutableMapEntryListGenerator - Class in com.google.common.collect.testing.google
- MapGenerators.ImmutableMapGenerator - Class in com.google.common.collect.testing.google
- MapGenerators.ImmutableMapKeyListGenerator - Class in com.google.common.collect.testing.google
- MapGenerators.ImmutableMapUnhashableValuesGenerator - Class in com.google.common.collect.testing.google
- MapGenerators.ImmutableMapValueListGenerator - Class in com.google.common.collect.testing.google
- MapGetTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
get
operations on a map. - MapGetTester() - Constructor for class com.google.common.collect.testing.testers.MapGetTester
- MapHashCodeTester<K,V> - Class in com.google.common.collect.testing.testers
-
Tests
Map.hashCode()
. - MapHashCodeTester() - Constructor for class com.google.common.collect.testing.testers.MapHashCodeTester
- MapInterfaceTest<K,V> - Class in com.google.common.collect.testing
-
Tests representing the contract of
Map
. - MapInterfaceTest(boolean, boolean, boolean, boolean, boolean) - Constructor for class com.google.common.collect.testing.MapInterfaceTest
-
Constructor that assigns
supportsIteratorRemove
the same value assupportsRemove
. - MapInterfaceTest(boolean, boolean, boolean, boolean, boolean, boolean) - Constructor for class com.google.common.collect.testing.MapInterfaceTest
-
Constructor with an explicit
supportsIteratorRemove
parameter. - MapIsEmptyTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
isEmpty()
operations on a map. - MapIsEmptyTester() - Constructor for class com.google.common.collect.testing.testers.MapIsEmptyTester
- MapKeySetGenerator(OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>>) - Constructor for class com.google.common.collect.testing.DerivedCollectionGenerators.MapKeySetGenerator
- MapMaker - Class in com.google.common.collect
-
A builder of
ConcurrentMap
instances that can have keys or values automatically wrapped in weak references. - MapMaker() - Constructor for class com.google.common.collect.MapMaker
-
Constructs a new
MapMaker
instance with default settings, including strong keys, strong values, and no automatic eviction of any kind. - mapping(double, double) - Static method in class com.google.common.math.LinearTransformation
-
Start building an instance which maps
x = x1
toy = y1
. - MapPutAllTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
putAll
operations on a map. - MapPutAllTester() - Constructor for class com.google.common.collect.testing.testers.MapPutAllTester
- MapPutTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
put
operations on a map. - MapPutTester() - Constructor for class com.google.common.collect.testing.testers.MapPutTester
- MapRemoveTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
remove
operations on a map. - MapRemoveTester() - Constructor for class com.google.common.collect.testing.testers.MapRemoveTester
- Maps - Class in com.google.common.collect
- Maps.EntryTransformer<K,V1,V2> - Interface in com.google.common.collect
-
A transformation of the value of a key-value pair, using both key and value as inputs.
- MapSerializationTester<K,V> - Class in com.google.common.collect.testing.testers
-
Basic serialization test for maps.
- MapSerializationTester() - Constructor for class com.google.common.collect.testing.testers.MapSerializationTester
- MapSizeTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
size()
operations on a map. - MapSizeTester() - Constructor for class com.google.common.collect.testing.testers.MapSizeTester
- MapSortedKeySetGenerator(OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>>) - Constructor for class com.google.common.collect.testing.DerivedCollectionGenerators.MapSortedKeySetGenerator
- MapTestSuiteBuilder<K,V> - Class in com.google.common.collect.testing
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a Map implementation.
- MapTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.MapTestSuiteBuilder
- MapToStringTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
toString()
operations on a map. - MapToStringTester() - Constructor for class com.google.common.collect.testing.testers.MapToStringTester
- MapValueCollectionGenerator(OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>>) - Constructor for class com.google.common.collect.testing.DerivedCollectionGenerators.MapValueCollectionGenerator
- mark(int) - Method in class com.google.common.hash.HashingInputStream
-
mark() is not supported for HashingInputStream
- mark(int) - Method in class com.google.common.io.CountingInputStream
- markSupported() - Method in class com.google.common.hash.HashingInputStream
-
mark() is not supported for HashingInputStream
- matches(char) - Method in class com.google.common.base.CharMatcher
-
Determines a true or false value for the given character.
- matchesAllOf(CharSequence) - Method in class com.google.common.base.CharMatcher
-
Returns
true
if a character sequence contains only matching characters. - matchesAnyOf(CharSequence) - Method in class com.google.common.base.CharMatcher
-
Returns
true
if a character sequence contains at least one matching character. - matchesNoneOf(CharSequence) - Method in class com.google.common.base.CharMatcher
-
Returns
true
if a character sequence contains no matching characters. - max() - Method in class com.google.common.math.Stats
-
Returns the highest value in the dataset.
- max() - Method in class com.google.common.math.StatsAccumulator
-
Returns the highest value in the dataset.
- max(byte...) - Static method in class com.google.common.primitives.SignedBytes
-
Returns the greatest value present in
array
. - max(byte...) - Static method in class com.google.common.primitives.UnsignedBytes
-
Returns the greatest value present in
array
. - max(char...) - Static method in class com.google.common.primitives.Chars
-
Returns the greatest value present in
array
. - max(double...) - Static method in class com.google.common.primitives.Doubles
-
Returns the greatest value present in
array
, using the same rules of comparison asMath.max(double, double)
. - max(float...) - Static method in class com.google.common.primitives.Floats
-
Returns the greatest value present in
array
, using the same rules of comparison asMath.max(float, float)
. - max(int...) - Static method in class com.google.common.primitives.Ints
-
Returns the greatest value present in
array
. - max(int...) - Static method in class com.google.common.primitives.UnsignedInts
-
Returns the greatest value present in
array
, treating values as unsigned. - max(long...) - Static method in class com.google.common.primitives.Longs
-
Returns the greatest value present in
array
. - max(long...) - Static method in class com.google.common.primitives.UnsignedLongs
-
Returns the greatest value present in
array
, treating values as unsigned. - max(short...) - Static method in class com.google.common.primitives.Shorts
-
Returns the greatest value present in
array
. - max(E, E) - Method in class com.google.common.collect.Ordering
-
Returns the greater of the two values according to this ordering.
- max(E, E, E, E...) - Method in class com.google.common.collect.Ordering
-
Returns the greatest of the specified values according to this ordering.
- max(Iterable<E>) - Method in class com.google.common.collect.Ordering
-
Returns the greatest of the specified values according to this ordering.
- max(Iterator<E>) - Method in class com.google.common.collect.Ordering
-
Returns the greatest of the specified values according to this ordering.
- MAX - Static variable in class com.google.common.base.Ascii
-
The maximum value of an ASCII character.
- MAX_FORWARDS - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Max-Forwards
header field name. - MAX_POWER_OF_TWO - Static variable in class com.google.common.primitives.Ints
-
The largest power of two that can be represented as an
int
. - MAX_POWER_OF_TWO - Static variable in class com.google.common.primitives.Longs
-
The largest power of two that can be represented as a
long
. - MAX_POWER_OF_TWO - Static variable in class com.google.common.primitives.Shorts
-
The largest power of two that can be represented as a
short
. - MAX_POWER_OF_TWO - Static variable in class com.google.common.primitives.SignedBytes
-
The largest power of two that can be represented as a signed
byte
. - MAX_POWER_OF_TWO - Static variable in class com.google.common.primitives.UnsignedBytes
-
The largest power of two that can be represented as an unsigned
byte
. - MAX_VALUE - Static variable in class com.google.common.primitives.UnsignedBytes
-
The largest value that fits into an unsigned byte.
- MAX_VALUE - Static variable in class com.google.common.primitives.UnsignedInteger
- MAX_VALUE - Static variable in class com.google.common.primitives.UnsignedLong
- MAX_VALUE - Static variable in class com.google.common.primitives.UnsignedLongs
- maximumSize(int) - Method in class com.google.common.collect.MinMaxPriorityQueue.Builder
-
Configures this builder to build
MinMaxPriorityQueue
instances that are limited tomaximumSize
elements. - maximumSize(int) - Static method in class com.google.common.collect.MinMaxPriorityQueue
-
Creates and returns a new builder, configured to build
MinMaxPriorityQueue
instances that are limited tomaximumSize
elements. - maximumSize(long) - Method in class com.google.common.cache.CacheBuilder
-
Specifies the maximum number of entries the cache may contain.
- maximumWeight(long) - Method in class com.google.common.cache.CacheBuilder
-
Specifies the maximum weight of entries the cache may contain.
- maxValue() - Method in class com.google.common.collect.DiscreteDomain
-
Returns the maximum value of type
C
, if it has one. - MBOX - Static variable in class com.google.common.net.MediaType
- md5() - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the MD5 hash algorithm (128 hash bits) by delegating to the MD5
MessageDigest
. - mean() - Method in class com.google.common.math.Stats
-
Returns the arithmetic mean of the values.
- mean() - Method in class com.google.common.math.StatsAccumulator
-
Returns the arithmetic mean of the values.
- mean(double...) - Static method in class com.google.common.math.DoubleMath
-
Deprecated.Use
Stats.meanOf(java.lang.Iterable<? extends java.lang.Number>)
instead, noting the less strict handling of non-finite values. This method will be removed in February 2018. - mean(int...) - Static method in class com.google.common.math.DoubleMath
-
Deprecated.Use
Stats.meanOf(java.lang.Iterable<? extends java.lang.Number>)
instead, noting the less strict handling of non-finite values. This method will be removed in February 2018. - mean(int, int) - Static method in class com.google.common.math.IntMath
-
Returns the arithmetic mean of
x
andy
, rounded towards negative infinity. - mean(long...) - Static method in class com.google.common.math.DoubleMath
-
Deprecated.Use
Stats.meanOf(java.lang.Iterable<? extends java.lang.Number>)
instead, noting the less strict handling of non-finite values. This method will be removed in February 2018. - mean(long, long) - Static method in class com.google.common.math.LongMath
-
Returns the arithmetic mean of
x
andy
, rounded toward negative infinity. - mean(Iterable<? extends Number>) - Static method in class com.google.common.math.DoubleMath
-
Deprecated.Use
Stats.meanOf(java.lang.Iterable<? extends java.lang.Number>)
instead, noting the less strict handling of non-finite values. This method will be removed in February 2018. - mean(Iterator<? extends Number>) - Static method in class com.google.common.math.DoubleMath
-
Deprecated.Use
Stats.meanOf(java.lang.Iterable<? extends java.lang.Number>)
instead, noting the less strict handling of non-finite values. This method will be removed in February 2018. - meanOf(double...) - Static method in class com.google.common.math.Stats
-
Returns the arithmetic mean of the values.
- meanOf(int...) - Static method in class com.google.common.math.Stats
-
Returns the arithmetic mean of the values.
- meanOf(long...) - Static method in class com.google.common.math.Stats
-
Returns the arithmetic mean of the values.
- meanOf(Iterable<? extends Number>) - Static method in class com.google.common.math.Stats
-
Returns the arithmetic mean of the values.
- meanOf(Iterator<? extends Number>) - Static method in class com.google.common.math.Stats
-
Returns the arithmetic mean of the values.
- median() - Static method in class com.google.common.math.Quantiles
-
Specifies the computation of a median (i.e.
- MediaType - Class in com.google.common.net
-
Represents an Internet Media Type (also known as a MIME Type or Content Type).
- memoize(Supplier<T>) - Static method in class com.google.common.base.Suppliers
-
Returns a supplier which caches the instance retrieved during the first call to
get()
and returns that value on subsequent calls toget()
. - memoizeWithExpiration(Supplier<T>, long, TimeUnit) - Static method in class com.google.common.base.Suppliers
-
Returns a supplier that caches the instance supplied by the delegate and removes the cached value after the specified time has passed.
- mergeSorted(Iterable<? extends Iterable<? extends T>>, Comparator<? super T>) - Static method in class com.google.common.collect.Iterables
-
Returns an iterable over the merged contents of all given
iterables
. - mergeSorted(Iterable<? extends Iterator<? extends T>>, Comparator<? super T>) - Static method in class com.google.common.collect.Iterators
-
Returns an iterator over the merged contents of all given
iterators
, traversing every element of the input iterators. - method(Method) - Method in class com.google.common.reflect.TypeToken
- MICROSOFT_EXCEL - Static variable in class com.google.common.net.MediaType
- MICROSOFT_POWERPOINT - Static variable in class com.google.common.net.MediaType
- MICROSOFT_WORD - Static variable in class com.google.common.net.MediaType
- mightContain(T) - Method in class com.google.common.hash.BloomFilter
-
Returns
true
if the element might have been put in this Bloom filter,false
if this is definitely not the case. - min() - Method in class com.google.common.math.Stats
-
Returns the lowest value in the dataset.
- min() - Method in class com.google.common.math.StatsAccumulator
-
Returns the lowest value in the dataset.
- min(byte...) - Static method in class com.google.common.primitives.SignedBytes
-
Returns the least value present in
array
. - min(byte...) - Static method in class com.google.common.primitives.UnsignedBytes
-
Returns the least value present in
array
. - min(char...) - Static method in class com.google.common.primitives.Chars
-
Returns the least value present in
array
. - min(double...) - Static method in class com.google.common.primitives.Doubles
-
Returns the least value present in
array
, using the same rules of comparison asMath.min(double, double)
. - min(float...) - Static method in class com.google.common.primitives.Floats
-
Returns the least value present in
array
, using the same rules of comparison asMath.min(float, float)
. - min(int...) - Static method in class com.google.common.primitives.Ints
-
Returns the least value present in
array
. - min(int...) - Static method in class com.google.common.primitives.UnsignedInts
-
Returns the least value present in
array
, treating values as unsigned. - min(long...) - Static method in class com.google.common.primitives.Longs
-
Returns the least value present in
array
. - min(long...) - Static method in class com.google.common.primitives.UnsignedLongs
-
Returns the least value present in
array
, treating values as unsigned. - min(short...) - Static method in class com.google.common.primitives.Shorts
-
Returns the least value present in
array
. - min(E, E) - Method in class com.google.common.collect.Ordering
-
Returns the lesser of the two values according to this ordering.
- min(E, E, E, E...) - Method in class com.google.common.collect.Ordering
-
Returns the least of the specified values according to this ordering.
- min(Iterable<E>) - Method in class com.google.common.collect.Ordering
-
Returns the least of the specified values according to this ordering.
- min(Iterator<E>) - Method in class com.google.common.collect.Ordering
-
Returns the least of the specified values according to this ordering.
- MIN - Static variable in class com.google.common.base.Ascii
-
The minimum value of an ASCII character.
- MIN_ELEMENT - Static variable in class com.google.common.collect.testing.SampleElements.Strings
- MinimalCollection<E> - Class in com.google.common.collect.testing
-
A simplistic collection which implements only the bare minimum allowed by the spec, and throws exceptions whenever it can.
- MinimalIterable<E> - Class in com.google.common.collect.testing
-
An implementation of
Iterable
which throws an exception on all invocations of theMinimalIterable.iterator()
method after the first, and whose iterator is always unmodifiable. - MinimalSet<E> - Class in com.google.common.collect.testing
-
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> - Class in com.google.common.collect
-
A double-ended priority queue, which provides constant-time access to both its least element and its greatest element, as determined by the queue's specified comparator.
- MinMaxPriorityQueue.Builder<B> - Class in com.google.common.collect
-
The builder class used in creation of min-max priority queues.
- minus(CacheStats) - Method in class com.google.common.cache.CacheStats
-
Returns a new
CacheStats
representing the difference between thisCacheStats
andother
. - minus(UnsignedInteger) - Method in class com.google.common.primitives.UnsignedInteger
-
Returns the result of subtracting this and
val
. - minus(UnsignedLong) - Method in class com.google.common.primitives.UnsignedLong
-
Returns the result of subtracting this and
val
. - minValue() - Method in class com.google.common.collect.DiscreteDomain
-
Returns the minimum value of type
C
, if it has one. - misleadingSizeCollection(int) - Static method in class com.google.common.collect.testing.Helpers
-
Returns a collection that simulates concurrent modification by having its size method return incorrect values.
- missCount() - Method in class com.google.common.cache.CacheStats
-
Returns the number of times
Cache
lookup methods have returned an uncached (newly loaded) value, or null. - missRate() - Method in class com.google.common.cache.CacheStats
-
Returns the ratio of cache requests which were misses.
- MockFutureListener - Class in com.google.common.util.concurrent.testing
-
A simple mock implementation of
Runnable
that can be used for testing ListenableFutures. - MockFutureListener(ListenableFuture<?>) - Constructor for class com.google.common.util.concurrent.testing.MockFutureListener
- mod(int, int) - Static method in class com.google.common.math.IntMath
-
Returns
x mod m
, a non-negative value less thanm
. - mod(long, int) - Static method in class com.google.common.math.LongMath
-
Returns
x mod m
, a non-negative value less thanm
. - mod(long, long) - Static method in class com.google.common.math.LongMath
-
Returns
x mod m
, a non-negative value less thanm
. - mod(UnsignedInteger) - Method in class com.google.common.primitives.UnsignedInteger
-
Returns this mod
val
. - mod(UnsignedLong) - Method in class com.google.common.primitives.UnsignedLong
-
Returns this modulo
val
. - MODIFIABLE - Static variable in enum com.google.common.collect.testing.IteratorFeature
-
A set containing all of the optional features of the
Iterator
andListIterator
interfaces. - Monitor - Class in com.google.common.util.concurrent
-
A synchronization abstraction supporting waiting on arbitrary boolean conditions.
- Monitor() - Constructor for class com.google.common.util.concurrent.Monitor
-
Creates a monitor with a non-fair (but fast) ordering policy.
- Monitor(boolean) - Constructor for class com.google.common.util.concurrent.Monitor
-
Creates a monitor with the given ordering policy.
- Monitor.Guard - Class in com.google.common.util.concurrent
-
A boolean condition for which a thread may wait.
- MoreExecutors - Class in com.google.common.util.concurrent
-
Factory and utility methods for
Executor
,ExecutorService
, andThreadFactory
. - MoreObjects - Class in com.google.common.base
-
Helper functions that operate on any
Object
, and are not already provided inObjects
. - MoreObjects.ToStringHelper - Class in com.google.common.base
-
Support class for
MoreObjects.toStringHelper(java.lang.Object)
. - move(File, File) - Static method in class com.google.common.io.Files
-
Moves a file from one path to another.
- MP4_AUDIO - Static variable in class com.google.common.net.MediaType
- MP4_VIDEO - Static variable in class com.google.common.net.MediaType
- MPEG_AUDIO - Static variable in class com.google.common.net.MediaType
- MPEG_VIDEO - Static variable in class com.google.common.net.MediaType
- multimap() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- Multimap<K,V> - Interface in com.google.common.collect
-
A collection that maps keys to values, similar to
Map
, but in which each key may be associated with multiple values. - MultimapAsMapGetTester<K,V> - Class in com.google.common.collect.testing.google
-
Tests for
Multimap.asMap().get(Object)
. - MultimapAsMapGetTester() - Constructor for class com.google.common.collect.testing.google.MultimapAsMapGetTester
- MultimapAsMapTester<K,V> - Class in com.google.common.collect.testing.google
-
Tests for
Multimap.asMap()
. - MultimapAsMapTester() - Constructor for class com.google.common.collect.testing.google.MultimapAsMapTester
- MultimapBuilder<K0,V0> - Class in com.google.common.collect
-
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> - Class in com.google.common.collect
-
A specialization of
MultimapBuilder
that generatesListMultimap
instances. - MultimapBuilder.MultimapBuilderWithKeys<K0> - Class in com.google.common.collect
-
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> - Class in com.google.common.collect
-
A specialization of
MultimapBuilder
that generatesSetMultimap
instances. - MultimapBuilder.SortedSetMultimapBuilder<K0,V0> - Class in com.google.common.collect
-
A specialization of
MultimapBuilder
that generatesSortedSetMultimap
instances. - MultimapClearTester<K,V> - Class in com.google.common.collect.testing.google
-
Tests for
Multimap.clear()
. - MultimapClearTester() - Constructor for class com.google.common.collect.testing.google.MultimapClearTester
- MultimapContainsEntryTester<K,V> - Class in com.google.common.collect.testing.google
- MultimapContainsEntryTester() - Constructor for class com.google.common.collect.testing.google.MultimapContainsEntryTester
- MultimapContainsKeyTester<K,V> - Class in com.google.common.collect.testing.google
-
Tester for the
containsKey
methods ofMultimap
and itsasMap()
view. - MultimapContainsKeyTester() - Constructor for class com.google.common.collect.testing.google.MultimapContainsKeyTester
- MultimapContainsValueTester<K,V> - Class in com.google.common.collect.testing.google
-
Tester for
Multimap.containsValue(java.lang.Object)
. - MultimapContainsValueTester() - Constructor for class com.google.common.collect.testing.google.MultimapContainsValueTester
- MultimapEntriesTester<K,V> - Class in com.google.common.collect.testing.google
-
Tester for
Multimap.entries
. - MultimapEntriesTester() - Constructor for class com.google.common.collect.testing.google.MultimapEntriesTester
- MultimapEqualsTester<K,V> - Class in com.google.common.collect.testing.google
-
Tester for
Multimap.equals
. - MultimapEqualsTester() - Constructor for class com.google.common.collect.testing.google.MultimapEqualsTester
- MultimapFeature - Enum in com.google.common.collect.testing.google
-
Optional features of classes derived from
Multimap
. - MultimapFeature.Require - Annotation Type in com.google.common.collect.testing.google
- MultimapGetTester<K,V> - Class in com.google.common.collect.testing.google
-
Tests for
Multimap.get(Object)
. - MultimapGetTester() - Constructor for class com.google.common.collect.testing.google.MultimapGetTester
- MultimapKeySetTester<K,V> - Class in com.google.common.collect.testing.google
-
Tester for
Multimap.keySet
. - MultimapKeySetTester() - Constructor for class com.google.common.collect.testing.google.MultimapKeySetTester
- MultimapKeysTester<K,V> - Class in com.google.common.collect.testing.google
-
Tester for
Multimap.entries
. - MultimapKeysTester() - Constructor for class com.google.common.collect.testing.google.MultimapKeysTester
- MultimapPutAllMultimapTester<K,V> - Class in com.google.common.collect.testing.google
-
Tester for
Multimap.putAll(Multimap)
. - MultimapPutAllMultimapTester() - Constructor for class com.google.common.collect.testing.google.MultimapPutAllMultimapTester
- MultimapPutIterableTester<K,V> - Class in com.google.common.collect.testing.google
-
Tests for
Multimap.putAll(Object, Iterable)
. - MultimapPutIterableTester() - Constructor for class com.google.common.collect.testing.google.MultimapPutIterableTester
- MultimapPutTester<K,V> - Class in com.google.common.collect.testing.google
-
Tester for
Multimap.put(K, V)
. - MultimapPutTester() - Constructor for class com.google.common.collect.testing.google.MultimapPutTester
- MultimapRemoveAllTester<K,V> - Class in com.google.common.collect.testing.google
-
Tests for
Multimap.removeAll(Object)
. - MultimapRemoveAllTester() - Constructor for class com.google.common.collect.testing.google.MultimapRemoveAllTester
- MultimapRemoveEntryTester<K,V> - Class in com.google.common.collect.testing.google
-
Tests for
Multimap.remove(Object, Object)
. - MultimapRemoveEntryTester() - Constructor for class com.google.common.collect.testing.google.MultimapRemoveEntryTester
- MultimapReplaceValuesTester<K,V> - Class in com.google.common.collect.testing.google
-
Tests for
Multimap.replaceValues(Object, Iterable)
. - MultimapReplaceValuesTester() - Constructor for class com.google.common.collect.testing.google.MultimapReplaceValuesTester
- Multimaps - Class in com.google.common.collect
-
Provides static methods acting on or generating a
Multimap
. - MultimapSizeTester<K,V> - Class in com.google.common.collect.testing.google
-
Tester for the
size
methods ofMultimap
and its views. - MultimapSizeTester() - Constructor for class com.google.common.collect.testing.google.MultimapSizeTester
- MultimapTestSuiteBuilder<K,V,M extends Multimap<K,V>> - Class in com.google.common.collect.testing.google
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a
Multimap
implementation. - MultimapTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.google.MultimapTestSuiteBuilder
- MultimapToStringTester<K,V> - Class in com.google.common.collect.testing.google
-
Tester for
Multimap.toString()
. - MultimapToStringTester() - Constructor for class com.google.common.collect.testing.google.MultimapToStringTester
- MultimapValuesTester<K,V> - Class in com.google.common.collect.testing.google
-
Tester for
Multimap.values
. - MultimapValuesTester() - Constructor for class com.google.common.collect.testing.google.MultimapValuesTester
- Multiset<E> - Interface in com.google.common.collect
-
A collection that supports order-independent equality, like
Set
, but may have duplicate elements. - Multiset.Entry<E> - Interface in com.google.common.collect
-
An unmodifiable element-count pair for a multiset.
- MultisetAddTester<E> - Class in com.google.common.collect.testing.google
-
Tests for
Multiset.add
. - MultisetAddTester() - Constructor for class com.google.common.collect.testing.google.MultisetAddTester
- MultisetContainsTester<E> - Class in com.google.common.collect.testing.google
-
Tests for
Multiset.containsAll
not already addressed byCollectionContainsTester
. - MultisetContainsTester() - Constructor for class com.google.common.collect.testing.google.MultisetContainsTester
- MultisetCountTester<E> - Class in com.google.common.collect.testing.google
-
Tests for
Multiset#count
. - MultisetCountTester() - Constructor for class com.google.common.collect.testing.google.MultisetCountTester
- MultisetElementSetTester<E> - Class in com.google.common.collect.testing.google
-
Tests for
Multiset.elementSet()
not covered by the derivedSetTestSuiteBuilder
. - MultisetElementSetTester() - Constructor for class com.google.common.collect.testing.google.MultisetElementSetTester
- MultisetEntrySetTester<E> - Class in com.google.common.collect.testing.google
-
Tests for
Multiset.entrySet
. - MultisetEntrySetTester() - Constructor for class com.google.common.collect.testing.google.MultisetEntrySetTester
- MultisetEqualsTester<E> - Class in com.google.common.collect.testing.google
-
Tests for
Multiset.equals
andMultiset.hashCode
. - MultisetEqualsTester() - Constructor for class com.google.common.collect.testing.google.MultisetEqualsTester
- MultisetFeature - Enum in com.google.common.collect.testing.google
-
Optional features of classes derived from
Multiset
. - MultisetFeature.Require - Annotation Type in com.google.common.collect.testing.google
- MultisetIteratorTester<E> - Class in com.google.common.collect.testing.google
-
Tester to make sure the
iterator().remove()
implementation ofMultiset
works when there are multiple occurrences of elements. - MultisetIteratorTester() - Constructor for class com.google.common.collect.testing.google.MultisetIteratorTester
- MultisetNavigationTester<E> - Class in com.google.common.collect.testing.google
-
Tester for navigation of SortedMultisets.
- MultisetNavigationTester() - Constructor for class com.google.common.collect.testing.google.MultisetNavigationTester
- MultisetReadsTester<E> - Class in com.google.common.collect.testing.google
-
A generic JUnit test which tests multiset-specific read operations.
- MultisetReadsTester() - Constructor for class com.google.common.collect.testing.google.MultisetReadsTester
- MultisetRemoveTester<E> - Class in com.google.common.collect.testing.google
-
Tests for
Multiset#remove
,Multiset.removeAll
, andMultiset.retainAll
not already covered by the corresponding Collection testers. - MultisetRemoveTester() - Constructor for class com.google.common.collect.testing.google.MultisetRemoveTester
- Multisets - Class in com.google.common.collect
-
Provides static utility methods for creating and working with
Multiset
instances. - MultisetSerializationTester<E> - Class in com.google.common.collect.testing.google
-
A generic JUnit test which tests multiset-specific serialization.
- MultisetSerializationTester() - Constructor for class com.google.common.collect.testing.google.MultisetSerializationTester
- MultisetSetCountConditionallyTester<E> - Class in com.google.common.collect.testing.google
-
A generic JUnit test which tests conditional
setCount()
operations on a multiset. - MultisetSetCountConditionallyTester() - Constructor for class com.google.common.collect.testing.google.MultisetSetCountConditionallyTester
- MultisetSetCountUnconditionallyTester<E> - Class in com.google.common.collect.testing.google
-
A generic JUnit test which tests unconditional
setCount()
operations on a multiset. - MultisetSetCountUnconditionallyTester() - Constructor for class com.google.common.collect.testing.google.MultisetSetCountUnconditionallyTester
- MultisetTestSuiteBuilder<E> - Class in com.google.common.collect.testing.google
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a
Multiset
implementation. - MultisetTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.google.MultisetTestSuiteBuilder
- MultisetTestSuiteBuilder.NoRecurse - Enum in com.google.common.collect.testing.google
- murmur3_128() - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the 128-bit murmur3 algorithm, x64 variant (little-endian variant), using a seed value of zero.
- murmur3_128(int) - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the 128-bit murmur3 algorithm, x64 variant (little-endian variant), using the given seed value.
- murmur3_32() - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the 32-bit murmur3 algorithm, x86 variant (little-endian variant), using a seed value of zero.
- murmur3_32(int) - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the 32-bit murmur3 algorithm, x86 variant (little-endian variant), using the given seed value.
- MutableClassToInstanceMap<B> - Class in com.google.common.collect
-
A mutable class-to-instance map backed by an arbitrary user-provided map.
- MutableGraph<N> - Interface in com.google.common.graph
-
A subinterface of
Graph
which adds mutation methods. - MutableNetwork<N,E> - Interface in com.google.common.graph
-
A subinterface of
Network
which adds mutation methods. - MutableTypeToInstanceMap<B> - Class in com.google.common.reflect
-
A mutable type-to-instance map.
- MutableTypeToInstanceMap() - Constructor for class com.google.common.reflect.MutableTypeToInstanceMap
- MutableValueGraph<N,V> - Interface in com.google.common.graph
-
A subinterface of
ValueGraph
which adds mutation methods.
N
- NACL_APPLICATION - Static variable in class com.google.common.net.MediaType
-
Media type for NaCl applications.
- NACL_PORTABLE_APPLICATION - Static variable in class com.google.common.net.MediaType
-
Media type for NaCl portable applications.
- NAK - Static variable in class com.google.common.base.Ascii
-
Negative Acknowledge: A communication control character transmitted by a receiver as a negative response to the sender.
- named(String) - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
-
Configures this builder produce a TestSuite with the given name.
- natural() - Static method in class com.google.common.collect.Ordering
-
Returns a serializable ordering that uses the natural order of the values.
- natural() - Static method in class com.google.common.graph.ElementOrder
-
Returns an instance which specifies that the natural ordering of the elements is guaranteed.
- naturalOrder() - Static method in class com.google.common.collect.ImmutableSortedMap
-
Returns a builder that creates immutable sorted maps whose keys are ordered by their natural ordering.
- naturalOrder() - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns a builder that creates immutable sorted multisets whose elements are ordered by their natural ordering.
- naturalOrder() - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns a builder that creates immutable sorted sets whose elements are ordered by their natural ordering.
- navigableKeySet() - Method in class com.google.common.collect.ForwardingNavigableMap
- navigableKeySet() - Method in class com.google.common.collect.ImmutableSortedMap
- navigableKeySet() - Method in class com.google.common.collect.testing.SafeTreeMap
- NavigableMapNavigationTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests operations on a NavigableMap.
- NavigableMapNavigationTester() - Constructor for class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- NavigableMapSubmapTestMapGenerator(TestSortedMapGenerator<K, V>, DerivedCollectionGenerators.Bound, DerivedCollectionGenerators.Bound) - Constructor for class com.google.common.collect.testing.NavigableMapTestSuiteBuilder.NavigableMapSubmapTestMapGenerator
- NavigableMapTestSuiteBuilder<K,V> - Class in com.google.common.collect.testing
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableMap implementation.
- NavigableMapTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.NavigableMapTestSuiteBuilder
- NavigableMapTestSuiteBuilder.NavigableMapSubmapTestMapGenerator<K,V> - Class in com.google.common.collect.testing
- NavigableSetNavigationTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests operations on a NavigableSet.
- NavigableSetNavigationTester() - Constructor for class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- NavigableSetSubsetTestSetGenerator(TestSortedSetGenerator<E>, DerivedCollectionGenerators.Bound, DerivedCollectionGenerators.Bound) - Constructor for class com.google.common.collect.testing.NavigableSetTestSuiteBuilder.NavigableSetSubsetTestSetGenerator
- NavigableSetTestSuiteBuilder<E> - Class in com.google.common.collect.testing
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableSet implementation.
- NavigableSetTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.NavigableSetTestSuiteBuilder
- NavigableSetTestSuiteBuilder.NavigableSetSubsetTestSetGenerator<E> - Class in com.google.common.collect.testing
- nefariousMapEntry(K, V) - Static method in class com.google.common.collect.testing.Helpers
-
Returns a "nefarious" map entry with the specified key and value, meaning an entry that is suitable for testing that map entries cannot be modified via a nefarious implementation of equals.
- negate() - Method in class com.google.common.base.CharMatcher
-
Returns a matcher that matches any character not matched by this matcher.
- Network<N,E> - Interface in com.google.common.graph
-
An interface for graph-structured data, whose edges are unique objects.
- NetworkBuilder<N,E> - Class in com.google.common.graph
-
A builder for constructing instances of
MutableNetwork
with user-defined properties. - NEW - com.google.common.util.concurrent.Service.State
-
A service in this state is inactive.
- newArray(Class<T>, int) - Static method in class com.google.common.collect.ObjectArrays
-
Returns a new array of the given length with the specified component type.
- newArray(T[], int) - Static method in class com.google.common.collect.ObjectArrays
-
Returns a new array of the given length with the same type as a reference array.
- newArrayBlockingQueue(int) - Static method in class com.google.common.collect.Queues
-
Creates an empty
ArrayBlockingQueue
with the given (fixed) capacity and nonfair access policy. - newArrayDeque() - Static method in class com.google.common.collect.Queues
-
Creates an empty
ArrayDeque
. - newArrayDeque(Iterable<? extends E>) - Static method in class com.google.common.collect.Queues
-
Creates an
ArrayDeque
containing the elements of the specified iterable, in the order they are returned by the iterable's iterator. - newArrayList() - Static method in class com.google.common.collect.Lists
-
Creates a mutable, empty
ArrayList
instance (for Java 6 and earlier). - newArrayList(E...) - Static method in class com.google.common.collect.Lists
-
Creates a mutable
ArrayList
instance containing the given elements. - newArrayList(Iterable<? extends E>) - Static method in class com.google.common.collect.Lists
-
Creates a mutable
ArrayList
instance containing the given elements; a very thin shortcut for creating an empty list then callingIterables.addAll(java.util.Collection<T>, java.lang.Iterable<? extends T>)
. - newArrayList(Iterator<? extends E>) - Static method in class com.google.common.collect.Lists
-
Creates a mutable
ArrayList
instance containing the given elements; a very thin shortcut for creating an empty list and then callingIterators.addAll(java.util.Collection<T>, java.util.Iterator<? extends T>)
. - newArrayListWithCapacity(int) - Static method in class com.google.common.collect.Lists
-
Creates an
ArrayList
instance backed by an array with the specified initial size; simply delegates toArrayList(int)
. - newArrayListWithExpectedSize(int) - Static method in class com.google.common.collect.Lists
-
Creates an
ArrayList
instance to holdestimatedSize
elements, plus an unspecified amount of padding; you almost certainly mean to callLists.newArrayListWithCapacity(int)
(see that method for further advice on usage). - newBuilder() - Static method in class com.google.common.cache.CacheBuilder
-
Constructs a new
CacheBuilder
instance with default settings, including strong keys, strong values, and no automatic eviction of any kind. - newBuilderUsing(TestSortedMapGenerator<K, V>, DerivedCollectionGenerators.Bound, DerivedCollectionGenerators.Bound) - Method in class com.google.common.collect.testing.NavigableMapTestSuiteBuilder
- newBuilderUsing(TestSortedSetGenerator<E>, DerivedCollectionGenerators.Bound, DerivedCollectionGenerators.Bound) - Method in class com.google.common.collect.testing.NavigableSetTestSuiteBuilder
- newConcurrentHashSet() - Static method in class com.google.common.collect.Sets
-
Creates a thread-safe set backed by a hash map.
- newConcurrentHashSet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
-
Creates a thread-safe set backed by a hash map and containing the given elements.
- newConcurrentLinkedQueue() - Static method in class com.google.common.collect.Queues
-
Creates an empty
ConcurrentLinkedQueue
. - newConcurrentLinkedQueue(Iterable<? extends E>) - Static method in class com.google.common.collect.Queues
-
Creates a
ConcurrentLinkedQueue
containing the elements of the specified iterable, in the order they are returned by the iterable's iterator. - newConcurrentMap() - Static method in class com.google.common.collect.Maps
-
Returns a general-purpose instance of
ConcurrentMap
, which supports all optional operations of the ConcurrentMap interface. - newCopyOnWriteArrayList() - Static method in class com.google.common.collect.Lists
-
Creates an empty
CopyOnWriteArrayList
instance. - newCopyOnWriteArrayList(Iterable<? extends E>) - Static method in class com.google.common.collect.Lists
-
Creates a
CopyOnWriteArrayList
instance containing the given elements. - newCopyOnWriteArraySet() - Static method in class com.google.common.collect.Sets
-
Creates an empty
CopyOnWriteArraySet
instance. - newCopyOnWriteArraySet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
-
Creates a
CopyOnWriteArraySet
instance containing the given elements. - newCustomTable(Map<R, Map<C, V>>, Supplier<? extends Map<C, V>>) - Static method in class com.google.common.collect.Tables
-
Creates a table that uses the specified backing map and factory.
- newDataInput(byte[]) - Static method in class com.google.common.io.ByteStreams
-
Returns a new
ByteArrayDataInput
instance to read from thebytes
array from the beginning. - newDataInput(byte[], int) - Static method in class com.google.common.io.ByteStreams
-
Returns a new
ByteArrayDataInput
instance to read from thebytes
array, starting at the given position. - newDataInput(ByteArrayInputStream) - Static method in class com.google.common.io.ByteStreams
-
Returns a new
ByteArrayDataInput
instance to read from the givenByteArrayInputStream
. - newDataOutput() - Static method in class com.google.common.io.ByteStreams
-
Returns a new
ByteArrayDataOutput
instance with a default size. - newDataOutput(int) - Static method in class com.google.common.io.ByteStreams
-
Returns a new
ByteArrayDataOutput
instance sized to holdsize
bytes before resizing. - newDataOutput(ByteArrayOutputStream) - Static method in class com.google.common.io.ByteStreams
-
Returns a new
ByteArrayDataOutput
instance which writes to the givenByteArrayOutputStream
. - newDirectExecutorService() - Static method in class com.google.common.util.concurrent.MoreExecutors
-
Creates an executor service that runs each task in the thread that invokes
execute/submit
, as inThreadPoolExecutor.CallerRunsPolicy
This applies both to individually submitted tasks and to collections of tasks submitted viainvokeAll
orinvokeAny
. - newEnumMap(Class<K>) - Static method in class com.google.common.collect.Maps
-
Creates an
EnumMap
instance. - newEnumMap(Map<K, ? extends V>) - Static method in class com.google.common.collect.Maps
-
Creates an
EnumMap
with the same mappings as the specified map. - newEnumSet(Iterable<E>, Class<E>) - Static method in class com.google.common.collect.Sets
-
Returns a new, mutable
EnumSet
instance containing the given elements in their natural order. - newFixedDelaySchedule(long, long, TimeUnit) - Static method in class com.google.common.util.concurrent.AbstractScheduledService.Scheduler
-
Returns a
AbstractScheduledService.Scheduler
that schedules the task using theScheduledExecutorService.scheduleWithFixedDelay(java.lang.Runnable, long, long, java.util.concurrent.TimeUnit)
method. - newFixedRateSchedule(long, long, TimeUnit) - Static method in class com.google.common.util.concurrent.AbstractScheduledService.Scheduler
-
Returns a
AbstractScheduledService.Scheduler
that schedules the task using theScheduledExecutorService.scheduleAtFixedRate(java.lang.Runnable, long, long, java.util.concurrent.TimeUnit)
method. - newHasher() - Method in interface com.google.common.hash.HashFunction
-
Begins a new hash code computation by returning an initialized, stateful
Hasher
instance that is ready to receive data. - newHasher(int) - Method in interface com.google.common.hash.HashFunction
-
Begins a new hash code computation as
HashFunction.newHasher()
, but provides a hint of the expected size of the input (in bytes). - newHashMap() - Static method in class com.google.common.collect.Maps
-
Creates a mutable, empty
HashMap
instance. - newHashMap(Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.Maps
-
Creates a mutable
HashMap
instance with the same mappings as the specified map. - newHashMapWithExpectedSize(int) - Static method in class com.google.common.collect.Maps
-
Creates a
HashMap
instance, with a high enough "initial capacity" that it should holdexpectedSize
elements without growth. - newHashSet() - Static method in class com.google.common.collect.Sets
-
Creates a mutable, initially empty
HashSet
instance. - newHashSet(E...) - Static method in class com.google.common.collect.Sets
-
Creates a mutable
HashSet
instance initially containing the given elements. - newHashSet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
-
Creates a mutable
HashSet
instance containing the given elements. - newHashSet(Iterator<? extends E>) - Static method in class com.google.common.collect.Sets
-
Creates a mutable
HashSet
instance containing the given elements. - newHashSetWithExpectedSize(int) - Static method in class com.google.common.collect.Sets
-
Returns a new hash set using the smallest initial table size that can hold
expectedSize
elements without resizing. - newIdentityHashMap() - Static method in class com.google.common.collect.Maps
-
Creates an
IdentityHashMap
instance. - newIdentityHashSet() - Static method in class com.google.common.collect.Sets
-
Creates an empty
Set
that uses identity to determine equality. - newInstance(TestCollectionGenerator<E>) - Static method in class com.google.common.collect.testing.ReserializingTestCollectionGenerator
- newInstance(TestSetGenerator<E>) - Static method in class com.google.common.collect.testing.ReserializingTestSetGenerator
- newInstance(CycleDetectingLockFactory.Policy) - Static method in class com.google.common.util.concurrent.CycleDetectingLockFactory
-
Creates a new factory with the specified policy.
- newInstanceWithExplicitOrdering(Class<E>, CycleDetectingLockFactory.Policy) - Static method in class com.google.common.util.concurrent.CycleDetectingLockFactory
-
Creates a
CycleDetectingLockFactory.WithExplicitOrdering<E>
. - newLinkedBlockingDeque() - Static method in class com.google.common.collect.Queues
-
Creates an empty
LinkedBlockingDeque
with a capacity ofInteger.MAX_VALUE
. - newLinkedBlockingDeque(int) - Static method in class com.google.common.collect.Queues
-
Creates an empty
LinkedBlockingDeque
with the given (fixed) capacity. - newLinkedBlockingDeque(Iterable<? extends E>) - Static method in class com.google.common.collect.Queues
-
Creates a
LinkedBlockingDeque
with a capacity ofInteger.MAX_VALUE
, containing the elements of the specified iterable, in the order they are returned by the iterable's iterator. - newLinkedBlockingQueue() - Static method in class com.google.common.collect.Queues
-
Creates an empty
LinkedBlockingQueue
with a capacity ofInteger.MAX_VALUE
. - newLinkedBlockingQueue(int) - Static method in class com.google.common.collect.Queues
-
Creates an empty
LinkedBlockingQueue
with the given (fixed) capacity. - newLinkedBlockingQueue(Iterable<? extends E>) - Static method in class com.google.common.collect.Queues
-
Creates a
LinkedBlockingQueue
with a capacity ofInteger.MAX_VALUE
, containing the elements of the specified iterable, in the order they are returned by the iterable's iterator. - newLinkedHashMap() - Static method in class com.google.common.collect.Maps
-
Creates a mutable, empty, insertion-ordered
LinkedHashMap
instance. - newLinkedHashMap(Map<? extends K, ? extends V>) - Static method in class com.google.common.collect.Maps
-
Creates a mutable, insertion-ordered
LinkedHashMap
instance with the same mappings as the specified map. - newLinkedHashMapWithExpectedSize(int) - Static method in class com.google.common.collect.Maps
-
Creates a
LinkedHashMap
instance, with a high enough "initial capacity" that it should holdexpectedSize
elements without growth. - newLinkedHashSet() - Static method in class com.google.common.collect.Sets
-
Creates a mutable, empty
LinkedHashSet
instance. - newLinkedHashSet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
-
Creates a mutable
LinkedHashSet
instance containing the given elements in order. - newLinkedHashSetWithExpectedSize(int) - Static method in class com.google.common.collect.Sets
-
Creates a
LinkedHashSet
instance, with a high enough "initial capacity" that it should holdexpectedSize
elements without growth. - newLinkedList() - Static method in class com.google.common.collect.Lists
-
Creates a mutable, empty
LinkedList
instance (for Java 6 and earlier). - newLinkedList(Iterable<? extends E>) - Static method in class com.google.common.collect.Lists
-
Creates a mutable
LinkedList
instance containing the given elements; a very thin shortcut for creating an empty list then callingIterables.addAll(java.util.Collection<T>, java.lang.Iterable<? extends T>)
. - newListMultimap(Map<K, Collection<V>>, Supplier<? extends List<V>>) - Static method in class com.google.common.collect.Multimaps
-
Creates a new
ListMultimap
that uses the provided map and factory. - newMultimap(Map<K, Collection<V>>, Supplier<? extends Collection<V>>) - Static method in class com.google.common.collect.Multimaps
-
Creates a new
Multimap
backed bymap
, whose internal value collections are generated byfactory
. - newPriorityBlockingQueue() - Static method in class com.google.common.collect.Queues
-
Creates an empty
PriorityBlockingQueue
with the ordering given by its elements' natural ordering. - newPriorityBlockingQueue(Iterable<? extends E>) - Static method in class com.google.common.collect.Queues
-
Creates a
PriorityBlockingQueue
containing the given elements. - newPriorityQueue() - Static method in class com.google.common.collect.Queues
-
Creates an empty
PriorityQueue
with the ordering given by its elements' natural ordering. - newPriorityQueue(Iterable<? extends E>) - Static method in class com.google.common.collect.Queues
-
Creates a
PriorityQueue
containing the given elements. - newProxy(Class<T>, InvocationHandler) - Static method in class com.google.common.reflect.Reflection
-
Returns a proxy instance that implements
interfaceType
by dispatching method invocations tohandler
. - newProxy(T, Class<T>, long, TimeUnit) - Method in class com.google.common.util.concurrent.FakeTimeLimiter
- newProxy(T, Class<T>, long, TimeUnit) - Method in class com.google.common.util.concurrent.SimpleTimeLimiter
- newProxy(T, Class<T>, long, TimeUnit) - Method in interface com.google.common.util.concurrent.TimeLimiter
-
Returns an instance of
interfaceType
that delegates all method calls to thetarget
object, enforcing the specified time limit on each call. - newReader(File, Charset) - Static method in class com.google.common.io.Files
-
Returns a buffered reader that reads from a file using the given character set.
- newReentrantLock(E) - Method in class com.google.common.util.concurrent.CycleDetectingLockFactory.WithExplicitOrdering
-
Equivalent to
newReentrantLock(rank, false)
. - newReentrantLock(E, boolean) - Method in class com.google.common.util.concurrent.CycleDetectingLockFactory.WithExplicitOrdering
-
Creates a
ReentrantLock
with the given fairness policy and rank. - newReentrantLock(String) - Method in class com.google.common.util.concurrent.CycleDetectingLockFactory
-
Equivalent to
newReentrantLock(lockName, false)
. - newReentrantLock(String, boolean) - Method in class com.google.common.util.concurrent.CycleDetectingLockFactory
-
Creates a
ReentrantLock
with the given fairness policy. - newReentrantReadWriteLock(E) - Method in class com.google.common.util.concurrent.CycleDetectingLockFactory.WithExplicitOrdering
-
Equivalent to
newReentrantReadWriteLock(rank, false)
. - newReentrantReadWriteLock(E, boolean) - Method in class com.google.common.util.concurrent.CycleDetectingLockFactory.WithExplicitOrdering
-
Creates a
ReentrantReadWriteLock
with the given fairness policy and rank. - newReentrantReadWriteLock(String) - Method in class com.google.common.util.concurrent.CycleDetectingLockFactory
-
Equivalent to
newReentrantReadWriteLock(lockName, false)
. - newReentrantReadWriteLock(String, boolean) - Method in class com.google.common.util.concurrent.CycleDetectingLockFactory
-
Creates a
ReentrantReadWriteLock
with the given fairness policy. - newReference() - Static method in class com.google.common.util.concurrent.Atomics
-
Creates an
AtomicReference
instance with no initial value. - newReference(V) - Static method in class com.google.common.util.concurrent.Atomics
-
Creates an
AtomicReference
instance with the given initial value. - newReferenceArray(int) - Static method in class com.google.common.util.concurrent.Atomics
-
Creates an
AtomicReferenceArray
instance of given length. - newReferenceArray(E[]) - Static method in class com.google.common.util.concurrent.Atomics
-
Creates an
AtomicReferenceArray
instance with the same length as, and all elements copied from, the given array. - newSetFromMap(Map<E, Boolean>) - Static method in class com.google.common.collect.Sets
-
Deprecated.Use
Collections.newSetFromMap(java.util.Map<E, java.lang.Boolean>)
instead. This method will be removed in December 2017. - newSetMultimap(Map<K, Collection<V>>, Supplier<? extends Set<V>>) - Static method in class com.google.common.collect.Multimaps
-
Creates a new
SetMultimap
that uses the provided map and factory. - newSortedSetMultimap(Map<K, Collection<V>>, Supplier<? extends SortedSet<V>>) - Static method in class com.google.common.collect.Multimaps
-
Creates a new
SortedSetMultimap
that uses the provided map and factory. - newStrongInterner() - Static method in class com.google.common.collect.Interners
-
Returns a new thread-safe interner which retains a strong reference to each instance it has interned, thus preventing these instances from being garbage-collected.
- newSynchronousQueue() - Static method in class com.google.common.collect.Queues
-
Creates an empty
SynchronousQueue
with nonfair access policy. - newTargetIterator() - Method in class com.google.common.collect.testing.ListIteratorTester
- newTaskFor(Runnable, T) - Method in class com.google.common.util.concurrent.AbstractListeningExecutorService
- newTaskFor(Callable<T>) - Method in class com.google.common.util.concurrent.AbstractListeningExecutorService
- newTreeMap() - Static method in class com.google.common.collect.Maps
-
Creates a mutable, empty
TreeMap
instance using the natural ordering of its elements. - newTreeMap(Comparator<C>) - Static method in class com.google.common.collect.Maps
-
Creates a mutable, empty
TreeMap
instance using the given comparator. - newTreeMap(SortedMap<K, ? extends V>) - Static method in class com.google.common.collect.Maps
-
Creates a mutable
TreeMap
instance with the same mappings as the specified map and using the same ordering as the specified map. - newTreeSet() - Static method in class com.google.common.collect.Sets
-
Creates a mutable, empty
TreeSet
instance sorted by the natural sort ordering of its elements. - newTreeSet(Iterable<? extends E>) - Static method in class com.google.common.collect.Sets
-
Creates a mutable
TreeSet
instance containing the given elements sorted by their natural ordering. - newTreeSet(Comparator<? super E>) - Static method in class com.google.common.collect.Sets
-
Creates a mutable, empty
TreeSet
instance with the given comparator. - newWeakInterner() - Static method in class com.google.common.collect.Interners
-
Returns a new thread-safe interner which retains a weak reference to each instance it has interned, and so does not prevent these instances from being garbage-collected.
- newWriter(File, Charset) - Static method in class com.google.common.io.Files
-
Returns a buffered writer that writes to a file using the given character set.
- next() - Method in class com.google.common.collect.AbstractIterator
- next() - Method in class com.google.common.collect.AbstractSequentialIterator
- next() - Method in class com.google.common.collect.ForwardingIterator
- next() - Method in interface com.google.common.collect.PeekingIterator
- next(C) - Method in class com.google.common.collect.DiscreteDomain
-
Returns the unique least value of type
C
that is greater thanvalue
, ornull
if none exists. - nextEscapeIndex(CharSequence, int, int) - Method in class com.google.common.escape.ArrayBasedUnicodeEscaper
- nextEscapeIndex(CharSequence, int, int) - Method in class com.google.common.escape.UnicodeEscaper
-
Scans a sub-sequence of characters from a given
CharSequence
, returning the index of the next character that requires escaping. - nextEscapeIndex(CharSequence, int, int) - Method in class com.google.common.net.PercentEscaper
- nextIndex() - Method in class com.google.common.collect.ForwardingListIterator
- NL - Static variable in class com.google.common.base.Ascii
-
Alternate name for
Ascii.LF
. - NO_BOUND - com.google.common.collect.testing.DerivedCollectionGenerators.Bound
- NO_ENTRY_SET - com.google.common.collect.testing.google.MultisetTestSuiteBuilder.NoRecurse
- nodeOrder() - Method in interface com.google.common.graph.Graph
-
Returns the order of iteration for the elements of
Graph.nodes()
. - nodeOrder() - Method in interface com.google.common.graph.Network
-
Returns the order of iteration for the elements of
Network.nodes()
. - nodeOrder(ElementOrder<N1>) - Method in class com.google.common.graph.GraphBuilder
-
Specifies the order of iteration for the elements of
Graph.nodes()
. - nodeOrder(ElementOrder<N1>) - Method in class com.google.common.graph.NetworkBuilder
-
Specifies the order of iteration for the elements of
Network.nodes()
. - nodeOrder(ElementOrder<N1>) - Method in class com.google.common.graph.ValueGraphBuilder
-
Specifies the order of iteration for the elements of
Graph.nodes()
. - nodes() - Method in interface com.google.common.graph.Graph
-
Returns all nodes in this graph, in the order specified by
Graph.nodeOrder()
. - nodes() - Method in interface com.google.common.graph.Network
-
Returns all nodes in this network, in the order specified by
Network.nodeOrder()
. - nodeU() - Method in class com.google.common.graph.EndpointPair
-
If this
EndpointPair
EndpointPair.isOrdered()
returns theEndpointPair.source()
; otherwise, returns an arbitrary (but consistent) endpoint of the origin edge. - nodeV() - Method in class com.google.common.graph.EndpointPair
-
Returns the node
adjacent
toEndpointPair.nodeU()
along the origin edge. - NON_STANDARD_TOSTRING - com.google.common.collect.testing.features.CollectionFeature
-
Indicates that a collection has a different
Object.toString()
representation than most collections. - nonCancellationPropagating(ListenableFuture<V>) - Static method in class com.google.common.util.concurrent.Futures
-
Creates a new
ListenableFuture
whose result is set from the supplied future when it completes. - none() - Static method in class com.google.common.base.CharMatcher
-
Matches no characters.
- NONE - com.google.common.collect.testing.features.CollectionFeature
-
For documenting collections that support no optional features, such as
Collections.emptySet()
- NONE - Static variable in class com.google.common.base.CharMatcher
-
Deprecated.Use
CharMatcher.none()
instead. This constant is scheduled to be removed in June 2018. - noneOf(CharSequence) - Static method in class com.google.common.base.CharMatcher
-
Returns a
char
matcher that matches any character not present in the given character sequence. - noOpScheduledExecutor() - Static method in class com.google.common.util.concurrent.testing.TestingExecutors
-
Returns a
ScheduledExecutorService
that never executes anything. - not(Predicate<T>) - Static method in class com.google.common.base.Predicates
-
Returns a predicate that evaluates to
true
if the given predicate evaluates tofalse
. - notifyFailed(Throwable) - Method in class com.google.common.util.concurrent.AbstractService
-
Invoke this method to transition the service to the
Service.State.FAILED
. - notifyStarted() - Method in class com.google.common.util.concurrent.AbstractService
-
Implementing classes should invoke this method once their service has started.
- notifyStopped() - Method in class com.google.common.util.concurrent.AbstractService
-
Implementing classes should invoke this method once their service has stopped.
- notNull() - Static method in class com.google.common.base.Predicates
-
Returns a predicate that evaluates to
true
if the object reference being tested is not null. - NUL - Static variable in class com.google.common.base.Ascii
-
Null ('\0'): The all-zeros character which may serve to accomplish time fill and media fill.
- nullEscaper() - Static method in class com.google.common.escape.Escapers
-
Returns an
Escaper
that does no escaping, passing all character data through unchanged. - nullOutputStream() - Static method in class com.google.common.io.ByteStreams
-
Returns an
OutputStream
that simply discards written bytes. - NullPointerTester - Class in com.google.common.testing
-
A test utility that verifies that your methods and constructors throw
NullPointerException
orUnsupportedOperationException
whenever null is passed to a parameter that isn't annotated withNullable
. - NullPointerTester() - Constructor for class com.google.common.testing.NullPointerTester
- NullPointerTester.Visibility - Enum in com.google.common.testing
-
Visibility of any method or constructor.
- NullsBefore(String) - Constructor for class com.google.common.collect.testing.Helpers.NullsBefore
- nullsFirst() - Method in class com.google.common.collect.Ordering
-
Returns an ordering that treats
null
as less than all other values and usesthis
to compare non-null values. - nullsLast() - Method in class com.google.common.collect.Ordering
-
Returns an ordering that treats
null
as greater than all other values and uses this ordering to compare non-null values. - nullToEmpty(String) - Static method in class com.google.common.base.Strings
-
Returns the given string if it is non-null; the empty string otherwise.
- nullWriter() - Static method in class com.google.common.io.CharStreams
-
Returns a
Writer
that simply discards written chars.
O
- ObjectArrays - Class in com.google.common.collect
-
Static utility methods pertaining to object arrays.
- Objects - Class in com.google.common.base
-
Helper functions that can operate on any
Object
. - Objects.ToStringHelper - Class in com.google.common.base
-
Deprecated.Use
MoreObjects.ToStringHelper
instead. This class is scheduled for removal in Guava 21.0. - OCTET_STREAM - Static variable in class com.google.common.net.MediaType
- of() - Static method in class com.google.common.collect.FluentIterable
-
Returns a fluent iterable containing no elements.
- of() - Static method in class com.google.common.collect.ImmutableBiMap
-
Returns the empty bimap.
- of() - Static method in class com.google.common.collect.ImmutableClassToInstanceMap
-
Returns an empty
ImmutableClassToInstanceMap
. - of() - Static method in class com.google.common.collect.ImmutableList
-
Returns the empty immutable list.
- of() - Static method in class com.google.common.collect.ImmutableListMultimap
-
Returns the empty multimap.
- of() - Static method in class com.google.common.collect.ImmutableMap
-
Returns the empty map.
- of() - Static method in class com.google.common.collect.ImmutableMultimap
-
Returns an empty multimap.
- of() - Static method in class com.google.common.collect.ImmutableMultiset
-
Returns the empty immutable multiset.
- of() - Static method in class com.google.common.collect.ImmutableRangeMap
-
Returns an empty immutable range map.
- of() - Static method in class com.google.common.collect.ImmutableRangeSet
-
Returns an empty immutable range set.
- of() - Static method in class com.google.common.collect.ImmutableSet
-
Returns the empty immutable set.
- of() - Static method in class com.google.common.collect.ImmutableSetMultimap
-
Returns the empty multimap.
- of() - Static method in class com.google.common.collect.ImmutableSortedMap
-
Returns the empty sorted map.
- of() - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns the empty immutable sorted multiset.
- of() - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns the empty immutable sorted set.
- of() - Static method in class com.google.common.collect.ImmutableTable
-
Returns an empty immutable table.
- of() - Static method in class com.google.common.reflect.ImmutableTypeToInstanceMap
-
Returns an empty type to instance map.
- of(double...) - Static method in class com.google.common.math.Stats
-
Returns statistics over a dataset containing the given values.
- of(int...) - Static method in class com.google.common.math.Stats
-
Returns statistics over a dataset containing the given values.
- of(long...) - Static method in class com.google.common.math.Stats
-
Returns statistics over a dataset containing the given values.
- of(Equivalence<? super T>) - Static method in class com.google.common.testing.EquivalenceTester
- of(Range<C>) - Static method in class com.google.common.collect.ImmutableRangeSet
-
Returns an immutable range set containing the specified single range.
- of(Range<K>, V) - Static method in class com.google.common.collect.ImmutableRangeMap
-
Returns an immutable range map mapping a single range to a single value.
- of(E) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing a single element.
- of(E) - Static method in class com.google.common.collect.ImmutableMultiset
-
Returns an immutable multiset containing a single element.
- of(E) - Static method in class com.google.common.collect.ImmutableSet
-
Returns an immutable set containing
element
. - of(E) - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns an immutable sorted multiset containing a single element.
- of(E) - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns an immutable sorted set containing a single element.
- of(E[]) - Static method in class com.google.common.collect.FluentIterable
-
Deprecated.Use
#from(E[])
instead (but note the differences in mutability). This method will be removed in Guava release 21.0. - of(E...) - Static method in class com.google.common.collect.testing.MinimalCollection
- of(E...) - Static method in class com.google.common.collect.testing.MinimalIterable
-
Returns an iterable whose iterator returns the given elements in order.
- of(E...) - Static method in class com.google.common.collect.testing.MinimalSet
- of(E, E) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of(E, E) - Static method in class com.google.common.collect.ImmutableMultiset
-
Returns an immutable multiset containing the given elements, in order.
- of(E, E) - Static method in class com.google.common.collect.ImmutableSet
-
Returns an immutable set containing the given elements, minus duplicates, in the order each was first specified.
- of(E, E) - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
- of(E, E) - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
- of(E, E...) - Static method in class com.google.common.collect.FluentIterable
-
Returns a fluent iterable containing the specified elements in order.
- of(E, E, E) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of(E, E, E) - Static method in class com.google.common.collect.ImmutableMultiset
-
Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation.
- of(E, E, E) - Static method in class com.google.common.collect.ImmutableSet
-
Returns an immutable set containing the given elements, minus duplicates, in the order each was first specified.
- of(E, E, E) - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
- of(E, E, E) - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
- of(E, E, E, E) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of(E, E, E, E) - Static method in class com.google.common.collect.ImmutableMultiset
-
Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation.
- of(E, E, E, E) - Static method in class com.google.common.collect.ImmutableSet
-
Returns an immutable set containing the given elements, minus duplicates, in the order each was first specified.
- of(E, E, E, E) - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
- of(E, E, E, E) - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
- of(E, E, E, E, E) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of(E, E, E, E, E) - Static method in class com.google.common.collect.ImmutableMultiset
-
Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation.
- of(E, E, E, E, E) - Static method in class com.google.common.collect.ImmutableSet
-
Returns an immutable set containing the given elements, minus duplicates, in the order each was first specified.
- of(E, E, E, E, E) - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
- of(E, E, E, E, E) - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
- of(E, E, E, E, E, E) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of(E, E, E, E, E, E, E) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of(E, E, E, E, E, E, E...) - Static method in class com.google.common.collect.ImmutableMultiset
-
Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation.
- of(E, E, E, E, E, E, E...) - Static method in class com.google.common.collect.ImmutableSet
-
Returns an immutable set containing the given elements, minus duplicates, in the order each was first specified.
- of(E, E, E, E, E, E, E...) - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
- of(E, E, E, E, E, E, E...) - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
- of(E, E, E, E, E, E, E, E) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of(E, E, E, E, E, E, E, E, E) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of(E, E, E, E, E, E, E, E, E, E) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of(E, E, E, E, E, E, E, E, E, E, E) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of(E, E, E, E, E, E, E, E, E, E, E, E, E...) - Static method in class com.google.common.collect.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of(Class<T>) - Static method in class com.google.common.reflect.TypeToken
-
Returns an instance of type token that wraps
type
. - of(Class<T>, T) - Static method in class com.google.common.collect.ImmutableClassToInstanceMap
-
Returns an
ImmutableClassToInstanceMap
containing a single entry. - of(Iterable<? extends Number>) - Static method in class com.google.common.math.Stats
-
Returns statistics over a dataset containing the given values.
- of(Type) - Static method in class com.google.common.reflect.TypeToken
-
Returns an instance of type token that wraps
type
. - of(Iterator<? extends Number>) - Static method in class com.google.common.math.Stats
-
Returns statistics over a dataset containing the given values.
- of(K, V) - Static method in class com.google.common.collect.ImmutableBiMap
-
Returns an immutable bimap containing a single entry.
- of(K, V) - Static method in class com.google.common.collect.ImmutableListMultimap
-
Returns an immutable multimap containing a single entry.
- of(K, V) - Static method in class com.google.common.collect.ImmutableMap
-
Returns an immutable map containing a single entry.
- of(K, V) - Static method in class com.google.common.collect.ImmutableMultimap
-
Returns an immutable multimap containing a single entry.
- of(K, V) - Static method in class com.google.common.collect.ImmutableSetMultimap
-
Returns an immutable multimap containing a single entry.
- of(K, V) - Static method in class com.google.common.collect.ImmutableSortedMap
-
Returns an immutable map containing a single entry.
- of(K, V, K, V) - Static method in class com.google.common.collect.ImmutableBiMap
-
Returns an immutable map containing the given entries, in order.
- of(K, V, K, V) - Static method in class com.google.common.collect.ImmutableListMultimap
-
Returns an immutable multimap containing the given entries, in order.
- of(K, V, K, V) - Static method in class com.google.common.collect.ImmutableMap
-
Returns an immutable map containing the given entries, in order.
- of(K, V, K, V) - Static method in class com.google.common.collect.ImmutableMultimap
-
Returns an immutable multimap containing the given entries, in order.
- of(K, V, K, V) - Static method in class com.google.common.collect.ImmutableSetMultimap
-
Returns an immutable multimap containing the given entries, in order.
- of(K, V, K, V) - Static method in class com.google.common.collect.ImmutableSortedMap
-
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
- of(K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableBiMap
-
Returns an immutable map containing the given entries, in order.
- of(K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableListMultimap
-
Returns an immutable multimap containing the given entries, in order.
- of(K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableMap
-
Returns an immutable map containing the given entries, in order.
- of(K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableMultimap
-
Returns an immutable multimap containing the given entries, in the "key-grouped" insertion order described in the class documentation.
- of(K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableSetMultimap
-
Returns an immutable multimap containing the given entries, in order.
- of(K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableSortedMap
-
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
- of(K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableBiMap
-
Returns an immutable map containing the given entries, in order.
- of(K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableListMultimap
-
Returns an immutable multimap containing the given entries, in order.
- of(K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableMap
-
Returns an immutable map containing the given entries, in order.
- of(K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableMultimap
-
Returns an immutable multimap containing the given entries, in the "key-grouped" insertion order described in the class documentation.
- of(K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableSetMultimap
-
Returns an immutable multimap containing the given entries, in order.
- of(K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableSortedMap
-
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
- of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableBiMap
-
Returns an immutable map containing the given entries, in order.
- of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableListMultimap
-
Returns an immutable multimap containing the given entries, in order.
- of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableMap
-
Returns an immutable map containing the given entries, in order.
- of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableMultimap
-
Returns an immutable multimap containing the given entries, in the "key-grouped" insertion order described in the class documentation.
- of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableSetMultimap
-
Returns an immutable multimap containing the given entries, in order.
- of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.common.collect.ImmutableSortedMap
-
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
- of(R, C, V) - Static method in class com.google.common.collect.ImmutableTable
-
Returns an immutable table containing a single cell.
- of(T) - Static method in class com.google.common.base.Optional
-
Returns an
Optional
instance containing the given non-null reference. - ofClassAndContents(Class<? super E>, E...) - Static method in class com.google.common.collect.testing.MinimalCollection
- ofClassAndContents(Class<? super E>, E[], Iterable<? extends E>) - Static method in class com.google.common.collect.testing.MinimalSet
- offer(E) - Method in class com.google.common.collect.EvictingQueue
-
Adds the given element to this queue.
- offer(E) - Method in class com.google.common.collect.ForwardingQueue
- offer(E) - Method in class com.google.common.collect.MinMaxPriorityQueue
-
Adds the given element to this queue.
- offer(E, long, TimeUnit) - Method in class com.google.common.collect.ForwardingBlockingDeque
- offer(E, long, TimeUnit) - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
- offerFirst(E) - Method in class com.google.common.collect.ForwardingDeque
- offerFirst(E, long, TimeUnit) - Method in class com.google.common.collect.ForwardingBlockingDeque
- offerLast(E) - Method in class com.google.common.collect.ForwardingDeque
- offerLast(E, long, TimeUnit) - Method in class com.google.common.collect.ForwardingBlockingDeque
- ofInstance(T) - Static method in class com.google.common.base.Suppliers
-
Returns a supplier that always supplies
instance
. - OGG_AUDIO - Static variable in class com.google.common.net.MediaType
- OGG_CONTAINER - Static variable in class com.google.common.net.MediaType
- OGG_VIDEO - Static variable in class com.google.common.net.MediaType
- omitEmptyStrings() - Method in class com.google.common.base.Splitter
-
Returns a splitter that behaves equivalently to
this
splitter, but automatically omits empty strings from the results. - omitNullValues() - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Configures the
MoreObjects.ToStringHelper
soMoreObjects.ToStringHelper.toString()
will ignore properties with null value. - omitNullValues() - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Configures the
Objects.ToStringHelper
soObjects.ToStringHelper.toString()
will ignore properties with null value. - omitPadding() - Method in class com.google.common.io.BaseEncoding
-
Returns an encoding that behaves equivalently to this encoding, but omits any padding characters as specified by RFC 4648 section 3.2, Padding of Encoded Data.
- on(char) - Static method in class com.google.common.base.Joiner
-
Returns a joiner which automatically places
separator
between consecutive elements. - on(char) - Static method in class com.google.common.base.Splitter
-
Returns a splitter that uses the given single-character separator.
- on(CharMatcher) - Static method in class com.google.common.base.Splitter
-
Returns a splitter that considers any single character matched by the given
CharMatcher
to be a separator. - on(String) - Static method in class com.google.common.base.Joiner
-
Returns a joiner which automatically places
separator
between consecutive elements. - on(String) - Static method in class com.google.common.base.Splitter
-
Returns a splitter that uses the given fixed string as a separator.
- on(Pattern) - Static method in class com.google.common.base.Splitter
-
Returns a splitter that considers any subsequence matching
pattern
to be a separator. - ONE - com.google.common.collect.testing.features.CollectionSize
-
Test a one-element collection.
- ONE - Static variable in class com.google.common.primitives.UnsignedInteger
- ONE - Static variable in class com.google.common.primitives.UnsignedLong
- OneSizeGenerator<T,E> - Class in com.google.common.collect.testing
-
Generator for collection of a particular size.
- OneSizeGenerator(TestContainerGenerator<T, E>, CollectionSize) - Constructor for class com.google.common.collect.testing.OneSizeGenerator
- OneSizeTestContainerGenerator<T,E> - Interface in com.google.common.collect.testing
-
The subject-generator interface accepted by Collection testers, for testing a Collection at one particular
CollectionSize
. - onFailure(Throwable) - Method in interface com.google.common.util.concurrent.FutureCallback
-
Invoked when a
Future
computation fails or is canceled. - onPattern(String) - Static method in class com.google.common.base.Splitter
-
Returns a splitter that considers any subsequence matching a given pattern (regular expression) to be a separator.
- onRemoval(RemovalNotification<K, V>) - Method in interface com.google.common.cache.RemovalListener
-
Notifies the listener that a removal occurred at some point in the past.
- onResultOf(Function<F, ? extends T>) - Method in class com.google.common.base.Equivalence
-
Returns a new equivalence relation for
F
which evaluates equivalence by first applyingfunction
to the argument, then evaluating usingthis
. - onResultOf(Function<F, ? extends T>) - Method in class com.google.common.collect.Ordering
-
Returns a new ordering on
F
which orders elements by first applying a function to them, then comparing those results usingthis
. - onSuccess(V) - Method in interface com.google.common.util.concurrent.FutureCallback
-
Invoked with the result of the
Future
computation when it is successful. - OOXML_DOCUMENT - Static variable in class com.google.common.net.MediaType
- OOXML_PRESENTATION - Static variable in class com.google.common.net.MediaType
- OOXML_SHEET - Static variable in class com.google.common.net.MediaType
- open(C, C) - Static method in class com.google.common.collect.Range
-
Returns a range that contains all values strictly greater than
lower
and strictly less thanupper
. - OPEN - com.google.common.collect.BoundType
-
The endpoint value is not considered part of the set ("exclusive").
- openBufferedStream() - Method in class com.google.common.io.ByteSink
-
Opens a new buffered
OutputStream
for writing to this sink. - openBufferedStream() - Method in class com.google.common.io.ByteSource
-
Opens a new buffered
InputStream
for reading from this source. - openBufferedStream() - Method in class com.google.common.io.CharSink
-
Opens a new buffered
Writer
for writing to this sink. - openBufferedStream() - Method in class com.google.common.io.CharSource
-
Opens a new
BufferedReader
for reading from this source. - openClosed(C, C) - Static method in class com.google.common.collect.Range
-
Returns a range that contains all values strictly greater than
lower
and less than or equal toupper
. - OPENDOCUMENT_GRAPHICS - Static variable in class com.google.common.net.MediaType
- OPENDOCUMENT_PRESENTATION - Static variable in class com.google.common.net.MediaType
- OPENDOCUMENT_SPREADSHEET - Static variable in class com.google.common.net.MediaType
- OPENDOCUMENT_TEXT - Static variable in class com.google.common.net.MediaType
- openStream() - Method in class com.google.common.io.ByteSink
-
Opens a new
OutputStream
for writing to this sink. - openStream() - Method in class com.google.common.io.ByteSource
-
Opens a new
InputStream
for reading from this source. - openStream() - Method in class com.google.common.io.CharSink
-
Opens a new
Writer
for writing to this sink. - openStream() - Method in class com.google.common.io.CharSource
-
Opens a new
Reader
for reading from this source. - Optional<T> - Class in com.google.common.base
-
An immutable object that may contain a non-null reference to another object.
- or(CharMatcher) - Method in class com.google.common.base.CharMatcher
-
Returns a matcher that matches any character matched by either this matcher or
other
. - or(Optional<? extends T>) - Method in class com.google.common.base.Optional
-
Returns this
Optional
if it has a value present;secondChoice
otherwise. - or(Predicate<? super T>...) - Static method in class com.google.common.base.Predicates
-
Returns a predicate that evaluates to
true
if any one of its components evaluates totrue
. - or(Predicate<? super T>, Predicate<? super T>) - Static method in class com.google.common.base.Predicates
-
Returns a predicate that evaluates to
true
if either of its components evaluates totrue
. - or(Supplier<? extends T>) - Method in class com.google.common.base.Optional
-
Returns the contained instance if it is present;
supplier.get()
otherwise. - or(Iterable<? extends Predicate<? super T>>) - Static method in class com.google.common.base.Predicates
-
Returns a predicate that evaluates to
true
if any one of its components evaluates totrue
. - or(T) - Method in class com.google.common.base.Optional
-
Returns the contained instance if it is present;
defaultValue
otherwise. - order(List<AnEnum>) - Method in class com.google.common.collect.testing.google.TestEnumMultisetGenerator
-
Sorts the enums according to their natural ordering.
- order(List<AnEnum>) - Method in class com.google.common.collect.testing.TestEnumSetGenerator
-
Sorts the enums according to their natural ordering.
- order(List<UnhashableObject>) - Method in class com.google.common.collect.testing.TestUnhashableCollectionGenerator
- order(List<E>) - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator
- order(List<E>) - Method in class com.google.common.collect.testing.OneSizeGenerator
- order(List<E>) - Method in class com.google.common.collect.testing.ReserializingTestCollectionGenerator
- order(List<E>) - Method in interface com.google.common.collect.testing.TestContainerGenerator
-
Returns the iteration ordering of elements, given the order in which they were added to the container.
- order(List<Character>) - Method in class com.google.common.collect.testing.TestCharacterListGenerator
-
Returns the original element list, unchanged.
- order(List<Integer>) - Method in class com.google.common.collect.testing.google.SetGenerators.ContiguousSetDescendingGenerator
-
Sorts the elements in reverse natural order.
- order(List<Integer>) - Method in class com.google.common.collect.testing.TestIntegerSetGenerator
-
Returns the iteration ordering of elements, given the order in which they were added to the container.
- order(List<Integer>) - Method in class com.google.common.collect.testing.TestIntegerSortedSetGenerator
-
Sorts the elements by their natural ordering.
- order(List<Object>) - Method in class com.google.common.collect.testing.TestCollidingSetGenerator
-
Returns the original element list, unchanged.
- order(List<String>) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetExplicitComparator
- order(List<String>) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetExplicitSuperclassComparatorGenerator
- order(List<String>) - Method in class com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetReversedOrderGenerator
- order(List<String>) - Method in class com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapKeyListGenerator
- order(List<String>) - Method in class com.google.common.collect.testing.google.TestStringMultisetGenerator
-
Returns the original element list, unchanged.
- order(List<String>) - Method in class com.google.common.collect.testing.TestStringCollectionGenerator
-
Returns the original element list, unchanged.
- order(List<String>) - Method in class com.google.common.collect.testing.TestStringListGenerator
-
Returns the original element list, unchanged.
- order(List<String>) - Method in class com.google.common.collect.testing.TestStringQueueGenerator
-
Returns the original element list, unchanged.
- order(List<String>) - Method in class com.google.common.collect.testing.TestStringSetGenerator
-
Returns the iteration ordering of elements, given the order in which they were added to the container.
- order(List<String>) - Method in class com.google.common.collect.testing.TestStringSortedSetGenerator
-
Sorts the elements by their natural ordering.
- order(List<Map.Entry<AnEnum, String>>) - Method in class com.google.common.collect.testing.google.MapGenerators.ImmutableMapCopyOfEnumMapGenerator
- order(List<Map.Entry<AnEnum, String>>) - Method in class com.google.common.collect.testing.TestEnumMapGenerator
-
Returns the elements sorted in natural order.
- order(List<Map.Entry<String, Integer>>) - Method in class com.google.common.collect.testing.google.MapGenerators.ImmutableMapEntryListGenerator
- order(List<Map.Entry<String, Integer>>) - Method in class com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapEntryListGenerator
- order(List<Map.Entry<String, String>>) - Method in class com.google.common.collect.testing.google.TestStringBiMapGenerator
-
Returns the original element list, unchanged.
- order(List<Map.Entry<String, String>>) - Method in class com.google.common.collect.testing.google.TestStringListMultimapGenerator
-
Returns the original element list, unchanged.
- order(List<Map.Entry<String, String>>) - Method in class com.google.common.collect.testing.google.TestStringSetMultimapGenerator
-
Returns the original element list, unchanged.
- order(List<Map.Entry<String, String>>) - Method in class com.google.common.collect.testing.TestStringMapGenerator
-
Returns the original element list, unchanged.
- order(List<Map.Entry<String, String>>) - Method in class com.google.common.collect.testing.TestStringSortedMapGenerator
- order(List<Map.Entry<K, V>>) - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapEntrySetGenerator
- order(List<Map.Entry<K, V>>) - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.MapGenerator
- order(List<Map.Entry<K, V>>) - Method in class com.google.common.collect.testing.TestMapEntrySetGenerator
-
Returns the original element list, unchanged.
- order(List<Map.Entry<V, K>>) - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.InverseBiMapGenerator
- order(List<K>) - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapKeySetGenerator
- order(List<V>) - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapValueCollectionGenerator
- order(List<V>) - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.BiMapValueSetGenerator
- orderColumnsBy(Comparator<? super C>) - Method in class com.google.common.collect.ImmutableTable.Builder
-
Specifies the ordering of the generated table's columns.
- ordered(N, N) - Static method in class com.google.common.graph.EndpointPair
-
Returns an
EndpointPair
representing the endpoints of a directed edge. - orderedBy(Comparator<B>) - Static method in class com.google.common.collect.MinMaxPriorityQueue
-
Creates and returns a new builder, configured to build
MinMaxPriorityQueue
instances that usecomparator
to determine the least and greatest elements. - orderedBy(Comparator<E>) - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns a builder that creates immutable sorted multisets with an explicit comparator.
- orderedBy(Comparator<E>) - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns a builder that creates immutable sorted sets with an explicit comparator.
- orderedBy(Comparator<K>) - Static method in class com.google.common.collect.ImmutableSortedMap
-
Returns a builder that creates immutable sorted maps with an explicit comparator.
- orderedPermutations(Iterable<E>) - Static method in class com.google.common.collect.Collections2
-
Returns a
Collection
of all the permutations of the specifiedIterable
. - orderedPermutations(Iterable<E>, Comparator<? super E>) - Static method in class com.google.common.collect.Collections2
-
Returns a
Collection
of all the permutations of the specifiedIterable
using the specifiedComparator
for establishing the lexicographical ordering. - orderEntriesByKey(List<Map.Entry<K, V>>) - Static method in class com.google.common.collect.testing.Helpers
- orderEntriesByValue(Comparator<? super V>) - Method in class com.google.common.collect.ImmutableBiMap.Builder
-
Configures this
Builder
to order entries by value according to the specified comparator. - orderEntriesByValue(Comparator<? super V>) - Method in class com.google.common.collect.ImmutableMap.Builder
-
Configures this
Builder
to order entries by value according to the specified comparator. - orderEntriesByValue(Comparator<? super V>) - Method in class com.google.common.collect.ImmutableSortedMap.Builder
-
Deprecated.Unsupported by ImmutableSortedMap.Builder.
- Ordering<T> - Class in com.google.common.collect
-
A comparator, with additional methods to support common operations.
- Ordering() - Constructor for class com.google.common.collect.Ordering
-
Constructs a new instance of this class (only invokable by the subclass constructor, typically implicit).
- orderKeysBy(Comparator<? super K>) - Method in class com.google.common.collect.ImmutableListMultimap.Builder
-
Specifies the ordering of the generated multimap's keys.
- orderKeysBy(Comparator<? super K>) - Method in class com.google.common.collect.ImmutableMultimap.Builder
-
Specifies the ordering of the generated multimap's keys.
- orderKeysBy(Comparator<? super K>) - Method in class com.google.common.collect.ImmutableSetMultimap.Builder
-
Specifies the ordering of the generated multimap's keys.
- orderRowsBy(Comparator<? super R>) - Method in class com.google.common.collect.ImmutableTable.Builder
-
Specifies the ordering of the generated table's rows.
- orderValuesBy(Comparator<? super V>) - Method in class com.google.common.collect.ImmutableListMultimap.Builder
-
Specifies the ordering of the generated multimap's values for each key.
- orderValuesBy(Comparator<? super V>) - Method in class com.google.common.collect.ImmutableMultimap.Builder
-
Specifies the ordering of the generated multimap's values for each key.
- orderValuesBy(Comparator<? super V>) - Method in class com.google.common.collect.ImmutableSetMultimap.Builder
-
Specifies the ordering of the generated multimap's values for each key.
- ORIGIN - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Origin
header field name. - orNull() - Method in class com.google.common.base.Optional
-
Returns the contained instance if it is present;
null
otherwise. - OS_ARCH - com.google.common.base.StandardSystemProperty
-
Operating system architecture.
- OS_NAME - com.google.common.base.StandardSystemProperty
-
Operating system name.
- OS_VERSION - com.google.common.base.StandardSystemProperty
-
Operating system version.
- outDegree(Object) - Method in class com.google.common.graph.AbstractGraph
- outDegree(Object) - Method in class com.google.common.graph.AbstractNetwork
- outDegree(Object) - Method in interface com.google.common.graph.Graph
-
Returns the count of
node
's outgoing edges (equal tosuccessors(node).size()
) in a directed graph. - outDegree(Object) - Method in interface com.google.common.graph.Network
-
Returns the count of
node
'soutgoing edges
in a directed network. - outEdges(Object) - Method in interface com.google.common.graph.Network
-
Returns all edges in this network which can be traversed in the direction (if any) of the edge starting from
node
.
P
- P3P - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
P3P
header field name. - PACKAGE - com.google.common.testing.NullPointerTester.Visibility
- paddedPartition(Iterable<T>, int) - Static method in class com.google.common.collect.Iterables
-
Divides an iterable into unmodifiable sublists of the given size, padding the final iterable with null values if necessary.
- paddedPartition(Iterator<T>, int) - Static method in class com.google.common.collect.Iterators
-
Divides an iterator into unmodifiable sublists of the given size, padding the final iterator with null values if necessary.
- padEnd(String, int, char) - Static method in class com.google.common.base.Strings
-
Returns a string, of length at least
minLength
, consisting ofstring
appended with as many copies ofpadChar
as are necessary to reach that length. - padStart(String, int, char) - Static method in class com.google.common.base.Strings
-
Returns a string, of length at least
minLength
, consisting ofstring
prepended with as many copies ofpadChar
as are necessary to reach that length. - padToLong() - Method in class com.google.common.hash.HashCode
-
If this hashcode has enough bits, returns
asLong()
, otherwise returns along
value withasBytes()
as the least-significant bytes and0x00
as the remaining most-significant bytes. - PairedStats - Class in com.google.common.math
-
An immutable value object capturing some basic statistics about a collection of paired double values (e.g.
- PairedStatsAccumulator - Class in com.google.common.math
-
A mutable object which accumulates paired double values (e.g.
- PairedStatsAccumulator() - Constructor for class com.google.common.math.PairedStatsAccumulator
- pairwise() - Method in class com.google.common.base.Equivalence
-
Returns an equivalence over iterables based on the equivalence of their elements.
- Parameter - Class in com.google.common.reflect
-
Represents a method or constructor parameter.
- parameters() - Method in class com.google.common.net.MediaType
-
Returns a multimap containing the parameters of this media type.
- parent() - Method in class com.google.common.net.InternetDomainName
-
Returns an
InternetDomainName
that is the immediate ancestor of this one; that is, the current domain with the leftmost part removed. - parse(String) - Static method in class com.google.common.cache.CacheBuilderSpec
-
Creates a CacheBuilderSpec from a string.
- parse(String) - Static method in class com.google.common.net.MediaType
-
Parses a media type from its string representation.
- parseUnsignedByte(String) - Static method in class com.google.common.primitives.UnsignedBytes
-
Returns the unsigned
byte
value represented by the given decimal string. - parseUnsignedByte(String, int) - Static method in class com.google.common.primitives.UnsignedBytes
-
Returns the unsigned
byte
value represented by a string with the given radix. - parseUnsignedInt(String) - Static method in class com.google.common.primitives.UnsignedInts
-
Returns the unsigned
int
value represented by the given decimal string. - parseUnsignedInt(String, int) - Static method in class com.google.common.primitives.UnsignedInts
-
Returns the unsigned
int
value represented by a string with the given radix. - parseUnsignedLong(String) - Static method in class com.google.common.primitives.UnsignedLongs
-
Returns the unsigned
long
value represented by the given decimal string. - parseUnsignedLong(String, int) - Static method in class com.google.common.primitives.UnsignedLongs
-
Returns the unsigned
long
value represented by a string with the given radix. - partition(Iterable<T>, int) - Static method in class com.google.common.collect.Iterables
-
Divides an iterable into unmodifiable sublists of the given size (the final iterable may be smaller).
- partition(Iterator<T>, int) - Static method in class com.google.common.collect.Iterators
-
Divides an iterator into unmodifiable sublists of the given size (the final list may be smaller).
- partition(List<T>, int) - Static method in class com.google.common.collect.Lists
-
Returns consecutive sublists of a list, each of the same size (the final list may be smaller).
- parts() - Method in class com.google.common.net.InternetDomainName
-
Returns the individual components of this domain name, normalized to all lower case.
- PATH_SEPARATOR - com.google.common.base.StandardSystemProperty
-
Path separator (":" on UNIX).
- PatternFilenameFilter - Class in com.google.common.io
-
File name filter that only accepts files matching a regular expression.
- PatternFilenameFilter(String) - Constructor for class com.google.common.io.PatternFilenameFilter
-
Constructs a pattern file name filter object.
- PatternFilenameFilter(Pattern) - Constructor for class com.google.common.io.PatternFilenameFilter
-
Constructs a pattern file name filter object.
- PDF - Static variable in class com.google.common.net.MediaType
- pearsonsCorrelationCoefficient() - Method in class com.google.common.math.PairedStats
-
Returns the Pearson's or product-moment correlation coefficient of the values.
- pearsonsCorrelationCoefficient() - Method in class com.google.common.math.PairedStatsAccumulator
-
Returns the Pearson's or product-moment correlation coefficient of the values.
- peek() - Method in class com.google.common.collect.AbstractIterator
-
Returns the next element in the iteration without advancing the iteration, according to the contract of
PeekingIterator.peek()
. - peek() - Method in class com.google.common.collect.ForwardingQueue
- peek() - Method in class com.google.common.collect.MinMaxPriorityQueue
- peek() - Method in interface com.google.common.collect.PeekingIterator
-
Returns the next element in the iteration, without advancing the iteration.
- peekFirst() - Method in class com.google.common.collect.ForwardingDeque
- peekFirst() - Method in class com.google.common.collect.MinMaxPriorityQueue
-
Retrieves, but does not remove, the least element of this queue, or returns
null
if the queue is empty. - peekingIterator(PeekingIterator<T>) - Static method in class com.google.common.collect.Iterators
-
Deprecated.no need to use this
- peekingIterator(Iterator<? extends T>) - Static method in class com.google.common.collect.Iterators
-
Returns a
PeekingIterator
backed by the given iterator. - PeekingIterator<E> - Interface in com.google.common.collect
-
An iterator that supports a one-element lookahead while iterating.
- peekLast() - Method in class com.google.common.collect.ForwardingDeque
- peekLast() - Method in class com.google.common.collect.MinMaxPriorityQueue
-
Retrieves, but does not remove, the greatest element of this queue, or returns
null
if the queue is empty. - PercentEscaper - Class in com.google.common.net
-
A
UnicodeEscaper
that escapes some set of Java characters using a UTF-8 based percent encoding scheme. - PercentEscaper(String, boolean) - Constructor for class com.google.common.net.PercentEscaper
-
Constructs a percent escaper with the specified safe characters and optional handling of the space character.
- percentiles() - Static method in class com.google.common.math.Quantiles
-
Specifies the computation of percentiles (i.e.
- PerCollectionSizeTestSuiteBuilder<B extends PerCollectionSizeTestSuiteBuilder<B,G,T,E>,G extends TestContainerGenerator<T,E>,T,E> - Class in com.google.common.collect.testing
-
This builder creates a composite test suite, containing a separate test suite for each
CollectionSize
present in the features specified byFeatureSpecificTestSuiteBuilder.withFeatures(Feature...)
. - PerCollectionSizeTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.PerCollectionSizeTestSuiteBuilder
- permutations(Collection<E>) - Static method in class com.google.common.collect.Collections2
-
Returns a
Collection
of all the permutations of the specifiedCollection
. - PING_FROM - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Ping-From
header field name. - PING_TO - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Ping-To
header field name. - PLAIN_TEXT_UTF_8 - Static variable in class com.google.common.net.MediaType
- platformThreadFactory() - Static method in class com.google.common.util.concurrent.MoreExecutors
-
Returns a default thread factory used to create new threads.
- plus(CacheStats) - Method in class com.google.common.cache.CacheStats
-
Returns a new
CacheStats
representing the sum of thisCacheStats
andother
. - plus(UnsignedInteger) - Method in class com.google.common.primitives.UnsignedInteger
-
Returns the result of adding this and
val
. - plus(UnsignedLong) - Method in class com.google.common.primitives.UnsignedLong
-
Returns the result of adding this and
val
. - PNG - Static variable in class com.google.common.net.MediaType
- poll() - Method in class com.google.common.collect.ForwardingQueue
- poll() - Method in class com.google.common.collect.MinMaxPriorityQueue
- poll(long, TimeUnit) - Method in class com.google.common.collect.ForwardingBlockingDeque
- poll(long, TimeUnit) - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
- pollFirst() - Method in class com.google.common.collect.ForwardingDeque
- pollFirst() - Method in class com.google.common.collect.ForwardingNavigableSet
- pollFirst() - Method in class com.google.common.collect.ImmutableSortedSet
-
Deprecated.Unsupported operation.
- pollFirst() - Method in class com.google.common.collect.MinMaxPriorityQueue
-
Removes and returns the least element of this queue, or returns
null
if the queue is empty. - pollFirst() - Method in class com.google.common.collect.testing.SafeTreeSet
- pollFirst(long, TimeUnit) - Method in class com.google.common.collect.ForwardingBlockingDeque
- pollFirstEntry() - Method in class com.google.common.collect.ForwardingNavigableMap
- pollFirstEntry() - Method in class com.google.common.collect.ForwardingSortedMultiset
- pollFirstEntry() - Method in class com.google.common.collect.ImmutableSortedMap
-
Deprecated.Unsupported operation.
- pollFirstEntry() - Method in class com.google.common.collect.ImmutableSortedMultiset
-
Deprecated.Unsupported operation.
- pollFirstEntry() - Method in interface com.google.common.collect.SortedMultiset
-
Returns and removes the entry associated with the lowest element in this multiset, or returns
null
if this multiset is empty. - pollFirstEntry() - Method in class com.google.common.collect.testing.SafeTreeMap
- pollLast() - Method in class com.google.common.collect.ForwardingDeque
- pollLast() - Method in class com.google.common.collect.ForwardingNavigableSet
- pollLast() - Method in class com.google.common.collect.ImmutableSortedSet
-
Deprecated.Unsupported operation.
- pollLast() - Method in class com.google.common.collect.MinMaxPriorityQueue
-
Removes and returns the greatest element of this queue, or returns
null
if the queue is empty. - pollLast() - Method in class com.google.common.collect.testing.SafeTreeSet
- pollLast(long, TimeUnit) - Method in class com.google.common.collect.ForwardingBlockingDeque
- pollLastEntry() - Method in class com.google.common.collect.ForwardingNavigableMap
- pollLastEntry() - Method in class com.google.common.collect.ForwardingSortedMultiset
- pollLastEntry() - Method in class com.google.common.collect.ImmutableSortedMap
-
Deprecated.Unsupported operation.
- pollLastEntry() - Method in class com.google.common.collect.ImmutableSortedMultiset
-
Deprecated.Unsupported operation.
- pollLastEntry() - Method in interface com.google.common.collect.SortedMultiset
-
Returns and removes the entry associated with the greatest element in this multiset, or returns
null
if this multiset is empty. - pollLastEntry() - Method in class com.google.common.collect.testing.SafeTreeMap
- pop() - Method in class com.google.common.collect.ForwardingDeque
- populationCovariance() - Method in class com.google.common.math.PairedStats
-
Returns the population covariance of the values.
- populationCovariance() - Method in class com.google.common.math.PairedStatsAccumulator
-
Returns the population covariance of the values.
- populationStandardDeviation() - Method in class com.google.common.math.Stats
-
Returns the population standard deviation of the values.
- populationStandardDeviation() - Method in class com.google.common.math.StatsAccumulator
-
Returns the population standard deviation of the values.
- populationVariance() - Method in class com.google.common.math.Stats
-
Returns the population variance of the values.
- populationVariance() - Method in class com.google.common.math.StatsAccumulator
-
Returns the population variance of the values.
- post(Object) - Method in class com.google.common.eventbus.EventBus
-
Posts an event to all registered subscribers.
- postOrderTraversal(T) - Method in class com.google.common.collect.TreeTraverser
-
Returns an unmodifiable iterable over the nodes in a tree structure, using post-order traversal.
- POSTSCRIPT - Static variable in class com.google.common.net.MediaType
- pow(int, int) - Static method in class com.google.common.math.IntMath
-
Returns
b
to thek
th power. - pow(long, int) - Static method in class com.google.common.math.LongMath
-
Returns
b
to thek
th power. - powerSet(Set<E>) - Static method in class com.google.common.collect.Sets
-
Returns the set of all possible subsets of
set
. - PRAGMA - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Pragma
header field name. - precomputed() - Method in class com.google.common.base.CharMatcher
-
Returns a
char
matcher functionally equivalent to this one, but which may be faster to query than the original; your mileage may vary. - Preconditions - Class in com.google.common.base
-
Static convenience methods that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met).
- predecessors(Object) - Method in interface com.google.common.graph.Graph
-
Returns all nodes in this graph adjacent to
node
which can be reached by traversingnode
's incoming edges against the direction (if any) of the edge. - predecessors(Object) - Method in interface com.google.common.graph.Network
-
Returns all nodes in this network adjacent to
node
which can be reached by traversingnode
's incoming edges against the direction (if any) of the edge. - Predicate<T> - Interface in com.google.common.base
-
Determines a true or false value for a given input; a pre-Java-8 version of
java.util.function.Predicate
. - Predicates - Class in com.google.common.base
-
Static utility methods pertaining to
Predicate
instances. - preOrderTraversal(T) - Method in class com.google.common.collect.TreeTraverser
-
Returns an unmodifiable iterable over the nodes in a tree structure, using pre-order traversal.
- presentInstances(Iterable<? extends Optional<? extends T>>) - Static method in class com.google.common.base.Optional
-
Returns the value of each present instance from the supplied
optionals
, in order, skipping over occurrences ofOptional.absent()
. - previous() - Method in class com.google.common.collect.ForwardingListIterator
- previous(C) - Method in class com.google.common.collect.DiscreteDomain
-
Returns the unique greatest value of type
C
that is less thanvalue
, ornull
if none exists. - previousIndex() - Method in class com.google.common.collect.ForwardingListIterator
- Primitives - Class in com.google.common.primitives
-
Contains static utility methods pertaining to primitive types and their corresponding wrapper types.
- PrimitiveSink - Interface in com.google.common.hash
-
An object which can receive a stream of primitive values.
- processBytes(byte[], int, int) - Method in interface com.google.common.io.ByteProcessor
-
This method will be called for each chunk of bytes in an input stream.
- processLine(String) - Method in interface com.google.common.io.LineProcessor
-
This method will be called once for each line.
- propagate(Throwable) - Static method in class com.google.common.base.Throwables
-
Deprecated.Use
throw e
orthrow new RuntimeException(e)
directly, or use a combination ofThrowables.throwIfUnchecked(java.lang.Throwable)
andthrow new RuntimeException(e)
. This method is scheduled to be removed in July 2018. - propagateIfInstanceOf(Throwable, Class<X>) - Static method in class com.google.common.base.Throwables
-
Deprecated.Use
Throwables.throwIfInstanceOf(java.lang.Throwable, java.lang.Class<X>)
, which has the same behavior but rejectsnull
. This method is scheduled to be removed in July 2018. - propagateIfPossible(Throwable) - Static method in class com.google.common.base.Throwables
-
Deprecated.Use
Throwables.throwIfUnchecked(java.lang.Throwable)
, which has the same behavior but rejectsnull
. This method is scheduled to be removed in July 2018. - propagateIfPossible(Throwable, Class<X>) - Static method in class com.google.common.base.Throwables
-
Propagates
throwable
exactly as-is, if and only if it is an instance ofRuntimeException
,Error
, ordeclaredType
. - propagateIfPossible(Throwable, Class<X1>, Class<X2>) - Static method in class com.google.common.base.Throwables
-
Propagates
throwable
exactly as-is, if and only if it is an instance ofRuntimeException
,Error
,declaredType1
, ordeclaredType2
. - PROTECTED - com.google.common.testing.NullPointerTester.Visibility
- PROTOBUF - Static variable in class com.google.common.net.MediaType
- PROXY_AUTHENTICATE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Proxy-Authenticate
header field name. - PROXY_AUTHORIZATION - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Proxy-Authorization
header field name. - PSD - Static variable in class com.google.common.net.MediaType
-
The media type for the Photoshop File Format (
psd
files) as defined by IANA, and found in/etc/mime.types
, e.g. - PUBLIC - com.google.common.testing.NullPointerTester.Visibility
- PUBLIC_KEY_PINS - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Public-Key-Pins
header field name. - PUBLIC_KEY_PINS_REPORT_ONLY - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Public-Key-Pins-Report-Only
header field name. - publicApiOnly() - Method in class com.google.common.testing.AbstractPackageSanityTests
-
Restricts the sanity tests for public API only.
- publicSuffix() - Method in class com.google.common.net.InternetDomainName
-
Returns the public suffix portion of the domain name, or
null
if no public suffix is present. - PublicSuffixPatterns - Class in com.google.thirdparty.publicsuffix
-
Do not use this class directly.
- publish(LogRecord) - Method in class com.google.common.testing.TestLogHandler
-
Adds the most recently logged record to our list.
- push(E) - Method in class com.google.common.collect.ForwardingDeque
- put(Range<K>, V) - Method in class com.google.common.collect.ImmutableRangeMap.Builder
-
Associates the specified range with the specified value.
- put(Range<K>, V) - Method in class com.google.common.collect.ImmutableRangeMap
-
Deprecated.Unsupported operation.
- put(Range<K>, V) - Method in interface com.google.common.collect.RangeMap
-
Maps a range to a specified value (optional operation).
- put(Range<K>, V) - Method in class com.google.common.collect.TreeRangeMap
- put(Table.Cell<? extends R, ? extends C, ? extends V>) - Method in class com.google.common.collect.ImmutableTable.Builder
-
Adds the given
cell
to the table, making it immutable if necessary. - put(TypeToken<? extends B>, B) - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap
-
Deprecated.unsupported operation
- put(TypeToken<? extends B>, B) - Method in class com.google.common.reflect.MutableTypeToInstanceMap
-
Deprecated.unsupported operation
- put(TypeToken<T>, T) - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap.Builder
-
Associates
key
withvalue
in the built map. - put(E) - Method in class com.google.common.collect.ForwardingBlockingDeque
- put(E) - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
- put(Class<T>, T) - Method in class com.google.common.collect.ImmutableClassToInstanceMap.Builder
-
Associates
key
withvalue
in the built map. - put(Class<T>, T) - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap.Builder
-
Associates
key
withvalue
in the built map. - put(Map.Entry<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableBiMap.Builder
-
Adds the given
entry
to the bimap. - put(Map.Entry<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableListMultimap.Builder
-
Adds an entry to the built multimap.
- put(Map.Entry<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableMap.Builder
-
Adds the given
entry
to the map, making it immutable if necessary. - put(Map.Entry<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableMultimap.Builder
-
Adds an entry to the built multimap.
- put(Map.Entry<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableSetMultimap.Builder
-
Adds an entry to the built multimap if it is not already present.
- put(Map.Entry<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableSortedMap.Builder
-
Adds the given
entry
to the map, making it immutable if necessary. - put(K, long) - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Associates
newValue
withkey
in this map, and returns the value previously associated withkey
, or zero if there was no such value. - put(K, V) - Method in class com.google.common.cache.AbstractCache
- put(K, V) - Method in interface com.google.common.cache.Cache
-
Associates
value
withkey
in this cache. - put(K, V) - Method in class com.google.common.cache.ForwardingCache
- put(K, V) - Method in interface com.google.common.collect.BiMap
- put(K, V) - Method in class com.google.common.collect.EnumHashBiMap
- put(K, V) - Method in class com.google.common.collect.ForwardingMap
- put(K, V) - Method in class com.google.common.collect.ForwardingMultimap
- put(K, V) - Method in class com.google.common.collect.HashBiMap
- put(K, V) - Method in class com.google.common.collect.ImmutableBiMap.Builder
-
Associates
key
withvalue
in the built bimap. - put(K, V) - Method in class com.google.common.collect.ImmutableListMultimap.Builder
- put(K, V) - Method in class com.google.common.collect.ImmutableMap.Builder
-
Associates
key
withvalue
in the built map. - put(K, V) - Method in class com.google.common.collect.ImmutableMap
-
Deprecated.Unsupported operation.
- put(K, V) - Method in class com.google.common.collect.ImmutableMultimap.Builder
-
Adds a key-value mapping to the built multimap.
- put(K, V) - Method in class com.google.common.collect.ImmutableMultimap
-
Deprecated.Unsupported operation.
- put(K, V) - Method in class com.google.common.collect.ImmutableSetMultimap.Builder
-
Adds a key-value mapping to the built multimap if it is not already present.
- put(K, V) - Method in class com.google.common.collect.ImmutableSortedMap.Builder
-
Associates
key
withvalue
in the built map. - put(K, V) - Method in class com.google.common.collect.LinkedListMultimap
-
Stores a key-value pair in the multimap.
- put(K, V) - Method in interface com.google.common.collect.Multimap
-
Stores a key-value pair in this multimap.
- put(K, V) - Method in class com.google.common.collect.testing.SafeTreeMap
- put(R, C, V) - Method in class com.google.common.collect.ArrayTable
-
Associates the specified value with the specified keys.
- put(R, C, V) - Method in class com.google.common.collect.ForwardingTable
- put(R, C, V) - Method in class com.google.common.collect.ImmutableTable.Builder
-
Associates the (
rowKey
,columnKey
) pair withvalue
in the built table. - put(R, C, V) - Method in class com.google.common.collect.ImmutableTable
-
Deprecated.Unsupported operation.
- put(R, C, V) - Method in interface com.google.common.collect.Table
-
Associates the specified value with the specified keys.
- put(T) - Method in class com.google.common.hash.BloomFilter
-
Puts an element into this
BloomFilter
. - putAll(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.ForwardingMultimap
- putAll(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableListMultimap.Builder
- putAll(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableMultimap.Builder
-
Stores another multimap's entries in the built multimap.
- putAll(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableMultimap
-
Deprecated.Unsupported operation.
- putAll(Multimap<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableSetMultimap.Builder
- putAll(Multimap<? extends K, ? extends V>) - Method in interface com.google.common.collect.Multimap
-
Stores all key-value pairs of
multimap
in this multimap, in the order returned bymultimap.entries()
. - putAll(RangeMap<K, ? extends V>) - Method in class com.google.common.collect.ImmutableRangeMap.Builder
-
Copies all associations from the specified range map into this builder.
- putAll(RangeMap<K, V>) - Method in class com.google.common.collect.ImmutableRangeMap
-
Deprecated.Unsupported operation.
- putAll(RangeMap<K, V>) - Method in interface com.google.common.collect.RangeMap
-
Puts all the associations from
rangeMap
into this range map (optional operation). - putAll(RangeMap<K, V>) - Method in class com.google.common.collect.TreeRangeMap
- putAll(Table<? extends R, ? extends C, ? extends V>) - Method in class com.google.common.collect.ArrayTable
-
Copies all mappings from the specified table to this table.
- putAll(Table<? extends R, ? extends C, ? extends V>) - Method in class com.google.common.collect.ForwardingTable
- putAll(Table<? extends R, ? extends C, ? extends V>) - Method in class com.google.common.collect.ImmutableTable.Builder
-
Associates all of the given table's keys and values in the built table.
- putAll(Table<? extends R, ? extends C, ? extends V>) - Method in class com.google.common.collect.ImmutableTable
-
Deprecated.Unsupported operation.
- putAll(Table<? extends R, ? extends C, ? extends V>) - Method in interface com.google.common.collect.Table
-
Copies all mappings from the specified table to this table.
- putAll(BloomFilter<T>) - Method in class com.google.common.hash.BloomFilter
-
Combines this bloom filter with another bloom filter by performing a bitwise OR of the underlying data.
- putAll(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Method in class com.google.common.collect.ImmutableBiMap.Builder
-
Adds all of the given entries to the built bimap.
- putAll(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Method in class com.google.common.collect.ImmutableListMultimap.Builder
-
Adds entries to the built multimap.
- putAll(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Method in class com.google.common.collect.ImmutableMap.Builder
-
Adds all of the given entries to the built map.
- putAll(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Method in class com.google.common.collect.ImmutableMultimap.Builder
-
Adds entries to the built multimap.
- putAll(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Method in class com.google.common.collect.ImmutableSetMultimap.Builder
-
Adds entries to the built multimap.
- putAll(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Method in class com.google.common.collect.ImmutableSortedMap.Builder
-
Adds all the given entries to the built map.
- putAll(Map<? extends TypeToken<? extends B>, ? extends B>) - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap
-
Deprecated.unsupported operation
- putAll(Map<? extends TypeToken<? extends B>, ? extends B>) - Method in class com.google.common.reflect.MutableTypeToInstanceMap
-
Deprecated.unsupported operation
- putAll(Map<? extends Class<? extends T>, ? extends T>) - Method in class com.google.common.collect.ImmutableClassToInstanceMap.Builder
-
Associates all of
map's
keys and values in the built map. - putAll(Map<? extends K, ? extends Long>) - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Copies all of the mappings from the specified map to this map.
- putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.cache.AbstractCache
- putAll(Map<? extends K, ? extends V>) - Method in interface com.google.common.cache.Cache
-
Copies all of the mappings from the specified map to the cache.
- putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.cache.ForwardingCache
- putAll(Map<? extends K, ? extends V>) - Method in interface com.google.common.collect.BiMap
- putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.ForwardingMap
- putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableBiMap.Builder
-
Associates all of the given map's keys and values in the built bimap.
- putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableMap.Builder
-
Associates all of the given map's keys and values in the built map.
- putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableMap
-
Deprecated.Unsupported operation.
- putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.ImmutableSortedMap.Builder
-
Associates all of the given map's keys and values in the built map.
- putAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.testing.SafeTreeMap
- putAll(K, Iterable<? extends V>) - Method in class com.google.common.collect.ForwardingMultimap
- putAll(K, Iterable<? extends V>) - Method in class com.google.common.collect.ImmutableListMultimap.Builder
- putAll(K, Iterable<? extends V>) - Method in class com.google.common.collect.ImmutableMultimap.Builder
-
Stores a collection of values with the same key in the built multimap.
- putAll(K, Iterable<? extends V>) - Method in class com.google.common.collect.ImmutableMultimap
-
Deprecated.Unsupported operation.
- putAll(K, Iterable<? extends V>) - Method in class com.google.common.collect.ImmutableSetMultimap.Builder
- putAll(K, Iterable<? extends V>) - Method in interface com.google.common.collect.Multimap
-
Stores a key-value pair in this multimap for each of
values
, all using the same key,key
. - putAll(K, V...) - Method in class com.google.common.collect.ImmutableListMultimap.Builder
- putAll(K, V...) - Method in class com.google.common.collect.ImmutableMultimap.Builder
-
Stores an array of values with the same key in the built multimap.
- putAll(K, V...) - Method in class com.google.common.collect.ImmutableSetMultimap.Builder
- putBoolean(boolean) - Method in interface com.google.common.hash.Hasher
-
Equivalent to
putByte(b ? (byte) 1 : (byte) 0)
. - putBoolean(boolean) - Method in interface com.google.common.hash.PrimitiveSink
-
Puts a boolean into this sink.
- putByte(byte) - Method in interface com.google.common.hash.Hasher
- putByte(byte) - Method in interface com.google.common.hash.PrimitiveSink
-
Puts a byte into this sink.
- putBytes(byte[]) - Method in interface com.google.common.hash.Hasher
- putBytes(byte[]) - Method in interface com.google.common.hash.PrimitiveSink
-
Puts an array of bytes into this sink.
- putBytes(byte[], int, int) - Method in interface com.google.common.hash.Hasher
- putBytes(byte[], int, int) - Method in interface com.google.common.hash.PrimitiveSink
-
Puts a chunk of an array of bytes into this sink.
- putChar(char) - Method in interface com.google.common.hash.Hasher
- putChar(char) - Method in interface com.google.common.hash.PrimitiveSink
-
Puts a character into this sink.
- putDistinctKeysDistinctValues() - Method in class com.google.common.collect.testing.google.BiMapPutTester
- putDouble(double) - Method in interface com.google.common.hash.Hasher
-
Equivalent to
putLong(Double.doubleToRawLongBits(d))
. - putDouble(double) - Method in interface com.google.common.hash.PrimitiveSink
-
Puts a double into this sink.
- putEdge(N, N) - Method in interface com.google.common.graph.MutableGraph
-
Adds an edge connecting
nodeU
tonodeV
if one is not already present. - putEdgeValue(N, N, V) - Method in interface com.google.common.graph.MutableValueGraph
-
Adds an edge connecting
nodeU
tonodeV
if one is not already present; associate that edge withvalue
. - putFirst(E) - Method in class com.google.common.collect.ForwardingBlockingDeque
- putFloat(float) - Method in interface com.google.common.hash.Hasher
-
Equivalent to
putInt(Float.floatToRawIntBits(f))
. - putFloat(float) - Method in interface com.google.common.hash.PrimitiveSink
-
Puts a float into this sink.
- putIfAbsent(K, V) - Method in class com.google.common.collect.ForwardingConcurrentMap
- putInstance(TypeToken<T>, T) - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap
-
Deprecated.unsupported operation
- putInstance(TypeToken<T>, T) - Method in class com.google.common.reflect.MutableTypeToInstanceMap
- putInstance(TypeToken<T>, T) - Method in interface com.google.common.reflect.TypeToInstanceMap
-
Maps the specified type to the specified value.
- putInstance(Class<T>, T) - Method in interface com.google.common.collect.ClassToInstanceMap
-
Maps the specified class to the specified value.
- putInstance(Class<T>, T) - Method in class com.google.common.collect.ImmutableClassToInstanceMap
-
Deprecated.Unsupported operation.
- putInstance(Class<T>, T) - Method in class com.google.common.collect.MutableClassToInstanceMap
- putInstance(Class<T>, T) - Method in class com.google.common.reflect.ImmutableTypeToInstanceMap
-
Deprecated.unsupported operation
- putInstance(Class<T>, T) - Method in class com.google.common.reflect.MutableTypeToInstanceMap
- putInstance(Class<T>, T) - Method in interface com.google.common.reflect.TypeToInstanceMap
-
Maps the specified class to the specified value.
- putInt(int) - Method in interface com.google.common.hash.Hasher
- putInt(int) - Method in interface com.google.common.hash.PrimitiveSink
-
Puts an int into this sink.
- putLast(E) - Method in class com.google.common.collect.ForwardingBlockingDeque
- putLong(long) - Method in interface com.google.common.hash.Hasher
- putLong(long) - Method in interface com.google.common.hash.PrimitiveSink
-
Puts a long into this sink.
- putObject(T, Funnel<? super T>) - Method in interface com.google.common.hash.Hasher
-
A simple convenience for
funnel.funnel(object, this)
. - putShort(short) - Method in interface com.google.common.hash.Hasher
- putShort(short) - Method in interface com.google.common.hash.PrimitiveSink
-
Puts a short into this sink.
- putString(CharSequence, Charset) - Method in interface com.google.common.hash.Hasher
-
Equivalent to
putBytes(charSequence.toString().getBytes(charset))
. - putString(CharSequence, Charset) - Method in interface com.google.common.hash.PrimitiveSink
-
Puts a string into this sink using the given charset.
- putUnencodedChars(CharSequence) - Method in interface com.google.common.hash.Hasher
-
Equivalent to processing each
char
value in theCharSequence
, in order. - putUnencodedChars(CharSequence) - Method in interface com.google.common.hash.PrimitiveSink
-
Puts each 16-bit code unit from the
CharSequence
into this sink. - putUninterruptibly(BlockingQueue<E>, E) - Static method in class com.google.common.util.concurrent.Uninterruptibles
-
Invokes
queue.
put(element)
uninterruptibly.
Q
- Quantiles - Class in com.google.common.math
-
Provides a fluent API for calculating quantiles.
- Quantiles() - Constructor for class com.google.common.math.Quantiles
- Quantiles.Scale - Class in com.google.common.math
-
Describes the point in a fluent API chain where only the scale (i.e.
- Quantiles.ScaleAndIndex - Class in com.google.common.math
-
Describes the point in a fluent API chain where the scale and a single quantile index (i.e.
- Quantiles.ScaleAndIndexes - Class in com.google.common.math
-
Describes the point in a fluent API chain where the scale and a multiple quantile indexes (i.e.
- quartiles() - Static method in class com.google.common.math.Quantiles
-
Specifies the computation of quartiles (i.e.
- QueueElementTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
element()
operations on a queue. - QueueElementTester() - Constructor for class com.google.common.collect.testing.testers.QueueElementTester
- QueueOfferTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests offer operations on a queue.
- QueueOfferTester() - Constructor for class com.google.common.collect.testing.testers.QueueOfferTester
- QueuePeekTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
peek()
operations on a queue. - QueuePeekTester() - Constructor for class com.google.common.collect.testing.testers.QueuePeekTester
- QueuePollTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
poll()
operations on a queue. - QueuePollTester() - Constructor for class com.google.common.collect.testing.testers.QueuePollTester
- QueueRemoveTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests
remove()
operations on a queue. - QueueRemoveTester() - Constructor for class com.google.common.collect.testing.testers.QueueRemoveTester
- Queues - Class in com.google.common.collect
-
Static utility methods pertaining to
Queue
andDeque
instances. - QueueTestSuiteBuilder<E> - Class in com.google.common.collect.testing
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a queue implementation.
- QueueTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.QueueTestSuiteBuilder
- QUICKTIME - Static variable in class com.google.common.net.MediaType
R
- range() - Method in class com.google.common.collect.ContiguousSet
-
Returns a range, closed on both ends, whose endpoints are the minimum and maximum values contained in this set.
- range(BoundType, BoundType) - Method in class com.google.common.collect.ContiguousSet
-
Returns the minimal range with the given boundary types for which all values in this set are contained within the range.
- range(C, BoundType, C, BoundType) - Static method in class com.google.common.collect.Range
-
Returns a range that contains any value from
lower
toupper
, where each endpoint may be either inclusive (closed) or exclusive (open). - Range<C extends java.lang.Comparable> - Class in com.google.common.collect
-
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. - RANGE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Range
header field name. - rangeContaining(C) - Method in class com.google.common.collect.ImmutableRangeSet
- rangeContaining(C) - Method in interface com.google.common.collect.RangeSet
-
Returns the unique range from this range set that contains
value
, ornull
if this range set does not containvalue
. - rangeContaining(C) - Method in class com.google.common.collect.TreeRangeSet
- RangeMap<K extends java.lang.Comparable,V> - Interface in com.google.common.collect
-
A mapping from disjoint nonempty ranges to non-null values.
- RangeSet<C extends java.lang.Comparable> - Interface in com.google.common.collect
- RateLimiter - Class in com.google.common.util.concurrent
-
A rate limiter.
- rawTypes() - Method in class com.google.common.reflect.TypeToken.TypeSet
-
Returns the raw types of the types in this set, in the same order.
- RDF_XML_UTF_8 - Static variable in class com.google.common.net.MediaType
- reachableNodes(Graph<N>, Object) - Static method in class com.google.common.graph.Graphs
-
Returns the set of nodes that are reachable from
node
. - read() - Method in class com.google.common.base.Ticker
-
Returns the number of nanoseconds elapsed since this ticker's fixed point of reference.
- read() - Method in class com.google.common.hash.HashingInputStream
-
Reads the next byte of data from the underlying input stream and updates the hasher with the byte read.
- read() - Method in class com.google.common.io.ByteSource
-
Reads the full contents of this byte source as a byte array.
- read() - Method in class com.google.common.io.CharSource
-
Reads the contents of this source as a string.
- read() - Method in class com.google.common.io.CountingInputStream
- read() - Method in class com.google.common.testing.FakeTicker
- read(byte[], int, int) - Method in class com.google.common.hash.HashingInputStream
-
Reads the specified bytes of data from the underlying input stream and updates the hasher with the bytes read.
- read(byte[], int, int) - Method in class com.google.common.io.CountingInputStream
- read(ByteProcessor<T>) - Method in class com.google.common.io.ByteSource
-
Reads the contents of this byte source using the given
processor
to process bytes as they are read. - read(InputStream, byte[], int, int) - Static method in class com.google.common.io.ByteStreams
-
Reads some bytes from an input stream and stores them into the buffer array
b
. - readBoolean() - Method in interface com.google.common.io.ByteArrayDataInput
- readBoolean() - Method in class com.google.common.io.LittleEndianDataInputStream
- readByte() - Method in interface com.google.common.io.ByteArrayDataInput
- readByte() - Method in class com.google.common.io.LittleEndianDataInputStream
- readBytes(File, ByteProcessor<T>) - Static method in class com.google.common.io.Files
-
Process the bytes of a file.
- readBytes(InputStream, ByteProcessor<T>) - Static method in class com.google.common.io.ByteStreams
-
Process the bytes of the given input stream using the given processor.
- readChar() - Method in interface com.google.common.io.ByteArrayDataInput
- readChar() - Method in class com.google.common.io.LittleEndianDataInputStream
-
Reads a char as specified by
DataInputStream.readChar()
, except using little-endian byte order. - readDouble() - Method in interface com.google.common.io.ByteArrayDataInput
- readDouble() - Method in class com.google.common.io.LittleEndianDataInputStream
-
Reads a
double
as specified byDataInputStream.readDouble()
, except using little-endian byte order. - readFirstLine() - Method in class com.google.common.io.CharSource
-
Reads the first line of this source as a string.
- readFirstLine(File, Charset) - Static method in class com.google.common.io.Files
-
Reads the first line from a file.
- readFloat() - Method in interface com.google.common.io.ByteArrayDataInput
- readFloat() - Method in class com.google.common.io.LittleEndianDataInputStream
-
Reads a
float
as specified byDataInputStream.readFloat()
, except using little-endian byte order. - readFrom(InputStream, Funnel<T>) - Static method in class com.google.common.hash.BloomFilter
-
Reads a byte stream, which was written by BloomFilter.writeTo(OutputStream), into a
BloomFilter<T>
. - readFully(byte[]) - Method in interface com.google.common.io.ByteArrayDataInput
- readFully(byte[]) - Method in class com.google.common.io.LittleEndianDataInputStream
- readFully(byte[], int, int) - Method in interface com.google.common.io.ByteArrayDataInput
- readFully(byte[], int, int) - Method in class com.google.common.io.LittleEndianDataInputStream
- readFully(InputStream, byte[]) - Static method in class com.google.common.io.ByteStreams
-
Attempts to read enough bytes from the stream to fill the given byte array, with the same behavior as
DataInput.readFully(byte[])
. - readFully(InputStream, byte[], int, int) - Static method in class com.google.common.io.ByteStreams
-
Attempts to read
len
bytes from the stream into the given array starting atoff
, with the same behavior asDataInput.readFully(byte[], int, int)
. - readInt() - Method in interface com.google.common.io.ByteArrayDataInput
- readInt() - Method in class com.google.common.io.LittleEndianDataInputStream
-
Reads an integer as specified by
DataInputStream.readInt()
, except using little-endian byte order. - readLine() - Method in interface com.google.common.io.ByteArrayDataInput
- readLine() - Method in class com.google.common.io.LineReader
-
Reads a line of text.
- readLine() - Method in class com.google.common.io.LittleEndianDataInputStream
-
This method will throw an
UnsupportedOperationException
. - readLines() - Method in class com.google.common.io.CharSource
-
Reads all the lines of this source as a list of strings.
- readLines(LineProcessor<T>) - Method in class com.google.common.io.CharSource
-
Reads lines of text from this source, processing each line as it is read using the given
processor
. - readLines(File, Charset) - Static method in class com.google.common.io.Files
-
Reads all of the lines from a file.
- readLines(File, Charset, LineProcessor<T>) - Static method in class com.google.common.io.Files
-
Streams lines from a
File
, stopping when our callback returns false, or we have read all of the lines. - readLines(Readable) - Static method in class com.google.common.io.CharStreams
-
Reads all of the lines from a
Readable
object. - readLines(Readable, LineProcessor<T>) - Static method in class com.google.common.io.CharStreams
-
Streams lines from a
Readable
object, stopping when the processor returnsfalse
or all lines have been read and returning the result produced by the processor. - readLines(URL, Charset) - Static method in class com.google.common.io.Resources
-
Reads all of the lines from a URL.
- readLines(URL, Charset, LineProcessor<T>) - Static method in class com.google.common.io.Resources
-
Streams lines from a URL, stopping when our callback returns false, or we have read all of the lines.
- readLong() - Method in interface com.google.common.io.ByteArrayDataInput
- readLong() - Method in class com.google.common.io.LittleEndianDataInputStream
-
Reads a
long
as specified byDataInputStream.readLong()
, except using little-endian byte order. - readShort() - Method in interface com.google.common.io.ByteArrayDataInput
- readShort() - Method in class com.google.common.io.LittleEndianDataInputStream
-
Reads a
short
as specified byDataInputStream.readShort()
, except using little-endian byte order. - readUnsignedByte() - Method in interface com.google.common.io.ByteArrayDataInput
- readUnsignedByte() - Method in class com.google.common.io.LittleEndianDataInputStream
- readUnsignedShort() - Method in interface com.google.common.io.ByteArrayDataInput
- readUnsignedShort() - Method in class com.google.common.io.LittleEndianDataInputStream
-
Reads an unsigned
short
as specified byDataInputStream.readUnsignedShort()
, except using little-endian byte order. - readUTF() - Method in interface com.google.common.io.ByteArrayDataInput
- readUTF() - Method in class com.google.common.io.LittleEndianDataInputStream
- readWriteLock(int) - Static method in class com.google.common.util.concurrent.Striped
-
Creates a
Striped<ReadWriteLock>
with eagerly initialized, strongly referenced read-write locks. - recordEviction() - Method in class com.google.common.cache.AbstractCache.SimpleStatsCounter
- recordEviction() - Method in interface com.google.common.cache.AbstractCache.StatsCounter
-
Records the eviction of an entry from the cache.
- recordHits(int) - Method in class com.google.common.cache.AbstractCache.SimpleStatsCounter
- recordHits(int) - Method in interface com.google.common.cache.AbstractCache.StatsCounter
-
Records cache hits.
- recordLoadException(long) - Method in class com.google.common.cache.AbstractCache.SimpleStatsCounter
- recordLoadException(long) - Method in interface com.google.common.cache.AbstractCache.StatsCounter
-
Records the failed load of a new entry.
- recordLoadSuccess(long) - Method in class com.google.common.cache.AbstractCache.SimpleStatsCounter
- recordLoadSuccess(long) - Method in interface com.google.common.cache.AbstractCache.StatsCounter
-
Records the successful load of a new entry.
- recordMisses(int) - Method in class com.google.common.cache.AbstractCache.SimpleStatsCounter
- recordMisses(int) - Method in interface com.google.common.cache.AbstractCache.StatsCounter
-
Records cache misses.
- recordStats() - Method in class com.google.common.cache.CacheBuilder
-
Enable the accumulation of
CacheStats
during the operation of the cache. - REFERER - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Referer
header field name. - Reflection - Class in com.google.common.reflect
-
Static utilities relating to Java reflection.
- refresh(K) - Method in class com.google.common.cache.AbstractLoadingCache
- refresh(K) - Method in class com.google.common.cache.ForwardingLoadingCache
- refresh(K) - Method in interface com.google.common.cache.LoadingCache
-
Loads a new value for key
key
, possibly asynchronously. - REFRESH - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Refresh
header field name. - refreshAfterWrite(long, TimeUnit) - Method in class com.google.common.cache.CacheBuilder
-
Specifies that active entries are eligible for automatic refresh once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.
- register(C) - Method in class com.google.common.io.Closer
- register(Object) - Method in class com.google.common.eventbus.EventBus
-
Registers all subscriber methods on
object
to receive events. - REJECTS_DUPLICATES_AT_CREATION - com.google.common.collect.testing.features.CollectionFeature
-
Indicates that the constructor or factory method of a collection, usually an immutable set, throws an
IllegalArgumentException
when presented with duplicate elements instead of collapsing them to a single element or including duplicate instances in the collection. - REJECTS_DUPLICATES_AT_CREATION - com.google.common.collect.testing.features.MapFeature
-
Indicates that the constructor or factory method of a map, usually an immutable map, throws an
IllegalArgumentException
when presented with duplicate keys instead of discarding all but one. - reload(K, V) - Method in class com.google.common.cache.CacheLoader
-
Computes or retrieves a replacement value corresponding to an already-cached
key
. - remainder(int, int) - Static method in class com.google.common.primitives.UnsignedInts
-
Returns dividend % divisor, where the dividend and divisor are treated as unsigned 32-bit quantities.
- remainder(long, long) - Static method in class com.google.common.primitives.UnsignedLongs
-
Returns dividend % divisor, where the dividend and divisor are treated as unsigned 64-bit quantities.
- remainingCapacity() - Method in class com.google.common.collect.EvictingQueue
-
Returns the number of additional elements that this queue can accept without evicting; zero if the queue is currently full.
- remainingCapacity() - Method in class com.google.common.collect.ForwardingBlockingDeque
- remainingCapacity() - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
- RemovalCause - Enum in com.google.common.cache
-
The reason why a cached entry was removed.
- removalListener(RemovalListener<? super K1, ? super V1>) - Method in class com.google.common.cache.CacheBuilder
-
Specifies a listener instance that caches should notify each time an entry is removed for any reason.
- RemovalListener<K,V> - Interface in com.google.common.cache
-
An object that can receive a notification when an entry is removed from a cache.
- RemovalListeners - Class in com.google.common.cache
-
A collection of common removal listeners.
- RemovalNotification<K,V> - Class in com.google.common.cache
-
A notification of the removal of a single entry.
- remove() - Method in class com.google.common.collect.ForwardingIterator
- remove() - Method in class com.google.common.collect.ForwardingQueue
- remove() - Method in interface com.google.common.collect.PeekingIterator
- remove() - Method in class com.google.common.collect.UnmodifiableIterator
-
Deprecated.Unsupported operation.
- remove(int) - Method in class com.google.common.collect.ForwardingList
- remove(int) - Method in class com.google.common.collect.ImmutableList
-
Deprecated.Unsupported operation.
- remove(Range<C>) - Method in class com.google.common.collect.ImmutableRangeSet
-
Deprecated.Unsupported operation.
- remove(Range<C>) - Method in interface com.google.common.collect.RangeSet
-
Removes the specified range from this
RangeSet
(optional operation). - remove(Range<C>) - Method in class com.google.common.collect.TreeRangeSet
- remove(Range<K>) - Method in class com.google.common.collect.ImmutableRangeMap
-
Deprecated.Unsupported operation.
- remove(Range<K>) - Method in interface com.google.common.collect.RangeMap
-
Removes all associations from this range map in the specified range (optional operation).
- remove(Range<K>) - Method in class com.google.common.collect.TreeRangeMap
- remove(Object) - Method in class com.google.common.collect.EvictingQueue
- remove(Object) - Method in class com.google.common.collect.ForwardingCollection
- remove(Object) - Method in class com.google.common.collect.ForwardingMap
- remove(Object) - Method in class com.google.common.collect.HashBiMap
- remove(Object) - Method in class com.google.common.collect.ImmutableCollection
-
Deprecated.Unsupported operation.
- remove(Object) - Method in class com.google.common.collect.ImmutableMap
-
Deprecated.Unsupported operation.
- remove(Object) - Method in interface com.google.common.collect.Multiset
-
Removes a single occurrence of the specified element from this multiset, if present.
- remove(Object) - Method in class com.google.common.collect.testing.SafeTreeMap
- remove(Object) - Method in class com.google.common.collect.testing.SafeTreeSet
- remove(Object, int) - Method in class com.google.common.collect.ConcurrentHashMultiset
-
Removes a number of occurrences of the specified element from this multiset.
- remove(Object, int) - Method in class com.google.common.collect.ForwardingMultiset
- remove(Object, int) - Method in class com.google.common.collect.ImmutableMultiset
-
Deprecated.Unsupported operation.
- remove(Object, int) - Method in interface com.google.common.collect.Multiset
-
Removes a number of occurrences of the specified element from this multiset.
- remove(Object, int) - Method in class com.google.common.collect.TreeMultiset
- remove(Object, Object) - Method in class com.google.common.collect.ArrayTable
-
Deprecated.
- remove(Object, Object) - Method in class com.google.common.collect.ForwardingConcurrentMap
- remove(Object, Object) - Method in class com.google.common.collect.ForwardingMultimap
- remove(Object, Object) - Method in class com.google.common.collect.ForwardingTable
- remove(Object, Object) - Method in class com.google.common.collect.HashBasedTable
- remove(Object, Object) - Method in class com.google.common.collect.ImmutableMultimap
-
Deprecated.Unsupported operation.
- remove(Object, Object) - Method in class com.google.common.collect.ImmutableTable
-
Deprecated.Unsupported operation.
- remove(Object, Object) - Method in interface com.google.common.collect.Multimap
-
Removes a single key-value pair with the key
key
and the valuevalue
from this multimap, if such exists. - remove(Object, Object) - Method in interface com.google.common.collect.Table
-
Removes the mapping, if any, associated with the given keys.
- remove(K) - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Removes and returns the value associated with
key
. - REMOVE_OPERATIONS - com.google.common.collect.testing.features.CollectionFeature
-
Features supported by collections where only removal is allowed.
- REMOVE_OPERATIONS - com.google.common.collect.testing.features.ListFeature
-
Features supported by lists where only removal is allowed.
- removeAll(RangeSet<C>) - Method in class com.google.common.collect.ImmutableRangeSet
-
Deprecated.Unsupported operation.
- removeAll(RangeSet<C>) - Method in interface com.google.common.collect.RangeSet
-
Removes all of the ranges from the specified range set from this range set (optional operation).
- removeAll(Iterable<?>, Collection<?>) - Static method in class com.google.common.collect.Iterables
-
Removes, from an iterable, every element that belongs to the provided collection.
- removeAll(Object) - Method in class com.google.common.collect.ForwardingListMultimap
- removeAll(Object) - Method in class com.google.common.collect.ForwardingMultimap
- removeAll(Object) - Method in class com.google.common.collect.ForwardingSetMultimap
- removeAll(Object) - Method in class com.google.common.collect.ForwardingSortedSetMultimap
- removeAll(Object) - Method in class com.google.common.collect.ImmutableListMultimap
-
Deprecated.Unsupported operation.
- removeAll(Object) - Method in class com.google.common.collect.ImmutableMultimap
-
Deprecated.Unsupported operation.
- removeAll(Object) - Method in class com.google.common.collect.ImmutableSetMultimap
-
Deprecated.Unsupported operation.
- removeAll(Object) - Method in class com.google.common.collect.LinkedListMultimap
-
Removes all values associated with the key
key
. - removeAll(Object) - Method in interface com.google.common.collect.ListMultimap
-
Removes all values associated with the key
key
. - removeAll(Object) - Method in interface com.google.common.collect.Multimap
-
Removes all values associated with the key
key
. - removeAll(Object) - Method in interface com.google.common.collect.SetMultimap
-
Removes all values associated with the key
key
. - removeAll(Object) - Method in interface com.google.common.collect.SortedSetMultimap
-
Removes all values associated with a given key.
- removeAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
- removeAll(Collection<?>) - Method in class com.google.common.collect.ImmutableCollection
-
Deprecated.Unsupported operation.
- removeAll(Collection<?>) - Method in interface com.google.common.collect.Multiset
- removeAll(Collection<?>) - Method in class com.google.common.collect.testing.MinimalCollection
- removeAll(Collection<?>) - Method in class com.google.common.collect.testing.SafeTreeSet
- removeAll(Iterator<?>, Collection<?>) - Static method in class com.google.common.collect.Iterators
-
Traverses an iterator and removes every element that belongs to the provided collection.
- removeAllZeros() - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Removes all mappings from this map whose values are zero.
- removeEdge(Object) - Method in interface com.google.common.graph.MutableNetwork
-
Removes
edge
from this network, if it is present. - removeEdge(Object, Object) - Method in interface com.google.common.graph.MutableGraph
-
Removes the edge connecting
nodeU
tonodeV
, if it is present. - removeEdge(Object, Object) - Method in interface com.google.common.graph.MutableValueGraph
-
Removes the edge connecting
nodeU
tonodeV
, if it is present. - removeExactly(Object, int) - Method in class com.google.common.collect.ConcurrentHashMultiset
-
Removes exactly the specified number of occurrences of
element
, or makes no change if this is not possible. - removeFirst() - Method in class com.google.common.collect.ForwardingDeque
- removeFirst() - Method in class com.google.common.collect.MinMaxPriorityQueue
-
Removes and returns the least element of this queue.
- removeFirstOccurrence(Object) - Method in class com.google.common.collect.ForwardingDeque
- removeFrom(CharSequence) - Method in class com.google.common.base.CharMatcher
-
Returns a string containing all non-matching characters of a character sequence, in order.
- removeIf(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
-
Removes, from an iterable, every element that satisfies the provided predicate.
- removeIf(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
-
Removes every element that satisfies the provided predicate from the iterator.
- removeIfZero(K) - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Atomically remove
key
from the map iff its associated value is 0. - removeLast() - Method in class com.google.common.collect.ForwardingDeque
- removeLast() - Method in class com.google.common.collect.MinMaxPriorityQueue
-
Removes and returns the greatest element of this queue.
- removeLastOccurrence(Object) - Method in class com.google.common.collect.ForwardingDeque
- removeNode(Object) - Method in interface com.google.common.graph.MutableGraph
-
Removes
node
if it is present; all edges incident tonode
will also be removed. - removeNode(Object) - Method in interface com.google.common.graph.MutableNetwork
-
Removes
node
if it is present; all edges incident tonode
will also be removed. - removeNode(Object) - Method in interface com.google.common.graph.MutableValueGraph
-
Removes
node
if it is present; all edges incident tonode
will also be removed. - removeOccurrences(Multiset<?>, Multiset<?>) - Static method in class com.google.common.collect.Multisets
-
For each occurrence of an element
e
inoccurrencesToRemove
, removes one occurrence ofe
inmultisetToModify
. - removeOccurrences(Multiset<?>, Iterable<?>) - Static method in class com.google.common.collect.Multisets
-
For each occurrence of an element
e
inoccurrencesToRemove
, removes one occurrence ofe
inmultisetToModify
. - repeat(String, int) - Static method in class com.google.common.base.Strings
-
Returns a string consisting of a specific number of concatenated copies of an input string.
- replace(K, V) - Method in class com.google.common.collect.ForwardingConcurrentMap
- replace(K, V, V) - Method in class com.google.common.collect.ForwardingConcurrentMap
- REPLACED - com.google.common.cache.RemovalCause
-
The entry itself was not actually removed, but its value was replaced by the user.
- replaceFrom(CharSequence, char) - Method in class com.google.common.base.CharMatcher
-
Returns a string copy of the input character sequence, with each character that matches this matcher replaced by a given replacement character.
- replaceFrom(CharSequence, CharSequence) - Method in class com.google.common.base.CharMatcher
-
Returns a string copy of the input character sequence, with each character that matches this matcher replaced by a given replacement sequence.
- replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.ForwardingListMultimap
- replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.ForwardingMultimap
- replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.ForwardingSetMultimap
- replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.ForwardingSortedSetMultimap
- replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.ImmutableListMultimap
-
Deprecated.Unsupported operation.
- replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.ImmutableMultimap
-
Deprecated.Unsupported operation.
- replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.ImmutableSetMultimap
-
Deprecated.Unsupported operation.
- replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.LinkedHashMultimap
-
Stores a collection of values with the same key, replacing any existing values for that key.
- replaceValues(K, Iterable<? extends V>) - Method in class com.google.common.collect.LinkedListMultimap
-
Stores a collection of values with the same key, replacing any existing values for that key.
- replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.ListMultimap
-
Stores a collection of values with the same key, replacing any existing values for that key.
- replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.Multimap
-
Stores a collection of values with the same key, replacing any existing values for that key.
- replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.SetMultimap
-
Stores a collection of values with the same key, replacing any existing values for that key.
- replaceValues(K, Iterable<? extends V>) - Method in interface com.google.common.collect.SortedSetMultimap
-
Stores a collection of values with the same key, replacing any existing values for that key.
- requestCount() - Method in class com.google.common.cache.CacheStats
-
Returns the number of times
Cache
lookup methods have returned either a cached or uncached value. - requireBracketsForIPv6() - Method in class com.google.common.net.HostAndPort
-
Generate an error if the host might be a non-bracketed IPv6 literal.
- reserialize(T) - Static method in class com.google.common.testing.SerializableTester
-
Serializes and deserializes the specified object.
- reserializeAndAssert(T) - Static method in class com.google.common.testing.SerializableTester
-
Serializes and deserializes the specified object and verifies that the re-serialized object is equal to the provided object, that the hashcodes are identical, and that the class of the re-serialized object is identical to that of the original.
- ReserializingTestCollectionGenerator<E> - Class in com.google.common.collect.testing
-
Reserializes the sets created by another test set generator.
- ReserializingTestSetGenerator<E> - Class in com.google.common.collect.testing
-
Reserializes the sets created by another test set generator.
- reset() - Method in class com.google.common.base.Stopwatch
-
Sets the elapsed time for this stopwatch to zero, and places it in a stopped state.
- reset() - Method in class com.google.common.hash.HashingInputStream
-
reset() is not supported for HashingInputStream.
- reset() - Method in class com.google.common.io.CountingInputStream
- reset() - Method in class com.google.common.io.FileBackedOutputStream
-
Calls
FileBackedOutputStream.close()
if not already closed, and then resets this object back to its initial state, for reuse. - resetCollection() - Method in class com.google.common.collect.testing.AbstractCollectionTester
- resetCollection() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- resetContainer() - Method in class com.google.common.collect.testing.AbstractContainerTester
-
Replaces the existing container under test with a new container created by the subject generator.
- resetContainer(C) - Method in class com.google.common.collect.testing.AbstractContainerTester
-
Replaces the existing container under test with a new container.
- resetContainer(Collection<E>) - Method in class com.google.common.collect.testing.AbstractCollectionTester
- resetContainer(Map.Entry<K, V>...) - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- resetContainer(M) - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- resetMap() - Method in class com.google.common.collect.testing.AbstractMapTester
- resetMap(Map.Entry<K, V>[]) - Method in class com.google.common.collect.testing.AbstractMapTester
- resetWithHole() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
-
Resets the contents of navigableSet to have elements a, c, for the navigation tests.
- resolveType(Type) - Method in class com.google.common.reflect.TypeResolver
-
Resolves all type variables in
type
and all downstream types and returns a corresponding type with type variables resolved. - resolveType(Type) - Method in class com.google.common.reflect.TypeToken
-
Resolves the given
type
against the type context represented by this type. - Resources - Class in com.google.common.io
-
Provides utility methods for working with resources in the classpath.
- RESTRICTS_ELEMENTS - com.google.common.collect.testing.features.CollectionFeature
-
Indicates that a collection disallows certain elements (other than
null
, whose validity as an element is indicated by the presence or absence ofCollectionFeature.ALLOWS_NULL_VALUES
). - RESTRICTS_KEYS - com.google.common.collect.testing.features.MapFeature
- RESTRICTS_VALUES - com.google.common.collect.testing.features.MapFeature
- result() - Method in class com.google.common.collect.ComparisonChain
-
Ends this comparison chain and returns its result: a value having the same sign as the first nonzero comparison result in the chain, or zero if every result was zero.
- retainAll(Iterable<?>, Collection<?>) - Static method in class com.google.common.collect.Iterables
-
Removes, from an iterable, every element that does not belong to the provided collection.
- retainAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
- retainAll(Collection<?>) - Method in class com.google.common.collect.ImmutableCollection
-
Deprecated.Unsupported operation.
- retainAll(Collection<?>) - Method in interface com.google.common.collect.Multiset
- retainAll(Collection<?>) - Method in class com.google.common.collect.testing.MinimalCollection
- retainAll(Collection<?>) - Method in class com.google.common.collect.testing.SafeTreeSet
- retainAll(Iterator<?>, Collection<?>) - Static method in class com.google.common.collect.Iterators
-
Traverses an iterator and removes every element that does not belong to the provided collection.
- retainFrom(CharSequence) - Method in class com.google.common.base.CharMatcher
-
Returns a string containing all matching characters of a character sequence, in order.
- retainOccurrences(Multiset<?>, Multiset<?>) - Static method in class com.google.common.collect.Multisets
-
Modifies
multisetToModify
so that its count for an elemente
is at mostmultisetToRetain.count(e)
. - rethrow(Throwable) - Method in class com.google.common.io.Closer
-
Stores the given throwable and rethrows it.
- rethrow(Throwable, Class<X>) - Method in class com.google.common.io.Closer
-
Stores the given throwable and rethrows it.
- rethrow(Throwable, Class<X1>, Class<X2>) - Method in class com.google.common.io.Closer
-
Stores the given throwable and rethrows it.
- RETRY_AFTER - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Retry-After
header field name. - returning(TypeToken<R1>) - Method in class com.google.common.reflect.Invokable
-
Explicitly specifies the return type of this
Invokable
. - returning(Class<R1>) - Method in class com.google.common.reflect.Invokable
-
Explicitly specifies the return type of this
Invokable
. - returning(T) - Static method in class com.google.common.util.concurrent.Callables
-
Creates a
Callable
which immediately returns a preset value each time it is called. - reverse() - Method in class com.google.common.base.Converter
-
Returns the reversed view of this converter, which converts
this.convert(a)
back to a value roughly equivalent toa
. - reverse() - Method in class com.google.common.collect.ImmutableList
-
Returns a view of this immutable list in reverse order.
- reverse() - Method in class com.google.common.collect.Ordering
-
Returns the reverse of this ordering; the
Ordering
equivalent toCollections.reverseOrder(Comparator)
. - reverse(List<T>) - Static method in class com.google.common.collect.Lists
-
Returns a reversed view of the specified list.
- reverseOrder() - Static method in class com.google.common.collect.ImmutableSortedMap
-
Returns a builder that creates immutable sorted maps whose keys are ordered by the reverse of their natural ordering.
- reverseOrder() - Static method in class com.google.common.collect.ImmutableSortedMultiset
-
Returns a builder that creates immutable sorted multisets whose elements are ordered by the reverse of their natural ordering.
- reverseOrder() - Static method in class com.google.common.collect.ImmutableSortedSet
-
Returns a builder that creates immutable sorted sets whose elements are ordered by the reverse of their natural ordering.
- rightChild(T) - Method in class com.google.common.collect.BinaryTreeTraverser
-
Returns the right child of the specified node, or
Optional.absent()
if the specified node has no right child. - rightValue() - Method in interface com.google.common.collect.MapDifference.ValueDifference
-
Returns the value from the right map (possibly null).
- roundToBigInteger(double, RoundingMode) - Static method in class com.google.common.math.DoubleMath
-
Returns the
BigInteger
value that is equal tox
rounded with the specified rounding mode, if possible. - roundToInt(double, RoundingMode) - Static method in class com.google.common.math.DoubleMath
-
Returns the
int
value that is equal tox
rounded with the specified rounding mode, if possible. - roundToLong(double, RoundingMode) - Static method in class com.google.common.math.DoubleMath
-
Returns the
long
value that is equal tox
rounded with the specified rounding mode, if possible. - row(R) - Method in class com.google.common.collect.ArrayTable
-
Returns a view of all mappings that have the given row key.
- row(R) - Method in class com.google.common.collect.ForwardingTable
- row(R) - Method in class com.google.common.collect.ImmutableTable
-
Returns a view of all mappings that have the given row key.
- row(R) - Method in interface com.google.common.collect.Table
-
Returns a view of all mappings that have the given row key.
- row(R) - Method in class com.google.common.collect.TreeBasedTable
-
Returns a view of all mappings that have the given row key.
- rowComparator() - Method in class com.google.common.collect.TreeBasedTable
-
Returns the comparator that orders the rows.
- rowKeyList() - Method in class com.google.common.collect.ArrayTable
-
Returns, as an immutable list, the row keys provided when the table was constructed, including those that are mapped to null values only.
- rowKeySet() - Method in class com.google.common.collect.ArrayTable
-
Returns an immutable set of the valid row keys, including those that are associated with null values only.
- rowKeySet() - Method in class com.google.common.collect.ForwardingTable
- rowKeySet() - Method in class com.google.common.collect.ImmutableTable
- rowKeySet() - Method in interface com.google.common.collect.RowSortedTable
-
Returns a set of row keys that have one or more values in the table.
- rowKeySet() - Method in interface com.google.common.collect.Table
-
Returns a set of row keys that have one or more values in the table.
- rowKeySet() - Method in class com.google.common.collect.TreeBasedTable
- rowMap() - Method in class com.google.common.collect.ArrayTable
- rowMap() - Method in class com.google.common.collect.ForwardingTable
- rowMap() - Method in class com.google.common.collect.ImmutableTable
-
Returns a view that associates each row key with the corresponding map from column keys to values.
- rowMap() - Method in interface com.google.common.collect.RowSortedTable
-
Returns a view that associates each row key with the corresponding map from column keys to values.
- rowMap() - Method in interface com.google.common.collect.Table
-
Returns a view that associates each row key with the corresponding map from column keys to values.
- rowMap() - Method in class com.google.common.collect.TreeBasedTable
- RowSortedTable<R,C,V> - Interface in com.google.common.collect
-
Interface that extends
Table
and whose rows are sorted. - RS - Static variable in class com.google.common.base.Ascii
-
Record Separator: These four information separators may be used within data in optional fashion, except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then RS, and US is least inclusive.
- RTF_UTF_8 - Static variable in class com.google.common.net.MediaType
- run() - Method in class com.google.common.base.internal.Finalizer
-
Loops continuously, pulling references off the queue and cleaning them up.
- run() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
-
Run the service.
- run() - Method in class com.google.common.util.concurrent.testing.MockFutureListener
- Runnables - Class in com.google.common.util.concurrent
-
Static utility methods pertaining to the
Runnable
interface. - running() - Method in class com.google.common.util.concurrent.Service.Listener
- RUNNING - com.google.common.util.concurrent.Service.State
-
A service in this state is operational.
- runOneIteration() - Method in class com.google.common.util.concurrent.AbstractScheduledService
-
Run one iteration of the scheduled task.
- runTearDown() - Method in class com.google.common.testing.TearDownStack
-
Causes teardown to execute.
S
- SafeTreeMap<K,V> - Class in com.google.common.collect.testing
-
A wrapper around
TreeMap
that aggressively checks to see if keys are mutually comparable. - SafeTreeMap() - Constructor for class com.google.common.collect.testing.SafeTreeMap
- SafeTreeMap(Comparator<? super K>) - Constructor for class com.google.common.collect.testing.SafeTreeMap
- SafeTreeMap(Map<? extends K, ? extends V>) - Constructor for class com.google.common.collect.testing.SafeTreeMap
- SafeTreeMap(SortedMap<K, ? extends V>) - Constructor for class com.google.common.collect.testing.SafeTreeMap
- SafeTreeSet<E> - Class in com.google.common.collect.testing
-
A wrapper around
TreeSet
that aggressively checks to see if elements are mutually comparable. - SafeTreeSet() - Constructor for class com.google.common.collect.testing.SafeTreeSet
- SafeTreeSet(Collection<? extends E>) - Constructor for class com.google.common.collect.testing.SafeTreeSet
- SafeTreeSet(Comparator<? super E>) - Constructor for class com.google.common.collect.testing.SafeTreeSet
- SafeTreeSet(SortedSet<E>) - Constructor for class com.google.common.collect.testing.SafeTreeSet
- sameThreadExecutor() - Static method in class com.google.common.util.concurrent.MoreExecutors
-
Deprecated.Use
MoreExecutors.directExecutor()
if you only require anExecutor
andMoreExecutors.newDirectExecutorService()
if you need aListeningExecutorService
. This method will be removed in Guava 21.0. - sameThreadScheduledExecutor() - Static method in class com.google.common.util.concurrent.testing.TestingExecutors
-
Creates a scheduled executor service that runs each task in the thread that invokes
execute/submit/schedule
, as inCallerRunsPolicy
. - sampleCovariance() - Method in class com.google.common.math.PairedStats
-
Returns the sample covariance of the values.
- sampleCovariance() - Method in class com.google.common.math.PairedStatsAccumulator
-
Returns the sample covariance of the values.
- SampleElements<E> - Class in com.google.common.collect.testing
-
A container class for the five sample elements we need for testing.
- SampleElements(E, E, E, E, E) - Constructor for class com.google.common.collect.testing.SampleElements
- SampleElements.Chars - Class in com.google.common.collect.testing
- SampleElements.Colliders - Class in com.google.common.collect.testing
- SampleElements.Enums - Class in com.google.common.collect.testing
- SampleElements.Ints - Class in com.google.common.collect.testing
- SampleElements.Strings - Class in com.google.common.collect.testing
- SampleElements.Unhashables - Class in com.google.common.collect.testing
- sampleKeys() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- sampleKeys() - Method in interface com.google.common.collect.testing.google.TestMultimapGenerator
- sampleKeys() - Method in class com.google.common.collect.testing.google.TestStringListMultimapGenerator
- sampleKeys() - Method in class com.google.common.collect.testing.google.TestStringSetMultimapGenerator
- samples - Variable in class com.google.common.collect.testing.AbstractContainerTester
- samples() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapEntrySetGenerator
- samples() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapKeySetGenerator
- samples() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.MapValueCollectionGenerator
- samples() - Method in class com.google.common.collect.testing.DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator
- samples() - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.BiMapValueSetGenerator
- samples() - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.InverseBiMapGenerator
- samples() - Method in class com.google.common.collect.testing.google.DerivedGoogleCollectionGenerators.MapGenerator
- samples() - Method in class com.google.common.collect.testing.google.MapGenerators.ImmutableMapEntryListGenerator
- samples() - Method in class com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapEntryListGenerator
- samples() - Method in class com.google.common.collect.testing.google.TestEnumMultisetGenerator
- samples() - Method in class com.google.common.collect.testing.google.TestStringBiMapGenerator
- samples() - Method in class com.google.common.collect.testing.google.TestStringListMultimapGenerator
- samples() - Method in class com.google.common.collect.testing.google.TestStringMultisetGenerator
- samples() - Method in class com.google.common.collect.testing.google.TestStringSetMultimapGenerator
- samples() - Method in class com.google.common.collect.testing.OneSizeGenerator
- samples() - Method in class com.google.common.collect.testing.ReserializingTestCollectionGenerator
- samples() - Method in class com.google.common.collect.testing.TestCharacterListGenerator
- samples() - Method in class com.google.common.collect.testing.TestCollidingSetGenerator
- samples() - Method in interface com.google.common.collect.testing.TestContainerGenerator
-
Returns the sample elements that this generate populates its container with.
- samples() - Method in class com.google.common.collect.testing.TestEnumMapGenerator
- samples() - Method in class com.google.common.collect.testing.TestEnumSetGenerator
- samples() - Method in class com.google.common.collect.testing.TestIntegerSetGenerator
- samples() - Method in class com.google.common.collect.testing.TestMapEntrySetGenerator
- samples() - Method in class com.google.common.collect.testing.TestStringCollectionGenerator
- samples() - Method in class com.google.common.collect.testing.TestStringListGenerator
- samples() - Method in class com.google.common.collect.testing.TestStringMapGenerator
- samples() - Method in class com.google.common.collect.testing.TestStringQueueGenerator
- samples() - Method in class com.google.common.collect.testing.TestStringSetGenerator
- samples() - Method in class com.google.common.collect.testing.TestUnhashableCollectionGenerator
- sampleStandardDeviation() - Method in class com.google.common.math.Stats
-
Returns the corrected sample standard deviation of the values.
- sampleStandardDeviation() - Method in class com.google.common.math.StatsAccumulator
-
Returns the corrected sample standard deviation of the values.
- sampleValues() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- sampleValues() - Method in interface com.google.common.collect.testing.google.TestMultimapGenerator
- sampleValues() - Method in class com.google.common.collect.testing.google.TestStringListMultimapGenerator
- sampleValues() - Method in class com.google.common.collect.testing.google.TestStringSetMultimapGenerator
- sampleVariance() - Method in class com.google.common.math.Stats
-
Returns the unbaised sample variance of the values.
- sampleVariance() - Method in class com.google.common.math.StatsAccumulator
-
Returns the unbaised sample variance of the values.
- saturatedAdd(int, int) - Static method in class com.google.common.math.IntMath
-
Returns the sum of
a
andb
unless it would overflow or underflow in which caseInteger.MAX_VALUE
orInteger.MIN_VALUE
is returned, respectively. - saturatedAdd(long, long) - Static method in class com.google.common.math.LongMath
-
Returns the sum of
a
andb
unless it would overflow or underflow in which caseLong.MAX_VALUE
orLong.MIN_VALUE
is returned, respectively. - saturatedCast(long) - Static method in class com.google.common.primitives.Chars
-
Returns the
char
nearest in value tovalue
. - saturatedCast(long) - Static method in class com.google.common.primitives.Ints
-
Returns the
int
nearest in value tovalue
. - saturatedCast(long) - Static method in class com.google.common.primitives.Shorts
-
Returns the
short
nearest in value tovalue
. - saturatedCast(long) - Static method in class com.google.common.primitives.SignedBytes
-
Returns the
byte
nearest in value tovalue
. - saturatedCast(long) - Static method in class com.google.common.primitives.UnsignedBytes
-
Returns the
byte
value that, when treated as unsigned, is nearest in value tovalue
. - saturatedMultiply(int, int) - Static method in class com.google.common.math.IntMath
-
Returns the product of
a
andb
unless it would overflow or underflow in which caseInteger.MAX_VALUE
orInteger.MIN_VALUE
is returned, respectively. - saturatedMultiply(long, long) - Static method in class com.google.common.math.LongMath
-
Returns the product of
a
andb
unless it would overflow or underflow in which caseLong.MAX_VALUE
orLong.MIN_VALUE
is returned, respectively. - saturatedPow(int, int) - Static method in class com.google.common.math.IntMath
-
Returns the
b
to thek
th power, unless it would overflow or underflow in which caseInteger.MAX_VALUE
orInteger.MIN_VALUE
is returned, respectively. - saturatedPow(long, int) - Static method in class com.google.common.math.LongMath
-
Returns the
b
to thek
th power, unless it would overflow or underflow in which caseLong.MAX_VALUE
orLong.MIN_VALUE
is returned, respectively. - saturatedSubtract(int, int) - Static method in class com.google.common.math.IntMath
-
Returns the difference of
a
andb
unless it would overflow or underflow in which caseInteger.MAX_VALUE
orInteger.MIN_VALUE
is returned, respectively. - saturatedSubtract(long, long) - Static method in class com.google.common.math.LongMath
-
Returns the difference of
a
andb
unless it would overflow or underflow in which caseLong.MAX_VALUE
orLong.MIN_VALUE
is returned, respectively. - scale(int) - Static method in class com.google.common.math.Quantiles
-
Specifies the computation of q-quantiles.
- schedule(Runnable, long, TimeUnit) - Method in interface com.google.common.util.concurrent.ListeningScheduledExecutorService
- schedule(Callable<V>, long, TimeUnit) - Method in interface com.google.common.util.concurrent.ListeningScheduledExecutorService
- Schedule(long, TimeUnit) - Constructor for class com.google.common.util.concurrent.AbstractScheduledService.CustomScheduler.Schedule
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in interface com.google.common.util.concurrent.ListeningScheduledExecutorService
- scheduler() - Method in class com.google.common.util.concurrent.AbstractScheduledService
-
Returns the
AbstractScheduledService.Scheduler
object used to configure this service. - scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in interface com.google.common.util.concurrent.ListeningScheduledExecutorService
- self() - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- semaphore(int, int) - Static method in class com.google.common.util.concurrent.Striped
-
Creates a
Striped<Semaphore>
with eagerly initialized, strongly referenced semaphores, with the specified number of permits. - sequentialFunnel(Funnel<E>) - Static method in class com.google.common.hash.Funnels
-
Returns a funnel that processes an
Iterable
by funneling its elements in iteration order with the specified funnel. - serializable() - Method in annotation type com.google.common.annotations.GwtCompatible
-
When
true
, the annotated type or the type of the method return value is GWT serializable. - SERIALIZABLE - com.google.common.collect.testing.features.CollectionFeature
- SERIALIZABLE_INCLUDING_VIEWS - com.google.common.collect.testing.features.CollectionFeature
- SerializableTester - Class in com.google.common.testing
-
Tests serialization and deserialization of an object, optionally asserting that the resulting object is equal to the original.
- SERVER - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Server
header field name. - Service - Interface in com.google.common.util.concurrent
-
An object with an operational state, plus asynchronous
Service.startAsync()
andService.stopAsync()
lifecycle methods to transition between states. - SERVICE_WORKER - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Service-Worker
header field name. - SERVICE_WORKER_ALLOWED - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Service-Worker-Allowed
header field name. - Service.Listener - Class in com.google.common.util.concurrent
-
A listener for the various state changes that a
Service
goes through in its lifecycle. - Service.State - Enum in com.google.common.util.concurrent
-
The lifecycle states of a service.
- ServiceManager - Class in com.google.common.util.concurrent
-
A manager for monitoring and controlling a set of services.
- ServiceManager(Iterable<? extends Service>) - Constructor for class com.google.common.util.concurrent.ServiceManager
-
Constructs a new instance for managing the given services.
- ServiceManager.Listener - Class in com.google.common.util.concurrent
-
A listener for the aggregate state changes of the services that are under management.
- serviceName() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
-
Returns the name of this service.
- serviceName() - Method in class com.google.common.util.concurrent.AbstractIdleService
-
Returns the name of this service.
- serviceName() - Method in class com.google.common.util.concurrent.AbstractScheduledService
-
Returns the name of this service.
- servicesByState() - Method in class com.google.common.util.concurrent.ServiceManager
-
Provides a snapshot of the current state of all the services under management.
- set(double) - Method in class com.google.common.util.concurrent.AtomicDouble
-
Sets to the given value.
- set(int, double) - Method in class com.google.common.util.concurrent.AtomicDoubleArray
-
Sets the element at position
i
to the given value. - set(int, int, V) - Method in class com.google.common.collect.ArrayTable
-
Associates
value
with the specified row and column indices. - set(int, E) - Method in class com.google.common.collect.ForwardingList
- set(int, E) - Method in class com.google.common.collect.ImmutableList
-
Deprecated.Unsupported operation.
- set(E) - Method in class com.google.common.collect.ForwardingListIterator
- set(E) - Method in class com.google.common.collect.UnmodifiableListIterator
-
Deprecated.Unsupported operation.
- set(V) - Method in class com.google.common.util.concurrent.AbstractFuture
-
Sets the result of this
Future
unless thisFuture
has already been cancelled or set (including set asynchronously). - set(V) - Method in class com.google.common.util.concurrent.SettableFuture
- SET_COOKIE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Set-Cookie
header field name. - SET_COOKIE2 - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Set-Cookie2
header field name. - SetAddAllTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests addAll operations on a set.
- SetAddAllTester() - Constructor for class com.google.common.collect.testing.testers.SetAddAllTester
- SetAddTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests add operations on a set.
- SetAddTester() - Constructor for class com.google.common.collect.testing.testers.SetAddTester
- setAutoIncrementStep(long, TimeUnit) - Method in class com.google.common.testing.FakeTicker
-
Sets the increment applied to the ticker whenever it is queried.
- setCount(E, int) - Method in class com.google.common.collect.ConcurrentHashMultiset
-
Adds or removes occurrences of
element
such that theConcurrentHashMultiset.count(java.lang.Object)
of the element becomescount
. - setCount(E, int) - Method in class com.google.common.collect.ForwardingMultiset
- setCount(E, int) - Method in class com.google.common.collect.ImmutableMultiset.Builder
-
Adds or removes the necessary occurrences of an element such that the element attains the desired count.
- setCount(E, int) - Method in class com.google.common.collect.ImmutableMultiset
-
Deprecated.Unsupported operation.
- setCount(E, int) - Method in class com.google.common.collect.ImmutableSortedMultiset.Builder
-
Adds or removes the necessary occurrences of an element such that the element attains the desired count.
- setCount(E, int) - Method in interface com.google.common.collect.Multiset
-
Adds or removes the necessary occurrences of an element such that the element attains the desired count.
- setCount(E, int) - Method in class com.google.common.collect.TreeMultiset
- setCount(E, int, int) - Method in class com.google.common.collect.ConcurrentHashMultiset
-
Sets the number of occurrences of
element
tonewCount
, but only if the count is currentlyexpectedOldCount
. - setCount(E, int, int) - Method in class com.google.common.collect.ForwardingMultiset
- setCount(E, int, int) - Method in class com.google.common.collect.ImmutableMultiset
-
Deprecated.Unsupported operation.
- setCount(E, int, int) - Method in interface com.google.common.collect.Multiset
-
Conditionally sets the count of an element to a new value, as described in
Multiset.setCount(Object, int)
, provided that the element has the expected current count. - setCount(E, int, int) - Method in class com.google.common.collect.TreeMultiset
- SetCreationTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests creation (typically through a constructor or static factory method) of a set.
- SetCreationTester() - Constructor for class com.google.common.collect.testing.testers.SetCreationTester
- setDaemon(boolean) - Method in class com.google.common.util.concurrent.ThreadFactoryBuilder
-
Sets daemon or not for new threads created with this ThreadFactory.
- setDefault(Class<T>, T) - Method in class com.google.common.testing.AbstractPackageSanityTests
-
Sets the default value for
type
, when dummy value for a parameter of the same type needs to be created in order to invoke a method or constructor. - setDefault(Class<T>, T) - Method in class com.google.common.testing.ClassSanityTester
-
Sets the default value for
type
. - setDefault(Class<T>, T) - Method in class com.google.common.testing.NullPointerTester
-
Sets a default value that can be used for any parameter of type
type
. - setDistinctValues(Class<T>, T, T) - Method in class com.google.common.testing.AbstractPackageSanityTests
-
Sets two distinct values for
type
. - setDistinctValues(Class<T>, T, T) - Method in class com.google.common.testing.ClassSanityTester
-
Sets distinct values for
type
, so that when a classFoo
is tested forObject.equals(java.lang.Object)
andObject.hashCode()
, and its construction requires a parameter oftype
, the distinct values oftype
can be passed as parameters to createFoo
instances that are unequal. - SetEqualsTester<E> - Class in com.google.common.collect.testing.testers
-
Tests
Set.equals(java.lang.Object)
. - SetEqualsTester() - Constructor for class com.google.common.collect.testing.testers.SetEqualsTester
- setException(Throwable) - Method in class com.google.common.util.concurrent.AbstractFuture
-
Sets the failed result of this
Future
unless thisFuture
has already been cancelled or set (including set asynchronously). - setException(Throwable) - Method in class com.google.common.util.concurrent.SettableFuture
- SetFeature - Enum in com.google.common.collect.testing.features
-
Optional features of classes derived from
Set
. - SetFeature.Require - Annotation Type in com.google.common.collect.testing.features
- setFuture(ListenableFuture<? extends V>) - Method in class com.google.common.util.concurrent.AbstractFuture
-
Sets the result of this
Future
to match the supplied inputFuture
once the suppliedFuture
is done, unless thisFuture
has already been cancelled or set (including "set asynchronously," defined below). - setFuture(ListenableFuture<? extends V>) - Method in class com.google.common.util.concurrent.SettableFuture
- SetGenerators - Class in com.google.common.collect.testing.google
-
Generators of different types of sets and derived collections from sets.
- SetGenerators() - Constructor for class com.google.common.collect.testing.google.SetGenerators
- SetGenerators.ContiguousSetDescendingGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ContiguousSetGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ContiguousSetHeadsetGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ContiguousSetSubsetGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ContiguousSetTailsetGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.DegeneratedImmutableSetGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSetAsListGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSetCopyOfGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSetWithBadHashesGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSortedSetAsListGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSortedSetAsListSubListGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSortedSetCopyOfGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSortedSetDescendingAsListGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSortedSetDescendingGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSortedSetExplicitComparator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSortedSetExplicitSuperclassComparatorGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSortedSetHeadsetGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSortedSetReversedOrderGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSortedSetSubsetAsListGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSortedSetSubsetAsListSubListGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSortedSetSubsetGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSortedSetTailsetGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.ImmutableSortedSetUnhashableGenerator - Class in com.google.common.collect.testing.google
- SetGenerators.TestUnhashableSetGenerator - Class in com.google.common.collect.testing.google
- SetHashCodeTester<E> - Class in com.google.common.collect.testing.testers
-
Tests
Set.hashCode()
. - SetHashCodeTester() - Constructor for class com.google.common.collect.testing.testers.SetHashCodeTester
- SetMultimap<K,V> - Interface in com.google.common.collect
-
A
Multimap
that cannot hold duplicate key-value pairs. - SetMultimapAsMapTester<K,V> - Class in com.google.common.collect.testing.google
-
Testers for
SetMultimap.asMap()
. - SetMultimapAsMapTester() - Constructor for class com.google.common.collect.testing.google.SetMultimapAsMapTester
- SetMultimapEqualsTester<K,V> - Class in com.google.common.collect.testing.google
-
Testers for
SetMultimap.equals(Object)
. - SetMultimapEqualsTester() - Constructor for class com.google.common.collect.testing.google.SetMultimapEqualsTester
- SetMultimapPutAllTester<K,V> - Class in com.google.common.collect.testing.google
- SetMultimapPutAllTester() - Constructor for class com.google.common.collect.testing.google.SetMultimapPutAllTester
- SetMultimapPutTester<K,V> - Class in com.google.common.collect.testing.google
- SetMultimapPutTester() - Constructor for class com.google.common.collect.testing.google.SetMultimapPutTester
- SetMultimapReplaceValuesTester<K,V> - Class in com.google.common.collect.testing.google
- SetMultimapReplaceValuesTester() - Constructor for class com.google.common.collect.testing.google.SetMultimapReplaceValuesTester
- SetMultimapTestSuiteBuilder<K,V> - Class in com.google.common.collect.testing.google
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a
SetMultimap
implementation. - SetMultimapTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.google.SetMultimapTestSuiteBuilder
- setNameFormat(String) - Method in class com.google.common.util.concurrent.ThreadFactoryBuilder
-
Sets the naming format to use when naming threads (
Thread.setName(java.lang.String)
) which are created with this ThreadFactory. - setPriority(int) - Method in class com.google.common.util.concurrent.ThreadFactoryBuilder
-
Sets the priority for new threads created with this ThreadFactory.
- setRate(double) - Method in class com.google.common.util.concurrent.RateLimiter
-
Updates the stable rate of this
RateLimiter
, that is, thepermitsPerSecond
argument provided in the factory method that constructed theRateLimiter
. - SetRemoveTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests remove operations on a set.
- SetRemoveTester() - Constructor for class com.google.common.collect.testing.testers.SetRemoveTester
- Sets - Class in com.google.common.collect
-
Static utility methods pertaining to
Set
instances. - Sets.SetView<E> - Class in com.google.common.collect
-
An unmodifiable view of a set which may be backed by other sets; this view will change as the backing sets do.
- setSafeRange(char, char) - Method in class com.google.common.escape.Escapers.Builder
-
Sets the safe range of characters for the escaper.
- SettableFuture<V> - Class in com.google.common.util.concurrent
-
A
ListenableFuture
whose result can be set by aSettableFuture.set(Object)
,SettableFuture.setException(Throwable)
orSettableFuture.setFuture(ListenableFuture)
call. - SetTestSuiteBuilder<E> - Class in com.google.common.collect.testing
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a Set implementation.
- SetTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.SetTestSuiteBuilder
- setThreadFactory(ThreadFactory) - Method in class com.google.common.util.concurrent.ThreadFactoryBuilder
-
Sets the backing
ThreadFactory
for new threads created with this ThreadFactory. - setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class com.google.common.util.concurrent.ThreadFactoryBuilder
-
Sets the
Thread.UncaughtExceptionHandler
for new threads created with this ThreadFactory. - setUnsafeReplacement(String) - Method in class com.google.common.escape.Escapers.Builder
-
Sets the replacement string for any characters outside the 'safe' range that have no explicit replacement.
- setUp() - Method in class com.google.common.collect.testing.AbstractContainerTester
- setUp() - Method in class com.google.common.collect.testing.AbstractMapTester
- setUp() - Method in class com.google.common.collect.testing.AbstractTester
- setUp() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- setUp() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- setUp() - Method in class com.google.common.collect.testing.testers.MapPutAllTester
- setUp() - Method in class com.google.common.collect.testing.testers.MapPutTester
- setUp() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- setUp() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- setUp() - Method in class com.google.common.collect.testing.testers.SortedMapNavigationTester
- setUp() - Method in class com.google.common.collect.testing.testers.SortedSetNavigationTester
- setUp() - Method in class com.google.common.util.concurrent.testing.AbstractListenableFutureTest
- setValue(V) - Method in class com.google.common.collect.ForwardingMapEntry
- SEVERAL - com.google.common.collect.testing.features.CollectionSize
-
Test a three-element collection.
- SFNT - Static variable in class com.google.common.net.MediaType
- sha1() - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the SHA-1 algorithm (160 hash bits) by delegating to the SHA-1
MessageDigest
. - sha256() - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the SHA-256 algorithm (256 hash bits) by delegating to the SHA-256
MessageDigest
. - sha384() - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the SHA-384 algorithm (384 hash bits) by delegating to the SHA-384
MessageDigest
. - sha512() - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the SHA-512 algorithm (512 hash bits) by delegating to the SHA-512
MessageDigest
. - SHOCKWAVE_FLASH - Static variable in class com.google.common.net.MediaType
- Shorts - Class in com.google.common.primitives
-
Static utility methods pertaining to
short
primitives, that are not already found in eitherShort
orArrays
. - shutdown() - Method in class com.google.common.util.concurrent.ForwardingExecutorService
- shutDown() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
-
Stop the service.
- shutDown() - Method in class com.google.common.util.concurrent.AbstractIdleService
-
Stop the service.
- shutDown() - Method in class com.google.common.util.concurrent.AbstractScheduledService
-
Stop the service.
- shutdownAndAwaitTermination(ExecutorService, long, TimeUnit) - Static method in class com.google.common.util.concurrent.MoreExecutors
-
Shuts down the given executor service gradually, first disabling new submissions and later, if necessary, cancelling remaining tasks.
- shutdownNow() - Method in class com.google.common.util.concurrent.ForwardingExecutorService
- SI - Static variable in class com.google.common.base.Ascii
-
Shift In: A control character indicating that the code combinations which follow shall be interpreted according to the standard code table.
- SignedBytes - Class in com.google.common.primitives
-
Static utility methods pertaining to
byte
primitives that interpret values as signed. - SimpleForwardingCache(Cache<K, V>) - Constructor for class com.google.common.cache.ForwardingCache.SimpleForwardingCache
- SimpleForwardingCheckedFuture(CheckedFuture<V, X>) - Constructor for class com.google.common.util.concurrent.ForwardingCheckedFuture.SimpleForwardingCheckedFuture
- SimpleForwardingFuture(Future<V>) - Constructor for class com.google.common.util.concurrent.ForwardingFuture.SimpleForwardingFuture
- SimpleForwardingListenableFuture(ListenableFuture<V>) - Constructor for class com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture
- SimpleForwardingLoadingCache(LoadingCache<K, V>) - Constructor for class com.google.common.cache.ForwardingLoadingCache.SimpleForwardingLoadingCache
- SimpleStatsCounter() - Constructor for class com.google.common.cache.AbstractCache.SimpleStatsCounter
-
Constructs an instance with all counts initialized to zero.
- SimpleTimeLimiter - Class in com.google.common.util.concurrent
-
A TimeLimiter that runs method calls in the background using an
ExecutorService
. - SimpleTimeLimiter() - Constructor for class com.google.common.util.concurrent.SimpleTimeLimiter
-
Constructs a TimeLimiter instance using a
Executors.newCachedThreadPool()
to execute proxied method calls. - SimpleTimeLimiter(ExecutorService) - Constructor for class com.google.common.util.concurrent.SimpleTimeLimiter
-
Constructs a TimeLimiter instance using the given executor service to execute proxied method calls.
- simplifyPath(String) - Static method in class com.google.common.io.Files
-
Returns the lexically cleaned form of the path name, usually (but not always) equivalent to the original.
- SINGLE_WIDTH - Static variable in class com.google.common.base.CharMatcher
-
Deprecated.Use
CharMatcher.singleWidth()
instead. This constant is scheduled to be removed in June 2018. - singleton(C) - Static method in class com.google.common.collect.Range
-
Returns a range that contains only the given value.
- singletonIterator(T) - Static method in class com.google.common.collect.Iterators
-
Returns an iterator containing only
value
. - singleWidth() - Static method in class com.google.common.base.CharMatcher
-
Determines whether a character is single-width (not double-width).
- sipHash24() - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the 64-bit SipHash-2-4 algorithm using a seed value of
k = 00 01 02 ...
. - sipHash24(long, long) - Static method in class com.google.common.hash.Hashing
-
Returns a hash function implementing the 64-bit SipHash-2-4 algorithm using the given seed.
- size() - Method in class com.google.common.cache.AbstractCache
- size() - Method in interface com.google.common.cache.Cache
-
Returns the approximate number of entries in this cache.
- size() - Method in class com.google.common.cache.ForwardingCache
- size() - Method in class com.google.common.collect.ArrayTable
- size() - Method in class com.google.common.collect.ConcurrentHashMultiset
- size() - Method in class com.google.common.collect.FluentIterable
-
Returns the number of elements in this fluent iterable.
- size() - Method in class com.google.common.collect.ForwardingCollection
- size() - Method in class com.google.common.collect.ForwardingMap
- size() - Method in class com.google.common.collect.ForwardingMultimap
- size() - Method in class com.google.common.collect.ForwardingTable
- size() - Method in class com.google.common.collect.HashBiMap
- size() - Method in class com.google.common.collect.ImmutableMultimap
- size() - Method in class com.google.common.collect.ImmutableSortedMap
- size() - Method in class com.google.common.collect.LinkedListMultimap
- size() - Method in class com.google.common.collect.MinMaxPriorityQueue
- size() - Method in interface com.google.common.collect.Multimap
-
Returns the number of key-value pairs in this multimap.
- size() - Method in interface com.google.common.collect.Table
-
Returns the number of row key / column key / value mappings in the table.
- size() - Method in class com.google.common.collect.testing.MinimalCollection
- size() - Method in class com.google.common.collect.testing.SafeTreeMap
- size() - Method in class com.google.common.collect.testing.SafeTreeSet
- size() - Method in class com.google.common.collect.TreeMultiset
- size() - Method in class com.google.common.io.ByteSource
-
Returns the size of this source in bytes, even if doing so requires opening and traversing an entire stream.
- size() - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Returns the number of key-value mappings in this map.
- size() - Method in class com.google.common.util.concurrent.Striped
-
Returns the total number of stripes in this instance.
- size(Iterable<?>) - Static method in class com.google.common.collect.Iterables
-
Returns the number of elements in
iterable
. - size(Iterator<?>) - Static method in class com.google.common.collect.Iterators
-
Returns the number of elements remaining in
iterator
. - SIZE - com.google.common.cache.RemovalCause
-
The entry was evicted due to size constraints.
- sizeIfKnown() - Method in class com.google.common.io.ByteSource
-
Returns the size of this source in bytes, if the size can be easily determined without actually opening the data stream.
- SKETCHUP - Static variable in class com.google.common.net.MediaType
- skip(int) - Method in class com.google.common.collect.FluentIterable
-
Returns a view of this fluent iterable that skips its first
numberToSkip
elements. - skip(long) - Method in class com.google.common.io.CountingInputStream
- skip(Iterable<T>, int) - Static method in class com.google.common.collect.Iterables
-
Returns a view of
iterable
that skips its firstnumberToSkip
elements. - skipBytes(int) - Method in interface com.google.common.io.ByteArrayDataInput
- skipBytes(int) - Method in class com.google.common.io.LittleEndianDataInputStream
- skipCollectionTests() - Method in class com.google.common.collect.testing.QueueTestSuiteBuilder
-
Specify whether to skip the general collection tests.
- skipFully(InputStream, long) - Static method in class com.google.common.io.ByteStreams
-
Discards
n
bytes of data from the input stream. - skipFully(Reader, long) - Static method in class com.google.common.io.CharStreams
-
Discards
n
characters of data from the reader. - skipNulls() - Method in class com.google.common.base.Joiner
-
Returns a joiner with the same behavior as this joiner, except automatically skipping over any provided null elements.
- sleepUninterruptibly(long, TimeUnit) - Static method in class com.google.common.util.concurrent.Uninterruptibles
-
Invokes
unit.
sleep(sleepFor)
uninterruptibly. - slice(long, long) - Method in class com.google.common.io.ByteSource
-
Returns a view of a slice of this byte source that is at most
length
bytes long starting at the givenoffset
. - slope() - Method in class com.google.common.math.LinearTransformation
-
Returns the slope of the transformation, i.e.
- sloppyTearDown() - Method in class com.google.common.testing.SloppyTearDown
- SloppyTearDown - Class in com.google.common.testing
-
Simple utility for when you want to create a
TearDown
that may throw an exception but should not fail a test when it does. - SloppyTearDown() - Constructor for class com.google.common.testing.SloppyTearDown
- snapshot() - Method in class com.google.common.cache.AbstractCache.SimpleStatsCounter
- snapshot() - Method in interface com.google.common.cache.AbstractCache.StatsCounter
-
Returns a snapshot of this counter's values.
- snapshot() - Method in class com.google.common.math.PairedStatsAccumulator
-
Returns an immutable snapshot of the current statistics.
- snapshot() - Method in class com.google.common.math.StatsAccumulator
-
Returns an immutable snapshot of the current statistics.
- SO - Static variable in class com.google.common.base.Ascii
-
Shift Out: A control character indicating that the code combinations which follow shall be interpreted as outside of the character set of the standard code table until a Shift In character is reached.
- SOAP_XML_UTF_8 - Static variable in class com.google.common.net.MediaType
-
As described in RFC 3902, this constant (
application/soap+xml
) is used to identify SOAP 1.2 message envelopes that have been serialized with XML 1.0. - softValues() - Method in class com.google.common.cache.CacheBuilder
-
Specifies that each value (not key) stored in the cache should be wrapped in a
SoftReference
(by default, strong references are used). - SOH - Static variable in class com.google.common.base.Ascii
-
Start of Heading: A communication control character used at the beginning of a sequence of characters which constitute a machine-sensible address or routing information.
- sorted(Comparator<S>) - Static method in class com.google.common.graph.ElementOrder
-
Returns an instance which specifies that the ordering of the elements is guaranteed to be determined by
comparator
. - SORTED - com.google.common.graph.ElementOrder.Type
- sortedCopy(Iterable<E>) - Method in class com.google.common.collect.Ordering
-
Returns a mutable list containing
elements
sorted by this ordering; use this only when the resulting list may need further modification, or may containnull
. - SortedMapDifference<K,V> - Interface in com.google.common.collect
-
An object representing the differences between two sorted maps.
- SortedMapGenerators - Class in com.google.common.collect.testing.google
-
Generators of sorted maps and derived collections.
- SortedMapGenerators() - Constructor for class com.google.common.collect.testing.google.SortedMapGenerators
- SortedMapGenerators.ImmutableSortedMapCopyOfEntriesGenerator - Class in com.google.common.collect.testing.google
- SortedMapGenerators.ImmutableSortedMapEntryListGenerator - Class in com.google.common.collect.testing.google
- SortedMapGenerators.ImmutableSortedMapGenerator - Class in com.google.common.collect.testing.google
- SortedMapGenerators.ImmutableSortedMapKeyListGenerator - Class in com.google.common.collect.testing.google
- SortedMapGenerators.ImmutableSortedMapValueListGenerator - Class in com.google.common.collect.testing.google
- SortedMapInterfaceTest<K,V> - Class in com.google.common.collect.testing
-
Tests representing the contract of
SortedMap
. - SortedMapInterfaceTest(boolean, boolean, boolean, boolean, boolean) - Constructor for class com.google.common.collect.testing.SortedMapInterfaceTest
- SortedMapNavigationTester<K,V> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests operations on a SortedMap.
- SortedMapNavigationTester() - Constructor for class com.google.common.collect.testing.testers.SortedMapNavigationTester
- SortedMapSubmapTestMapGenerator(TestSortedMapGenerator<K, V>, DerivedCollectionGenerators.Bound, DerivedCollectionGenerators.Bound) - Constructor for class com.google.common.collect.testing.DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator
- SortedMapTestSuiteBuilder<K,V> - Class in com.google.common.collect.testing
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedMap implementation.
- SortedMapTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.SortedMapTestSuiteBuilder
- SortedMultiset<E> - Interface in com.google.common.collect
-
A
Multiset
which maintains the ordering of its elements, according to either their natural order or an explicitComparator
. - SortedMultisetTestSuiteBuilder<E> - Class in com.google.common.collect.testing.google
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a
SortedMultiset
implementation. - SortedMultisetTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.google.SortedMultisetTestSuiteBuilder
- SortedSetMultimap<K,V> - Interface in com.google.common.collect
-
A
SetMultimap
whose set of values for a given key are kept sorted; that is, they comprise aSortedSet
. - SortedSetMultimapAsMapTester<K,V> - Class in com.google.common.collect.testing.google
-
Testers for
SortedSetMultimap.asMap()
. - SortedSetMultimapAsMapTester() - Constructor for class com.google.common.collect.testing.google.SortedSetMultimapAsMapTester
- SortedSetMultimapGetTester<K,V> - Class in com.google.common.collect.testing.google
-
Tester for
SortedSetMultimap.get(Object)
. - SortedSetMultimapGetTester() - Constructor for class com.google.common.collect.testing.google.SortedSetMultimapGetTester
- SortedSetMultimapTestSuiteBuilder<K,V> - Class in com.google.common.collect.testing.google
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a
SortedSetMultimap
implementation. - SortedSetMultimapTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.google.SortedSetMultimapTestSuiteBuilder
- SortedSetNavigationTester<E> - Class in com.google.common.collect.testing.testers
-
A generic JUnit test which tests operations on a SortedSet.
- SortedSetNavigationTester() - Constructor for class com.google.common.collect.testing.testers.SortedSetNavigationTester
- SortedSetSubsetTestSetGenerator(TestSortedSetGenerator<E>, DerivedCollectionGenerators.Bound, DerivedCollectionGenerators.Bound) - Constructor for class com.google.common.collect.testing.DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator
- SortedSetTestSuiteBuilder<E> - Class in com.google.common.collect.testing
-
Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedSet implementation.
- SortedSetTestSuiteBuilder() - Constructor for class com.google.common.collect.testing.SortedSetTestSuiteBuilder
- source() - Method in class com.google.common.graph.EndpointPair
-
If this
EndpointPair
EndpointPair.isOrdered()
, returns the node which is the source. - SP - Static variable in class com.google.common.base.Ascii
-
Space: A normally non-printing graphic character used to separate words.
- SPACE - Static variable in class com.google.common.base.Ascii
-
Alternate name for
Ascii.SP
. - span() - Method in class com.google.common.collect.ImmutableRangeMap
- span() - Method in class com.google.common.collect.ImmutableRangeSet
- span() - Method in interface com.google.common.collect.RangeMap
-
Returns the minimal range enclosing the ranges in this
RangeMap
. - span() - Method in interface com.google.common.collect.RangeSet
-
Returns the minimal range which encloses all ranges in this range set.
- span() - Method in class com.google.common.collect.TreeRangeMap
- span() - Method in class com.google.common.collect.TreeRangeSet
- span(Range<C>) - Method in class com.google.common.collect.Range
-
Returns the minimal range that encloses both this range and
other
. - split(CharSequence) - Method in class com.google.common.base.Splitter.MapSplitter
-
Splits
sequence
into substrings, splits each substring into an entry, and returns an unmodifiable map with each of the entries. - split(CharSequence) - Method in class com.google.common.base.Splitter
-
Splits
sequence
into string components and makes them available through anIterator
, which may be lazily evaluated. - Splitter - Class in com.google.common.base
-
Extracts non-overlapping substrings from an input string, typically by recognizing appearances of a separator sequence.
- Splitter.MapSplitter - Class in com.google.common.base
-
An object that splits strings into maps as
Splitter
splits iterables and lists. - splitToList(CharSequence) - Method in class com.google.common.base.Splitter
-
Splits
sequence
into string components and returns them as an immutable list. - sqrt(int, RoundingMode) - Static method in class com.google.common.math.IntMath
-
Returns the square root of
x
, rounded with the specified rounding mode. - sqrt(long, RoundingMode) - Static method in class com.google.common.math.LongMath
-
Returns the square root of
x
, rounded with the specified rounding mode. - sqrt(BigInteger, RoundingMode) - Static method in class com.google.common.math.BigIntegerMath
-
Returns the square root of
x
, rounded with the specified rounding mode. - standardAdd(E) - Method in class com.google.common.collect.ForwardingList
-
A sensible default implementation of
ForwardingCollection.add(Object)
, in terms ofForwardingList.add(int, Object)
. - standardAdd(E) - Method in class com.google.common.collect.ForwardingMultiset
-
A sensible definition of
ForwardingCollection.add(Object)
in terms ofForwardingMultiset.add(Object, int)
. - standardAddAll(int, Iterable<? extends E>) - Method in class com.google.common.collect.ForwardingList
-
A sensible default implementation of
ForwardingList.addAll(int, Collection)
, in terms of theadd
method ofForwardingList.listIterator(int)
. - standardAddAll(Collection<? extends E>) - Method in class com.google.common.collect.ForwardingCollection
-
A sensible definition of
ForwardingCollection.addAll(java.util.Collection<? extends E>)
in terms ofForwardingCollection.add(E)
. - standardAddAll(Collection<? extends E>) - Method in class com.google.common.collect.ForwardingMultiset
-
A sensible definition of
ForwardingCollection.addAll(Collection)
in terms ofForwardingCollection.add(Object)
andForwardingMultiset.add(Object, int)
. - standardCeiling(E) - Method in class com.google.common.collect.ForwardingNavigableSet
-
A sensible definition of
ForwardingNavigableSet.ceiling(E)
in terms of theiterator
method ofForwardingNavigableSet.tailSet(Object, boolean)
. - standardCeilingEntry(K) - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingNavigableMap.ceilingEntry(K)
in terms of thefirstEntry()
ofForwardingNavigableMap.tailMap(Object, boolean)
. - standardCeilingKey(K) - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingNavigableMap.ceilingKey(K)
in terms ofceilingEntry
. - standardClear() - Method in class com.google.common.collect.ForwardingCollection
-
A sensible definition of
ForwardingCollection.clear()
in terms ofForwardingCollection.iterator()
, using the iterator'sremove
method. - standardClear() - Method in class com.google.common.collect.ForwardingMap
-
A sensible definition of
ForwardingMap.clear()
in terms of theiterator
method ofForwardingMap.entrySet()
. - standardClear() - Method in class com.google.common.collect.ForwardingMultiset
-
A sensible definition of
ForwardingCollection.clear()
in terms of theiterator
method ofForwardingMultiset.entrySet()
. - standardContains(Object) - Method in class com.google.common.collect.ForwardingCollection
-
A sensible definition of
ForwardingCollection.contains(java.lang.Object)
in terms ofForwardingCollection.iterator()
. - standardContains(Object) - Method in class com.google.common.collect.ForwardingMultiset
-
A sensible definition of
ForwardingCollection.contains(java.lang.Object)
in terms ofForwardingMultiset.count(java.lang.Object)
. - standardContains(Object) - Method in class com.google.common.collect.ForwardingSortedSet
-
A sensible definition of
ForwardingCollection.contains(java.lang.Object)
in terms of thefirst()
method ofForwardingSortedSet.tailSet(E)
. - standardContainsAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
-
A sensible definition of
ForwardingCollection.containsAll(java.util.Collection<?>)
in terms ofForwardingCollection.contains(java.lang.Object)
. - standardContainsKey(Object) - Method in class com.google.common.collect.ForwardingMap
-
A sensible, albeit inefficient, definition of
ForwardingMap.containsKey(java.lang.Object)
in terms of theiterator
method ofForwardingMap.entrySet()
. - standardContainsKey(Object) - Method in class com.google.common.collect.ForwardingSortedMap
-
A sensible definition of
ForwardingMap.containsKey(java.lang.Object)
in terms of thefirstKey()
method ofForwardingSortedMap.tailMap(K)
. - standardContainsValue(Object) - Method in class com.google.common.collect.ForwardingMap
-
A sensible definition of
ForwardingMap.containsValue(java.lang.Object)
in terms of theiterator
method ofForwardingMap.entrySet()
. - standardCount(Object) - Method in class com.google.common.collect.ForwardingMultiset
-
A sensible, albeit inefficient, definition of
ForwardingMultiset.count(java.lang.Object)
in terms ofForwardingMultiset.entrySet()
. - standardDescendingKeySet() - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingNavigableMap.descendingKeySet()
as thenavigableKeySet
ofForwardingNavigableMap.descendingMap()
. - StandardDescendingMap() - Constructor for class com.google.common.collect.ForwardingNavigableMap.StandardDescendingMap
-
Constructor for use by subclasses.
- StandardDescendingMultiset() - Constructor for class com.google.common.collect.ForwardingSortedMultiset.StandardDescendingMultiset
-
Constructor for use by subclasses.
- StandardDescendingSet() - Constructor for class com.google.common.collect.ForwardingNavigableSet.StandardDescendingSet
-
Constructor for use by subclasses.
- StandardElementSet() - Constructor for class com.google.common.collect.ForwardingMultiset.StandardElementSet
-
Constructor for use by subclasses.
- StandardElementSet() - Constructor for class com.google.common.collect.ForwardingSortedMultiset.StandardElementSet
-
Constructor for use by subclasses.
- StandardEntrySet() - Constructor for class com.google.common.collect.ForwardingMap.StandardEntrySet
-
Constructor for use by subclasses.
- standardEquals(Object) - Method in class com.google.common.collect.ForwardingList
-
A sensible definition of
ForwardingList.equals(Object)
in terms ofForwardingCollection.size()
andForwardingCollection.iterator()
. - standardEquals(Object) - Method in class com.google.common.collect.ForwardingMap
-
A sensible definition of
ForwardingMap.equals(java.lang.Object)
in terms of theequals
method ofForwardingMap.entrySet()
. - standardEquals(Object) - Method in class com.google.common.collect.ForwardingMapEntry
-
A sensible definition of
ForwardingMapEntry.equals(Object)
in terms ofForwardingMapEntry.getKey()
andForwardingMapEntry.getValue()
. - standardEquals(Object) - Method in class com.google.common.collect.ForwardingMultiset
-
A sensible, albeit inefficient, definition of
ForwardingMultiset.equals(java.lang.Object)
in terms ofentrySet().size()
andForwardingMultiset.count(java.lang.Object)
. - standardEquals(Object) - Method in class com.google.common.collect.ForwardingSet
-
A sensible definition of
ForwardingSet.equals(java.lang.Object)
in terms ofForwardingCollection.size()
andForwardingCollection.containsAll(java.util.Collection<?>)
. - standardFirst() - Method in class com.google.common.collect.ForwardingNavigableSet
- standardFirstEntry() - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingNavigableMap.firstEntry()
in terms of theiterator()
ofForwardingMap.entrySet()
. - standardFirstEntry() - Method in class com.google.common.collect.ForwardingSortedMultiset
-
A sensible definition of
ForwardingSortedMultiset.firstEntry()
in terms ofentrySet().iterator()
. - standardFirstKey() - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingSortedMap.firstKey()
in terms offirstEntry
. - standardFloor(E) - Method in class com.google.common.collect.ForwardingNavigableSet
-
A sensible definition of
ForwardingNavigableSet.floor(E)
in terms of thedescendingIterator
method ofForwardingNavigableSet.headSet(Object, boolean)
. - standardFloorEntry(K) - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingNavigableMap.floorEntry(K)
in terms of thelastEntry()
ofForwardingNavigableMap.headMap(Object, boolean)
. - standardFloorKey(K) - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingNavigableMap.floorKey(K)
in terms offloorEntry
. - standardHashCode() - Method in class com.google.common.collect.ForwardingList
-
A sensible definition of
ForwardingList.hashCode()
in terms ofForwardingCollection.iterator()
. - standardHashCode() - Method in class com.google.common.collect.ForwardingMap
-
A sensible definition of
ForwardingMap.hashCode()
in terms of theiterator
method ofForwardingMap.entrySet()
. - standardHashCode() - Method in class com.google.common.collect.ForwardingMapEntry
-
A sensible definition of
ForwardingMapEntry.hashCode()
in terms ofForwardingMapEntry.getKey()
andForwardingMapEntry.getValue()
. - standardHashCode() - Method in class com.google.common.collect.ForwardingMultiset
-
A sensible definition of
ForwardingMultiset.hashCode()
asentrySet().hashCode()
. - standardHashCode() - Method in class com.google.common.collect.ForwardingSet
-
A sensible definition of
ForwardingSet.hashCode()
in terms ofForwardingCollection.iterator()
. - standardHeadMap(K) - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingSortedMap.headMap(Object)
in terms ofForwardingNavigableMap.headMap(Object, boolean)
. - standardHeadSet(E) - Method in class com.google.common.collect.ForwardingNavigableSet
-
A sensible definition of
ForwardingSortedSet.headSet(Object)
in terms of theForwardingNavigableSet.headSet(Object, boolean)
method. - standardHigher(E) - Method in class com.google.common.collect.ForwardingNavigableSet
-
A sensible definition of
ForwardingNavigableSet.higher(E)
in terms of theiterator
method ofForwardingNavigableSet.tailSet(Object, boolean)
. - standardHigherEntry(K) - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingNavigableMap.higherEntry(K)
in terms of thefirstEntry()
ofForwardingNavigableMap.tailMap(Object, boolean)
. - standardHigherKey(K) - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingNavigableMap.higherKey(K)
in terms ofhigherEntry
. - standardIndexOf(Object) - Method in class com.google.common.collect.ForwardingList
-
A sensible default implementation of
ForwardingList.indexOf(java.lang.Object)
, in terms ofForwardingList.listIterator()
. - standardIsEmpty() - Method in class com.google.common.collect.ForwardingCollection
-
A sensible definition of
ForwardingCollection.isEmpty()
as!iterator().hasNext
. - standardIsEmpty() - Method in class com.google.common.collect.ForwardingMap
-
A sensible definition of
ForwardingMap.isEmpty()
in terms of theiterator
method ofForwardingMap.entrySet()
. - standardIterator() - Method in class com.google.common.collect.ForwardingList
-
A sensible default implementation of
ForwardingCollection.iterator()
, in terms ofForwardingList.listIterator()
. - standardIterator() - Method in class com.google.common.collect.ForwardingMultiset
-
A sensible definition of
ForwardingCollection.iterator()
in terms ofForwardingMultiset.entrySet()
andForwardingCollection.remove(Object)
. - StandardKeySet() - Constructor for class com.google.common.collect.ForwardingMap.StandardKeySet
-
Constructor for use by subclasses.
- StandardKeySet() - Constructor for class com.google.common.collect.ForwardingSortedMap.StandardKeySet
-
Constructor for use by subclasses.
- standardLast() - Method in class com.google.common.collect.ForwardingNavigableSet
- standardLastEntry() - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingNavigableMap.lastEntry()
in terms of theiterator()
of theForwardingMap.entrySet()
ofForwardingNavigableMap.descendingMap()
. - standardLastEntry() - Method in class com.google.common.collect.ForwardingSortedMultiset
-
A sensible definition of
ForwardingSortedMultiset.lastEntry()
in terms ofdescendingMultiset().entrySet().iterator()
. - standardLastIndexOf(Object) - Method in class com.google.common.collect.ForwardingList
-
A sensible default implementation of
ForwardingList.lastIndexOf(java.lang.Object)
, in terms ofForwardingList.listIterator(int)
. - standardLastKey() - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingSortedMap.lastKey()
in terms oflastEntry
. - standardListIterator() - Method in class com.google.common.collect.ForwardingList
-
A sensible default implementation of
ForwardingList.listIterator()
, in terms ofForwardingList.listIterator(int)
. - standardListIterator(int) - Method in class com.google.common.collect.ForwardingList
-
A sensible default implementation of
ForwardingList.listIterator(int)
, in terms ofForwardingCollection.size()
,ForwardingList.get(int)
,ForwardingList.set(int, Object)
,ForwardingList.add(int, Object)
, andForwardingList.remove(int)
. - standardLower(E) - Method in class com.google.common.collect.ForwardingNavigableSet
-
A sensible definition of
ForwardingNavigableSet.lower(E)
in terms of thedescendingIterator
method ofForwardingNavigableSet.headSet(Object, boolean)
. - standardLowerEntry(K) - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingNavigableMap.lowerEntry(K)
in terms of thelastEntry()
ofForwardingNavigableMap.headMap(Object, boolean)
. - standardLowerKey(K) - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingNavigableMap.lowerKey(K)
in terms oflowerEntry
. - StandardNavigableKeySet() - Constructor for class com.google.common.collect.ForwardingNavigableMap.StandardNavigableKeySet
-
Constructor for use by subclasses.
- standardOffer(E) - Method in class com.google.common.collect.ForwardingQueue
-
A sensible definition of
ForwardingQueue.offer(E)
in terms ofForwardingCollection.add(E)
. - standardPeek() - Method in class com.google.common.collect.ForwardingQueue
-
A sensible definition of
ForwardingQueue.peek()
in terms ofForwardingQueue.element()
. - standardPoll() - Method in class com.google.common.collect.ForwardingQueue
-
A sensible definition of
ForwardingQueue.poll()
in terms ofForwardingQueue.remove()
. - standardPollFirst() - Method in class com.google.common.collect.ForwardingNavigableSet
-
A sensible definition of
ForwardingNavigableSet.pollFirst()
in terms of theiterator
method. - standardPollFirstEntry() - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingNavigableMap.pollFirstEntry()
in terms of theiterator
ofentrySet
. - standardPollFirstEntry() - Method in class com.google.common.collect.ForwardingSortedMultiset
-
A sensible definition of
ForwardingSortedMultiset.pollFirstEntry()
in terms ofentrySet().iterator()
. - standardPollLast() - Method in class com.google.common.collect.ForwardingNavigableSet
-
A sensible definition of
ForwardingNavigableSet.pollLast()
in terms of thedescendingIterator
method. - standardPollLastEntry() - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingNavigableMap.pollFirstEntry()
in terms of theiterator
of theentrySet
ofdescendingMap
. - standardPollLastEntry() - Method in class com.google.common.collect.ForwardingSortedMultiset
-
A sensible definition of
ForwardingSortedMultiset.pollLastEntry()
in terms ofdescendingMultiset().entrySet().iterator()
. - standardPutAll(Map<? extends K, ? extends V>) - Method in class com.google.common.collect.ForwardingMap
-
A sensible definition of
ForwardingMap.putAll(Map)
in terms ofForwardingMap.put(Object, Object)
. - standardRemove(Object) - Method in class com.google.common.collect.ForwardingCollection
-
A sensible definition of
ForwardingCollection.remove(java.lang.Object)
in terms ofForwardingCollection.iterator()
, using the iterator'sremove
method. - standardRemove(Object) - Method in class com.google.common.collect.ForwardingMap
-
A sensible, albeit inefficient, definition of
ForwardingMap.remove(java.lang.Object)
in terms of theiterator
method ofForwardingMap.entrySet()
. - standardRemove(Object) - Method in class com.google.common.collect.ForwardingMultiset
-
A sensible definition of
ForwardingCollection.remove(Object)
in terms ofForwardingMultiset.remove(Object, int)
. - standardRemove(Object) - Method in class com.google.common.collect.ForwardingSortedSet
-
A sensible definition of
ForwardingCollection.remove(java.lang.Object)
in terms of theiterator()
method ofForwardingSortedSet.tailSet(E)
. - standardRemoveAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
-
A sensible definition of
ForwardingCollection.removeAll(java.util.Collection<?>)
in terms ofForwardingCollection.iterator()
, using the iterator'sremove
method. - standardRemoveAll(Collection<?>) - Method in class com.google.common.collect.ForwardingMultiset
-
A sensible definition of
ForwardingCollection.removeAll(java.util.Collection<?>)
in terms of theremoveAll
method ofForwardingMultiset.elementSet()
. - standardRemoveAll(Collection<?>) - Method in class com.google.common.collect.ForwardingSet
-
A sensible definition of
ForwardingCollection.removeAll(java.util.Collection<?>)
in terms ofForwardingCollection.iterator()
andForwardingCollection.remove(java.lang.Object)
. - standardRetainAll(Collection<?>) - Method in class com.google.common.collect.ForwardingCollection
-
A sensible definition of
ForwardingCollection.retainAll(java.util.Collection<?>)
in terms ofForwardingCollection.iterator()
, using the iterator'sremove
method. - standardRetainAll(Collection<?>) - Method in class com.google.common.collect.ForwardingMultiset
-
A sensible definition of
ForwardingCollection.retainAll(java.util.Collection<?>)
in terms of theretainAll
method ofForwardingMultiset.elementSet()
. - standardSetCount(E, int) - Method in class com.google.common.collect.ForwardingMultiset
-
A sensible definition of
ForwardingMultiset.setCount(Object, int)
in terms ofForwardingMultiset.count(Object)
,ForwardingMultiset.add(Object, int)
, andForwardingMultiset.remove(Object, int)
. - standardSetCount(E, int, int) - Method in class com.google.common.collect.ForwardingMultiset
-
A sensible definition of
ForwardingMultiset.setCount(Object, int, int)
in terms ofForwardingMultiset.count(Object)
andForwardingMultiset.setCount(Object, int)
. - standardSize() - Method in class com.google.common.collect.ForwardingMultiset
-
A sensible, albeit inefficient, definition of
ForwardingCollection.size()
in terms ofForwardingMultiset.entrySet()
. - standardSubList(int, int) - Method in class com.google.common.collect.ForwardingList
-
A sensible default implementation of
ForwardingList.subList(int, int)
. - standardSubMap(K, K) - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingSortedMap.subMap(Object, Object)
in terms ofForwardingNavigableMap.subMap(Object, boolean, Object, boolean)
. - standardSubMap(K, K) - Method in class com.google.common.collect.ForwardingSortedMap
-
A sensible default implementation of
ForwardingSortedMap.subMap(Object, Object)
in terms ofForwardingSortedMap.headMap(Object)
andForwardingSortedMap.tailMap(Object)
. - standardSubMultiset(E, BoundType, E, BoundType) - Method in class com.google.common.collect.ForwardingSortedMultiset
-
A sensible definition of
ForwardingSortedMultiset.subMultiset(Object, BoundType, Object, BoundType)
in terms ofheadMultiset
andtailMultiset
. - standardSubSet(E, boolean, E, boolean) - Method in class com.google.common.collect.ForwardingNavigableSet
-
A sensible definition of
ForwardingNavigableSet.subSet(Object, boolean, Object, boolean)
in terms of theheadSet
andtailSet
methods. - standardSubSet(E, E) - Method in class com.google.common.collect.ForwardingNavigableSet
-
A sensible definition of
ForwardingSortedSet.subSet(Object, Object)
in terms of theForwardingNavigableSet.subSet(Object, boolean, Object, boolean)
method. - standardSubSet(E, E) - Method in class com.google.common.collect.ForwardingSortedSet
-
A sensible default implementation of
ForwardingSortedSet.subSet(Object, Object)
in terms ofForwardingSortedSet.headSet(Object)
andForwardingSortedSet.tailSet(Object)
. - StandardSystemProperty - Enum in com.google.common.base
-
Represents a standard system property.
- standardTailMap(K) - Method in class com.google.common.collect.ForwardingNavigableMap
-
A sensible definition of
ForwardingSortedMap.tailMap(Object)
in terms ofForwardingNavigableMap.tailMap(Object, boolean)
. - standardTailSet(E) - Method in class com.google.common.collect.ForwardingNavigableSet
-
A sensible definition of
ForwardingSortedSet.tailSet(Object)
in terms of theForwardingNavigableSet.tailSet(Object, boolean)
method. - standardToArray() - Method in class com.google.common.collect.ForwardingCollection
-
A sensible definition of
ForwardingCollection.toArray()
in terms ofForwardingCollection.toArray(Object[])
. - standardToArray(T[]) - Method in class com.google.common.collect.ForwardingCollection
-
A sensible definition of
ForwardingCollection.toArray(Object[])
in terms ofForwardingCollection.size()
andForwardingCollection.iterator()
. - standardToString() - Method in class com.google.common.collect.ForwardingCollection
-
A sensible definition of
ForwardingObject.toString()
in terms ofForwardingCollection.iterator()
. - standardToString() - Method in class com.google.common.collect.ForwardingMap
-
A sensible definition of
ForwardingObject.toString()
in terms of theiterator
method ofForwardingMap.entrySet()
. - standardToString() - Method in class com.google.common.collect.ForwardingMapEntry
-
A sensible definition of
ForwardingObject.toString()
in terms ofForwardingMapEntry.getKey()
andForwardingMapEntry.getValue()
. - standardToString() - Method in class com.google.common.collect.ForwardingMultiset
-
A sensible definition of
ForwardingObject.toString()
asentrySet().toString()
. - StandardValues() - Constructor for class com.google.common.collect.ForwardingMap.StandardValues
-
Constructor for use by subclasses.
- start() - Method in class com.google.common.base.Stopwatch
-
Starts the stopwatch.
- start() - Static method in class com.google.common.collect.ComparisonChain
-
Begins a new chained comparison statement.
- startAsync() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
- startAsync() - Method in class com.google.common.util.concurrent.AbstractIdleService
- startAsync() - Method in class com.google.common.util.concurrent.AbstractScheduledService
- startAsync() - Method in class com.google.common.util.concurrent.AbstractService
- startAsync() - Method in interface com.google.common.util.concurrent.Service
-
If the service state is
Service.State.NEW
, this initiates service startup and returns immediately. - startAsync() - Method in class com.google.common.util.concurrent.ServiceManager
-
Initiates service startup on all the services being managed.
- startFinalizer(Class<?>, ReferenceQueue<Object>, PhantomReference<Object>) - Static method in class com.google.common.base.internal.Finalizer
-
Starts the Finalizer thread.
- starting() - Method in class com.google.common.util.concurrent.Service.Listener
- STARTING - com.google.common.util.concurrent.Service.State
-
A service in this state is transitioning to
Service.State.RUNNING
. - startUp() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
-
Start the service.
- startUp() - Method in class com.google.common.util.concurrent.AbstractIdleService
-
Start the service.
- startUp() - Method in class com.google.common.util.concurrent.AbstractScheduledService
-
Start the service.
- startupTimes() - Method in class com.google.common.util.concurrent.ServiceManager
-
Returns the service load times.
- state() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
- state() - Method in class com.google.common.util.concurrent.AbstractIdleService
- state() - Method in class com.google.common.util.concurrent.AbstractScheduledService
- state() - Method in class com.google.common.util.concurrent.AbstractService
- state() - Method in interface com.google.common.util.concurrent.Service
-
Returns the lifecycle state of the service.
- stats() - Method in class com.google.common.cache.AbstractCache
- stats() - Method in interface com.google.common.cache.Cache
-
Returns a current snapshot of this cache's cumulative statistics, or a set of default values if the cache is not recording statistics.
- stats() - Method in class com.google.common.cache.ForwardingCache
- Stats - Class in com.google.common.math
-
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 - Class in com.google.common.math
-
A mutable object which accumulates double values and tracks some basic statistics over all the values added so far.
- StatsAccumulator() - Constructor for class com.google.common.math.StatsAccumulator
- stop() - Method in class com.google.common.base.Stopwatch
-
Stops the stopwatch.
- stopAsync() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
- stopAsync() - Method in class com.google.common.util.concurrent.AbstractIdleService
- stopAsync() - Method in class com.google.common.util.concurrent.AbstractScheduledService
- stopAsync() - Method in class com.google.common.util.concurrent.AbstractService
- stopAsync() - Method in interface com.google.common.util.concurrent.Service
- stopAsync() - Method in class com.google.common.util.concurrent.ServiceManager
-
Initiates service shutdown if necessary on all the services being managed.
- stopped() - Method in class com.google.common.util.concurrent.ServiceManager.Listener
-
Called when the all of the component services have reached a terminal state, either terminated or failed.
- stopping(Service.State) - Method in class com.google.common.util.concurrent.Service.Listener
-
Called when the service transitions to the STOPPING state.
- STOPPING - com.google.common.util.concurrent.Service.State
-
A service in this state is transitioning to
Service.State.TERMINATED
. - Stopwatch - Class in com.google.common.base
-
An object that measures elapsed time in nanoseconds.
- STRICT_TRANSPORT_SECURITY - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Strict-Transport-Security
header field name. - stringConverter() - Static method in class com.google.common.primitives.Doubles
-
Returns a serializable converter object that converts between strings and doubles using
Double.valueOf(java.lang.String)
andDouble.toString()
. - stringConverter() - Static method in class com.google.common.primitives.Floats
-
Returns a serializable converter object that converts between strings and floats using
Float.valueOf(java.lang.String)
andFloat.toString()
. - stringConverter() - Static method in class com.google.common.primitives.Ints
-
Returns a serializable converter object that converts between strings and integers using
Integer.decode(java.lang.String)
andInteger.toString()
. - stringConverter() - Static method in class com.google.common.primitives.Longs
-
Returns a serializable converter object that converts between strings and longs using
Long.decode(java.lang.String)
andLong.toString()
. - stringConverter() - Static method in class com.google.common.primitives.Shorts
-
Returns a serializable converter object that converts between strings and shorts using
Short.decode(java.lang.String)
andShort.toString()
. - stringConverter(Class<T>) - Static method in class com.google.common.base.Enums
-
Returns a converter that converts between strings and
enum
values of typeenumClass
usingEnum.valueOf(Class, String)
andEnum.name()
. - stringFunnel(Charset) - Static method in class com.google.common.hash.Funnels
-
Returns a funnel that encodes the characters of a
CharSequence
with the specifiedCharset
. - Strings - Class in com.google.common.base
-
Static utility methods pertaining to
String
orCharSequence
instances. - Strings() - Constructor for class com.google.common.collect.testing.SampleElements.Strings
- Striped<L> - Class in com.google.common.util.concurrent
-
A striped
Lock/Semaphore/ReadWriteLock
. - STX - Static variable in class com.google.common.base.Ascii
-
Start of Text: A communication control character which precedes a sequence of characters that is to be treated as an entity and entirely transmitted through to the ultimate destination.
- SUB - Static variable in class com.google.common.base.Ascii
-
Substitute: A character that may be substituted for a character which is determined to be invalid or in error.
- subList(int, int) - Method in class com.google.common.collect.ForwardingList
- subList(int, int) - Method in class com.google.common.collect.ImmutableList
-
Returns an immutable list of the elements between the specified
fromIndex
, inclusive, andtoIndex
, exclusive. - subMap(NavigableMap<K, V>, Range<K>) - Static method in class com.google.common.collect.Maps
-
Returns a view of the portion of
map
whose keys are contained byrange
. - subMap(K, boolean, K, boolean) - Method in class com.google.common.collect.ForwardingNavigableMap
- subMap(K, boolean, K, boolean) - Method in class com.google.common.collect.ImmutableSortedMap
-
This method returns a
ImmutableSortedMap
, consisting of the entries whose keys ranges fromfromKey
totoKey
, inclusive or exclusive as indicated by the boolean flags. - subMap(K, boolean, K, boolean) - Method in class com.google.common.collect.testing.SafeTreeMap
- subMap(K, K) - Method in class com.google.common.collect.ForwardingSortedMap
- subMap(K, K) - Method in class com.google.common.collect.ImmutableSortedMap
-
This method returns a
ImmutableSortedMap
, consisting of the entries whose keys ranges fromfromKey
, inclusive, totoKey
, exclusive. - subMap(K, K) - Method in class com.google.common.collect.testing.SafeTreeMap
- submit(Runnable) - Method in class com.google.common.util.concurrent.AbstractListeningExecutorService
- submit(Runnable) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
- submit(Runnable) - Method in class com.google.common.util.concurrent.ForwardingListeningExecutorService
- submit(Runnable) - Method in interface com.google.common.util.concurrent.ListeningExecutorService
- submit(Runnable, T) - Method in class com.google.common.util.concurrent.AbstractListeningExecutorService
- submit(Runnable, T) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
- submit(Runnable, T) - Method in class com.google.common.util.concurrent.ForwardingListeningExecutorService
- submit(Runnable, T) - Method in interface com.google.common.util.concurrent.ListeningExecutorService
- submit(Callable<T>) - Method in class com.google.common.util.concurrent.AbstractListeningExecutorService
- submit(Callable<T>) - Method in class com.google.common.util.concurrent.ForwardingExecutorService
- submit(Callable<T>) - Method in class com.google.common.util.concurrent.ForwardingListeningExecutorService
- submit(Callable<T>) - Method in interface com.google.common.util.concurrent.ListeningExecutorService
- subMultiset(E, BoundType, E, BoundType) - Method in class com.google.common.collect.ForwardingSortedMultiset
- subMultiset(E, BoundType, E, BoundType) - Method in class com.google.common.collect.ImmutableSortedMultiset
- subMultiset(E, BoundType, E, BoundType) - Method in interface com.google.common.collect.SortedMultiset
-
Returns a view of this multiset restricted to the range between
lowerBound
andupperBound
. - subRangeMap(Range<K>) - Method in class com.google.common.collect.ImmutableRangeMap
- subRangeMap(Range<K>) - Method in interface com.google.common.collect.RangeMap
-
Returns a view of the part of this range map that intersects with
range
. - subRangeMap(Range<K>) - Method in class com.google.common.collect.TreeRangeMap
- subRangeSet(Range<C>) - Method in class com.google.common.collect.ImmutableRangeSet
-
Returns a view of the intersection of this range set with the given range.
- subRangeSet(Range<C>) - Method in interface com.google.common.collect.RangeSet
-
Returns a view of the intersection of this
RangeSet
with the specified range. - subRangeSet(Range<C>) - Method in class com.google.common.collect.TreeRangeSet
- Subscribe - Annotation Type in com.google.common.eventbus
-
Marks a method as an event subscriber.
- SubscriberExceptionContext - Class in com.google.common.eventbus
-
Context for an exception thrown by a subscriber.
- SubscriberExceptionHandler - Interface in com.google.common.eventbus
-
Handler for exceptions thrown by event subscribers.
- subSet(C, boolean, C, boolean) - Method in class com.google.common.collect.ContiguousSet
- subSet(C, C) - Method in class com.google.common.collect.ContiguousSet
- subSet(E, boolean, E, boolean) - Method in class com.google.common.collect.ForwardingNavigableSet
- subSet(E, boolean, E, boolean) - Method in class com.google.common.collect.ImmutableSortedSet
- subSet(E, boolean, E, boolean) - Method in class com.google.common.collect.testing.SafeTreeSet
- subSet(E, E) - Method in class com.google.common.collect.ForwardingSortedSet
- subSet(E, E) - Method in class com.google.common.collect.ImmutableSortedSet
- subSet(E, E) - Method in class com.google.common.collect.testing.SafeTreeSet
- subSet(NavigableSet<K>, Range<K>) - Static method in class com.google.common.collect.Sets
-
Returns a view of the portion of
set
whose elements are contained byrange
. - SUBSET_VIEW - com.google.common.collect.testing.features.CollectionFeature
- subtype() - Method in class com.google.common.net.MediaType
-
Returns the media subtype.
- subtypeOf(Class<?>) - Static method in class com.google.common.base.Predicates
-
Returns a predicate that evaluates to
true
if the class being tested is assignable to (is a subtype of)clazz
. - successfulAsList(ListenableFuture<? extends V>...) - Static method in class com.google.common.util.concurrent.Futures
-
Creates a new
ListenableFuture
whose value is a list containing the values of all its successful input futures. - successfulAsList(Iterable<? extends ListenableFuture<? extends V>>) - Static method in class com.google.common.util.concurrent.Futures
-
Creates a new
ListenableFuture
whose value is a list containing the values of all its successful input futures. - successors(Object) - Method in interface com.google.common.graph.Graph
-
Returns all nodes in this graph adjacent to
node
which can be reached by traversingnode
's outgoing edges in the direction (if any) of the edge. - successors(Object) - Method in interface com.google.common.graph.Network
-
Returns all nodes in this network adjacent to
node
which can be reached by traversingnode
's outgoing edges in the direction (if any) of the edge. - suite() - Static method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- suite() - Static method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- suite() - Static method in class com.google.common.collect.testing.TestsForQueuesInJavaUtil
- suite() - Static method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- sum() - Method in class com.google.common.math.Stats
-
Returns the sum of the values.
- sum() - Method in class com.google.common.math.StatsAccumulator
-
Returns the sum of the values.
- sum() - Method in class com.google.common.util.concurrent.AtomicLongMap
-
Returns the sum of all values in this map.
- sum(Multiset<? extends E>, Multiset<? extends E>) - Static method in class com.google.common.collect.Multisets
-
Returns an unmodifiable view of the sum of two multisets.
- Supplier<T> - Interface in com.google.common.base
-
A class that can supply objects of a single type; a pre-Java-8 version of
java.util.function.Supplier
. - supplierFunction() - Static method in class com.google.common.base.Suppliers
-
Returns a function that accepts a supplier and returns the result of invoking
Supplier.get()
on that supplier. - Suppliers - Class in com.google.common.base
-
Useful suppliers.
- SUPPORTS_ADD - com.google.common.collect.testing.features.CollectionFeature
- SUPPORTS_ADD - com.google.common.collect.testing.IteratorFeature
-
Support for
ListIterator.add(Object)
; ignored for plainIterator
implementations. - SUPPORTS_ADD_WITH_INDEX - com.google.common.collect.testing.features.ListFeature
- SUPPORTS_ITERATOR_REMOVE - com.google.common.collect.testing.features.CollectionFeature
- SUPPORTS_PUT - com.google.common.collect.testing.features.MapFeature
- SUPPORTS_REMOVE - com.google.common.collect.testing.features.CollectionFeature
- SUPPORTS_REMOVE - com.google.common.collect.testing.features.MapFeature
- SUPPORTS_REMOVE - com.google.common.collect.testing.IteratorFeature
-
Support for
Iterator.remove()
. - SUPPORTS_REMOVE_WITH_INDEX - com.google.common.collect.testing.features.ListFeature
- SUPPORTS_SET - com.google.common.collect.testing.features.ListFeature
- SUPPORTS_SET - com.google.common.collect.testing.IteratorFeature
-
Support for
ListIterator.set(Object)
; ignored for plainIterator
implementations. - supportsClear - Variable in class com.google.common.collect.testing.MapInterfaceTest
- supportsIteratorRemove - Variable in class com.google.common.collect.testing.MapInterfaceTest
- supportsPut - Variable in class com.google.common.collect.testing.MapInterfaceTest
- supportsRemove - Variable in class com.google.common.collect.testing.MapInterfaceTest
- supportsValuesHashCode(Map<K, V>) - Method in class com.google.common.collect.testing.MapInterfaceTest
- suppressForAbstractList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- suppressForAbstractSequentialList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- suppressForAbstractSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- suppressForArrayBlockingQueue() - Method in class com.google.common.collect.testing.TestsForQueuesInJavaUtil
- suppressForArrayList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- suppressForArraysAsList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- suppressForCheckedList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- suppressForCheckedMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- suppressForCheckedSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- suppressForCheckedSortedMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- suppressForCheckedSortedSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- suppressForConcurrentHashMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- suppressForConcurrentLinkedQueue() - Method in class com.google.common.collect.testing.TestsForQueuesInJavaUtil
- suppressForConcurrentSkipListMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- suppressForConcurrentSkipListSetNatural() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- suppressForConcurrentSkipListSetWithComparator() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- suppressForCopyOnWriteArrayList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- suppressForCopyOnWriteArraySet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- suppressForEmptyList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- suppressForEmptyMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- suppressForEmptySet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- suppressForEnumMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- suppressForEnumSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- suppressForHashMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- suppressForHashSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- suppressForHashtable() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- suppressForLinkedBlockingQueue() - Method in class com.google.common.collect.testing.TestsForQueuesInJavaUtil
- suppressForLinkedHashMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- suppressForLinkedHashSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- suppressForLinkedList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- suppressForLinkedList() - Method in class com.google.common.collect.testing.TestsForQueuesInJavaUtil
- suppressForPriorityBlockingQueue() - Method in class com.google.common.collect.testing.TestsForQueuesInJavaUtil
- suppressForPriorityQueue() - Method in class com.google.common.collect.testing.TestsForQueuesInJavaUtil
- suppressForSingletonList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- suppressForSingletonMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- suppressForSingletonSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- suppressForTreeMapNatural() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- suppressForTreeMapWithComparator() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- suppressForTreeSetNatural() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- suppressForTreeSetWithComparator() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- suppressForUnmodifiableList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- suppressForUnmodifiableMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- suppressForUnmodifiableSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- suppressForUnmodifiableSortedMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- suppressForVector() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- suppressing(Method...) - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
-
Prevents the given methods from being run as part of the test suite.
- suppressing(Collection<Method>) - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- SVG_UTF_8 - Static variable in class com.google.common.net.MediaType
- symmetricDifference(Set<? extends E>, Set<? extends E>) - Static method in class com.google.common.collect.Sets
-
Returns an unmodifiable view of the symmetric difference of two sets.
- SYN - Static variable in class com.google.common.base.Ascii
-
Synchronous Idle: A communication control character used by a synchronous transmission system in the absence of any other character to provide a signal from which synchronism may be achieved or retained.
- synchronizedBiMap(BiMap<K, V>) - Static method in class com.google.common.collect.Maps
-
Returns a synchronized (thread-safe) bimap backed by the specified bimap.
- synchronizedDeque(Deque<E>) - Static method in class com.google.common.collect.Queues
-
Returns a synchronized (thread-safe) deque backed by the specified deque.
- synchronizedListMultimap(ListMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
-
Returns a synchronized (thread-safe)
ListMultimap
backed by the specified multimap. - synchronizedMultimap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
-
Returns a synchronized (thread-safe) multimap backed by the specified multimap.
- synchronizedNavigableMap(NavigableMap<K, V>) - Static method in class com.google.common.collect.Maps
-
Returns a synchronized (thread-safe) navigable map backed by the specified navigable map.
- synchronizedNavigableSet(NavigableSet<E>) - Static method in class com.google.common.collect.Sets
-
Returns a synchronized (thread-safe) navigable set backed by the specified navigable set.
- synchronizedQueue(Queue<E>) - Static method in class com.google.common.collect.Queues
-
Returns a synchronized (thread-safe) queue backed by the specified queue.
- synchronizedSetMultimap(SetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
-
Returns a synchronized (thread-safe)
SetMultimap
backed by the specified multimap. - synchronizedSortedSetMultimap(SortedSetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
-
Returns a synchronized (thread-safe)
SortedSetMultimap
backed by the specified multimap. - synchronizedSupplier(Supplier<T>) - Static method in class com.google.common.base.Suppliers
-
Returns a supplier whose
get()
method synchronizes ondelegate
before calling it, making it thread-safe. - systemExit() - Static method in class com.google.common.util.concurrent.UncaughtExceptionHandlers
-
Returns an exception handler that exits the system.
- systemTicker() - Static method in class com.google.common.base.Ticker
-
A ticker that reads the current time using
System.nanoTime()
.
T
- Table<R,C,V> - Interface in com.google.common.collect
-
A collection that associates an ordered pair of keys, called a row key and a column key, with a single value.
- Table.Cell<R,C,V> - Interface in com.google.common.collect
-
Row key / column key / value triplet corresponding to a mapping in a table.
- Tables - Class in com.google.common.collect
-
Provides static methods that involve a
Table
. - tailMap(K) - Method in class com.google.common.collect.ForwardingSortedMap
- tailMap(K) - Method in class com.google.common.collect.ImmutableSortedMap
-
This method returns a
ImmutableSortedMap
, consisting of the entries whose keys are greater than or equals tofromKey
. - tailMap(K) - Method in class com.google.common.collect.testing.SafeTreeMap
- tailMap(K, boolean) - Method in class com.google.common.collect.ForwardingNavigableMap
- tailMap(K, boolean) - Method in class com.google.common.collect.ImmutableSortedMap
-
This method returns a
ImmutableSortedMap
, consisting of the entries whose keys are greater than (or equal to, ifinclusive
)fromKey
. - tailMap(K, boolean) - Method in class com.google.common.collect.testing.SafeTreeMap
- tailMultiset(E, BoundType) - Method in class com.google.common.collect.ForwardingSortedMultiset
- tailMultiset(E, BoundType) - Method in class com.google.common.collect.ImmutableSortedMultiset
- tailMultiset(E, BoundType) - Method in interface com.google.common.collect.SortedMultiset
-
Returns a view of this multiset restricted to the elements greater than
lowerBound
, optionally includinglowerBound
itself. - tailMultiset(E, BoundType) - Method in class com.google.common.collect.TreeMultiset
- tailSet(C) - Method in class com.google.common.collect.ContiguousSet
- tailSet(C, boolean) - Method in class com.google.common.collect.ContiguousSet
- tailSet(E) - Method in class com.google.common.collect.ForwardingSortedSet
- tailSet(E) - Method in class com.google.common.collect.ImmutableSortedSet
- tailSet(E) - Method in class com.google.common.collect.testing.SafeTreeSet
- tailSet(E, boolean) - Method in class com.google.common.collect.ForwardingNavigableSet
- tailSet(E, boolean) - Method in class com.google.common.collect.ImmutableSortedSet
- tailSet(E, boolean) - Method in class com.google.common.collect.testing.SafeTreeSet
- take() - Method in class com.google.common.collect.ForwardingBlockingDeque
- take() - Method in class com.google.common.util.concurrent.ForwardingBlockingQueue
- takeFirst() - Method in class com.google.common.collect.ForwardingBlockingDeque
- takeLast() - Method in class com.google.common.collect.ForwardingBlockingDeque
- takeUninterruptibly(BlockingQueue<E>) - Static method in class com.google.common.util.concurrent.Uninterruptibles
-
Invokes
queue.
take()
uninterruptibly. - TAR - Static variable in class com.google.common.net.MediaType
- target() - Method in class com.google.common.graph.EndpointPair
-
If this
EndpointPair
EndpointPair.isOrdered()
, returns the node which is the target. - TE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
TE
header field name. - tearDown() - Method in class com.google.common.collect.testing.AbstractTester
- tearDown() - Method in class com.google.common.testing.SloppyTearDown
- tearDown() - Method in interface com.google.common.testing.TearDown
-
Performs a single tear-down operation.
- tearDown() - Method in class com.google.common.util.concurrent.testing.AbstractListenableFutureTest
- TearDown - Interface in com.google.common.testing
-
An object that can perform a
TearDown.tearDown()
operation. - TearDownAccepter - Interface in com.google.common.testing
-
Any object which can accept registrations of
TearDown
instances. - TearDownStack - Class in com.google.common.testing
-
A
TearDownStack
contains a stack ofTearDown
instances. - TearDownStack() - Constructor for class com.google.common.testing.TearDownStack
- TearDownStack(boolean) - Constructor for class com.google.common.testing.TearDownStack
- TeredoInfo(Inet4Address, Inet4Address, int, int) - Constructor for class com.google.common.net.InetAddresses.TeredoInfo
-
Constructs a TeredoInfo instance.
- terminated(Service.State) - Method in class com.google.common.util.concurrent.Service.Listener
-
Called when the service transitions to the TERMINATED state.
- TERMINATED - com.google.common.util.concurrent.Service.State
-
A service in this state has completed execution normally.
- test() - Method in class com.google.common.testing.EquivalenceTester
-
Run tests on equivalence methods, throwing a failure on an invalid test
- testAdd_nullSupported() - Method in class com.google.common.collect.testing.testers.CollectionAddTester
- testAdd_nullUnsupported() - Method in class com.google.common.collect.testing.testers.CollectionAddTester
- testAdd_supportedNotPresent() - Method in class com.google.common.collect.testing.testers.CollectionAddTester
- testAdd_supportedNullPresent() - Method in class com.google.common.collect.testing.testers.ListAddTester
- testAdd_supportedNullPresent() - Method in class com.google.common.collect.testing.testers.SetAddTester
- testAdd_supportedPresent() - Method in class com.google.common.collect.testing.testers.ListAddTester
- testAdd_supportedPresent() - Method in class com.google.common.collect.testing.testers.SetAddTester
- testAdd_unsupportedNotPresent() - Method in class com.google.common.collect.testing.testers.CollectionAddTester
- testAdd_unsupportedPresent() - Method in class com.google.common.collect.testing.testers.CollectionAddTester
- testAdd_unsupportedPresent() - Method in class com.google.common.collect.testing.testers.ListAddTester
- testAddAll_emptyMultiset() - Method in class com.google.common.collect.testing.google.MultisetAddTester
- testAddAll_emptySet() - Method in class com.google.common.collect.testing.google.MultisetAddTester
- testAddAll_nonEmptyList() - Method in class com.google.common.collect.testing.google.MultisetAddTester
- testAddAll_nonEmptyMultiset() - Method in class com.google.common.collect.testing.google.MultisetAddTester
- testAddAll_nullCollectionReference() - Method in class com.google.common.collect.testing.testers.CollectionAddAllTester
- testAddAll_nullSupported() - Method in class com.google.common.collect.testing.testers.CollectionAddAllTester
- testAddAll_nullUnsupported() - Method in class com.google.common.collect.testing.testers.CollectionAddAllTester
- testAddAll_supportedAllPresent() - Method in class com.google.common.collect.testing.testers.ListAddAllTester
- testAddAll_supportedAllPresent() - Method in class com.google.common.collect.testing.testers.SetAddAllTester
- testAddAll_supportedNonePresent() - Method in class com.google.common.collect.testing.testers.CollectionAddAllTester
- testAddAll_supportedNothing() - Method in class com.google.common.collect.testing.testers.CollectionAddAllTester
- testAddAll_supportedSomePresent() - Method in class com.google.common.collect.testing.testers.CollectionAddAllTester
- testAddAll_supportedSomePresent() - Method in class com.google.common.collect.testing.testers.SetAddAllTester
- testAddAll_unsupportedAllPresent() - Method in class com.google.common.collect.testing.testers.CollectionAddAllTester
- testAddAll_unsupportedAllPresent() - Method in class com.google.common.collect.testing.testers.ListAddAllTester
- testAddAll_unsupportedNonePresent() - Method in class com.google.common.collect.testing.testers.CollectionAddAllTester
- testAddAll_unsupportedNothing() - Method in class com.google.common.collect.testing.testers.CollectionAddAllTester
- testAddAll_unsupportedSomePresent() - Method in class com.google.common.collect.testing.testers.CollectionAddAllTester
- testAddAll_withDuplicates() - Method in class com.google.common.collect.testing.testers.ListAddAllTester
- testAddAll_withDuplicates() - Method in class com.google.common.collect.testing.testers.SetAddAllTester
- testAddAllAtIndex_end() - Method in class com.google.common.collect.testing.testers.ListAddAllAtIndexTester
- testAddAllAtIndex_middle() - Method in class com.google.common.collect.testing.testers.ListAddAllAtIndexTester
- testAddAllAtIndex_negative() - Method in class com.google.common.collect.testing.testers.ListAddAllAtIndexTester
- testAddAllAtIndex_nullCollectionReference() - Method in class com.google.common.collect.testing.testers.ListAddAllAtIndexTester
- testAddAllAtIndex_nullSupported() - Method in class com.google.common.collect.testing.testers.ListAddAllAtIndexTester
- testAddAllAtIndex_nullUnsupported() - Method in class com.google.common.collect.testing.testers.ListAddAllAtIndexTester
- testAddAllAtIndex_supportedAllPresent() - Method in class com.google.common.collect.testing.testers.ListAddAllAtIndexTester
- testAddAllAtIndex_supportedNothing() - Method in class com.google.common.collect.testing.testers.ListAddAllAtIndexTester
- testAddAllAtIndex_supportedSomePresent() - Method in class com.google.common.collect.testing.testers.ListAddAllAtIndexTester
- testAddAllAtIndex_tooLarge() - Method in class com.google.common.collect.testing.testers.ListAddAllAtIndexTester
- testAddAllAtIndex_unsupportedAllPresent() - Method in class com.google.common.collect.testing.testers.ListAddAllAtIndexTester
- testAddAllAtIndex_unsupportedNothing() - Method in class com.google.common.collect.testing.testers.ListAddAllAtIndexTester
- testAddAllAtIndex_unsupportedSomePresent() - Method in class com.google.common.collect.testing.testers.ListAddAllAtIndexTester
- testAddAllAtIndex_withDuplicates() - Method in class com.google.common.collect.testing.testers.ListAddAllAtIndexTester
- testAddAllConcurrentWithIteration() - Method in class com.google.common.collect.testing.testers.CollectionAddAllTester
- testAddAtIndex_end() - Method in class com.google.common.collect.testing.testers.ListAddAtIndexTester
- testAddAtIndex_middle() - Method in class com.google.common.collect.testing.testers.ListAddAtIndexTester
- testAddAtIndex_negative() - Method in class com.google.common.collect.testing.testers.ListAddAtIndexTester
- testAddAtIndex_nullSupported() - Method in class com.google.common.collect.testing.testers.ListAddAtIndexTester
- testAddAtIndex_nullUnsupported() - Method in class com.google.common.collect.testing.testers.ListAddAtIndexTester
- testAddAtIndex_supportedNotPresent() - Method in class com.google.common.collect.testing.testers.ListAddAtIndexTester
- testAddAtIndex_supportedPresent() - Method in class com.google.common.collect.testing.testers.ListAddAtIndexTester
- testAddAtIndex_tooLarge() - Method in class com.google.common.collect.testing.testers.ListAddAtIndexTester
- testAddAtIndex_unsupportedNotPresent() - Method in class com.google.common.collect.testing.testers.ListAddAtIndexTester
- testAddAtIndex_unsupportedPresent() - Method in class com.google.common.collect.testing.testers.ListAddAtIndexTester
- testAddAtIndexConcurrentWithIteration() - Method in class com.google.common.collect.testing.testers.ListAddAtIndexTester
- testAddConcurrentWithIteration() - Method in class com.google.common.collect.testing.testers.CollectionAddTester
- testAddMeansAddOne() - Method in class com.google.common.collect.testing.google.MultisetAddTester
- testAddNullValue() - Method in class com.google.common.collect.testing.google.MultimapAsMapGetTester
- testAddNullValueUnsupported() - Method in class com.google.common.collect.testing.google.MultimapAsMapGetTester
- testAddOccurrences() - Method in class com.google.common.collect.testing.google.MultisetAddTester
- testAddOccurrences_unsupported() - Method in class com.google.common.collect.testing.google.MultisetAddTester
- testAddOccurrencesNegative() - Method in class com.google.common.collect.testing.google.MultisetAddTester
- testAddOccurrencesZero() - Method in class com.google.common.collect.testing.google.MultisetAddTester
- testAddOutOfHeadBoundsOne() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testAddOutOfHeadBoundsSeveral() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testAddOutOfTailBoundsOne() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testAddOutOfTailBoundsSeveral() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testAddSeveralTimes() - Method in class com.google.common.collect.testing.google.MultisetAddTester
- testAddTooMany() - Method in class com.google.common.collect.testing.google.MultisetAddTester
- testAddUnsupported() - Method in class com.google.common.collect.testing.google.MultisetAddTester
- testAddWithConflictingBounds() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testAllListenersCompleteSuccessfully() - Method in class com.google.common.util.concurrent.testing.AbstractListenableFutureTest
-
Tests that all listeners complete, even if they were added before or after the future was finishing.
- testAllPublicConstructors(Class<?>) - Method in class com.google.common.testing.NullPointerTester
-
Runs
NullPointerTester.testConstructor(java.lang.reflect.Constructor<?>)
on every public constructor in classc
. - testAllPublicInstanceMethods(Object) - Method in class com.google.common.testing.NullPointerTester
-
Runs
NullPointerTester.testMethod(java.lang.Object, java.lang.reflect.Method)
on every public instance method of the class ofinstance
, including those inherited from superclasses of the same package. - testAllPublicStaticMethods(Class<?>) - Method in class com.google.common.testing.NullPointerTester
-
Runs
NullPointerTester.testMethod(java.lang.Object, java.lang.reflect.Method)
on every public static method of classc
, including those "inherited" from superclasses of the same package. - testAsMapEntrySetIteratorRemovePropagatesToMultimap() - Method in class com.google.common.collect.testing.google.MultimapAsMapTester
- testAsMapEntrySetReflectsPutDifferentKey() - Method in class com.google.common.collect.testing.google.MultimapAsMapTester
- testAsMapEntrySetReflectsPutSameKey() - Method in class com.google.common.collect.testing.google.MultimapAsMapTester
- testAsMapEntrySetRemovePropagatesToMultimap() - Method in class com.google.common.collect.testing.google.MultimapAsMapTester
- testAsMapGet() - Method in class com.google.common.collect.testing.google.MultimapAsMapTester
- testAsMapGetImplementsList() - Method in class com.google.common.collect.testing.google.ListMultimapAsMapTester
- testAsMapGetImplementsSet() - Method in class com.google.common.collect.testing.google.SetMultimapAsMapTester
- testAsMapGetImplementsSortedSet() - Method in class com.google.common.collect.testing.google.SortedSetMultimapAsMapTester
- testAsMapGetNullKeyAbsent() - Method in class com.google.common.collect.testing.google.MultimapAsMapTester
- testAsMapGetNullKeyPresent() - Method in class com.google.common.collect.testing.google.MultimapAsMapTester
- testAsMapGetNullKeyUnsupported() - Method in class com.google.common.collect.testing.google.MultimapAsMapTester
- testAsMapRemove() - Method in class com.google.common.collect.testing.google.MultimapAsMapTester
- testAsMapRemoveImplementsList() - Method in class com.google.common.collect.testing.google.ListMultimapAsMapTester
- testAsMapRemoveImplementsSet() - Method in class com.google.common.collect.testing.google.SetMultimapAsMapTester
- testAsMapRemoveImplementsSortedSet() - Method in class com.google.common.collect.testing.google.SortedSetMultimapAsMapTester
- testAsMapValuesImplementList() - Method in class com.google.common.collect.testing.google.ListMultimapAsMapTester
- testAsMapValuesImplementSet() - Method in class com.google.common.collect.testing.google.SetMultimapAsMapTester
- testAsMapValuesImplementSortedSet() - Method in class com.google.common.collect.testing.google.SortedSetMultimapAsMapTester
- TestBiMapGenerator<K,V> - Interface in com.google.common.collect.testing.google
-
Creates bimaps, containing sample entries, to be tested.
- testCanceledFutureThrowsCancellation() - Method in class com.google.common.util.concurrent.testing.AbstractListenableFutureTest
-
Tests that a canceled future throws a cancellation exception.
- testCeiling() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testCeiling() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testCeiling() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testCeilingHole() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- TestCharacterListGenerator - Class in com.google.common.collect.testing
-
Generates
List<Character>
instances for test suites. - TestCharacterListGenerator() - Constructor for class com.google.common.collect.testing.TestCharacterListGenerator
- testCheckedGetThrowsApplicationExceptionOnCancellation() - Method in class com.google.common.util.concurrent.testing.AbstractCheckedFutureTest
-
Tests that the
CheckedFuture.checkedGet()
method throws the correct type of cancellation exception when it is cancelled. - testCheckedGetThrowsApplicationExceptionOnError() - Method in class com.google.common.util.concurrent.testing.AbstractCheckedFutureTest
- testCheckedGetThrowsApplicationExceptionOnInterruption() - Method in class com.google.common.util.concurrent.testing.AbstractCheckedFutureTest
- testClear() - Method in class com.google.common.collect.testing.google.MultimapClearTester
- testClear() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testClear() - Method in class com.google.common.collect.testing.testers.CollectionClearTester
- testClear() - Method in class com.google.common.collect.testing.testers.MapClearTester
- testClear_unsupported() - Method in class com.google.common.collect.testing.testers.CollectionClearTester
- testClear_unsupported() - Method in class com.google.common.collect.testing.testers.MapClearTester
- testClear_unsupportedByEmptyCollection() - Method in class com.google.common.collect.testing.testers.CollectionClearTester
- testClear_unsupportedByEmptyCollection() - Method in class com.google.common.collect.testing.testers.MapClearTester
- testClearClearsInverse() - Method in class com.google.common.collect.testing.google.BiMapClearTester
- testClearConcurrentWithEntrySetIteration() - Method in class com.google.common.collect.testing.testers.MapClearTester
- testClearConcurrentWithIteration() - Method in class com.google.common.collect.testing.testers.CollectionClearTester
- testClearConcurrentWithKeySetIteration() - Method in class com.google.common.collect.testing.testers.MapClearTester
- testClearConcurrentWithValuesIteration() - Method in class com.google.common.collect.testing.testers.MapClearTester
- testClearHeadClosed() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testClearHeadClosedEntrySet() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testClearHeadOpen() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testClearHeadOpenEntrySet() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testClearInverseClears() - Method in class com.google.common.collect.testing.google.BiMapClearTester
- testClearInverseKeySetClears() - Method in class com.google.common.collect.testing.google.BiMapClearTester
- testClearInverseValuesClears() - Method in class com.google.common.collect.testing.google.BiMapClearTester
- testClearPropagatesToAsMap() - Method in class com.google.common.collect.testing.google.MultimapClearTester
- testClearPropagatesToAsMapGet() - Method in class com.google.common.collect.testing.google.MultimapClearTester
- testClearPropagatesToEntries() - Method in class com.google.common.collect.testing.google.MultimapClearTester
- testClearPropagatesToGet() - Method in class com.google.common.collect.testing.google.MultimapClearTester
- testClearTailClosed() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testClearTailClosedEntrySet() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testClearTailOpen() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testClearTailOpenEntrySet() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testClearThroughAsMap() - Method in class com.google.common.collect.testing.google.MultimapClearTester
- testClearThroughEntries() - Method in class com.google.common.collect.testing.google.MultimapClearTester
- testClearThroughKeys() - Method in class com.google.common.collect.testing.google.MultimapClearTester
- testClearThroughKeySet() - Method in class com.google.common.collect.testing.google.MultimapClearTester
- testClearThroughValues() - Method in class com.google.common.collect.testing.google.MultimapClearTester
- testClearUnsupported() - Method in class com.google.common.collect.testing.google.MultimapClearTester
- TestCollectionGenerator<E> - Interface in com.google.common.collect.testing
-
Creates collections, containing sample elements, to be tested.
- TestCollidingSetGenerator - Class in com.google.common.collect.testing
-
A generator using sample elements whose hash codes all collide badly.
- TestCollidingSetGenerator() - Constructor for class com.google.common.collect.testing.TestCollidingSetGenerator
- testComparator(Comparator<? super T>, List<T>) - Static method in class com.google.common.collect.testing.Helpers
-
Asserts that all pairs of
T
values withinvaluesInExpectedOrder
are ordered consistently between their order withinvaluesInExpectedOrder
and the order implied by the givencomparator
. - testComparator(Comparator<? super T>, T...) - Static method in class com.google.common.collect.testing.Helpers
-
Asserts that all pairs of
T
values withinvaluesInExpectedOrder
are ordered consistently between their order withinvaluesInExpectedOrder
and the order implied by the givencomparator
. - testCompareToAndEquals(List<T>) - Static method in class com.google.common.collect.testing.Helpers
- testConflictingBounds() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testConstructor(Constructor<?>) - Method in class com.google.common.testing.NullPointerTester
-
Verifies that
ctor
produces aNullPointerException
orUnsupportedOperationException
whenever any of its non-Nullable
parameters are null. - testConstructorParameter(Constructor<?>, int) - Method in class com.google.common.testing.NullPointerTester
-
Verifies that
ctor
produces aNullPointerException
orUnsupportedOperationException
when the parameter in positionparamIndex
is null. - testConstructors(Class<?>, NullPointerTester.Visibility) - Method in class com.google.common.testing.NullPointerTester
-
Runs
NullPointerTester.testConstructor(java.lang.reflect.Constructor<?>)
on every constructor in classc
that has at leastminimalVisibility
. - TestContainerGenerator<T,E> - Interface in com.google.common.collect.testing
-
To be implemented by test generators of things that can contain elements.
- testContains_no() - Method in class com.google.common.collect.testing.testers.CollectionContainsTester
- testContains_no() - Method in class com.google.common.collect.testing.testers.MapContainsKeyTester
- testContains_no() - Method in class com.google.common.collect.testing.testers.MapContainsValueTester
- testContains_nonNullWhenNullContained() - Method in class com.google.common.collect.testing.testers.CollectionContainsTester
- testContains_nonNullWhenNullContained() - Method in class com.google.common.collect.testing.testers.MapContainsKeyTester
- testContains_nonNullWhenNullContained() - Method in class com.google.common.collect.testing.testers.MapContainsValueTester
- testContains_nullContained() - Method in class com.google.common.collect.testing.testers.CollectionContainsTester
- testContains_nullContained() - Method in class com.google.common.collect.testing.testers.MapContainsKeyTester
- testContains_nullContained() - Method in class com.google.common.collect.testing.testers.MapContainsValueTester
- testContains_nullNotContainedAndUnsupported() - Method in class com.google.common.collect.testing.testers.CollectionContainsTester
- testContains_nullNotContainedAndUnsupported() - Method in class com.google.common.collect.testing.testers.MapContainsKeyTester
- testContains_nullNotContainedAndUnsupported() - Method in class com.google.common.collect.testing.testers.MapContainsValueTester
- testContains_nullNotContainedButAllowed() - Method in class com.google.common.collect.testing.testers.MapContainsKeyTester
- testContains_nullNotContainedButAllowed() - Method in class com.google.common.collect.testing.testers.MapContainsValueTester
- testContains_nullNotContainedButQueriesSupported() - Method in class com.google.common.collect.testing.testers.CollectionContainsTester
- testContains_wrongType() - Method in class com.google.common.collect.testing.testers.CollectionContainsTester
- testContains_wrongType() - Method in class com.google.common.collect.testing.testers.MapContainsKeyTester
- testContains_wrongType() - Method in class com.google.common.collect.testing.testers.MapContainsValueTester
- testContains_yes() - Method in class com.google.common.collect.testing.testers.CollectionContainsTester
- testContains_yes() - Method in class com.google.common.collect.testing.testers.MapContainsKeyTester
- testContains_yes() - Method in class com.google.common.collect.testing.testers.MapContainsValueTester
- testContainsAll_disjoint() - Method in class com.google.common.collect.testing.testers.CollectionContainsAllTester
- testContainsAll_empty() - Method in class com.google.common.collect.testing.testers.CollectionContainsAllTester
- testContainsAll_nullAllowed() - Method in class com.google.common.collect.testing.testers.CollectionContainsAllTester
- testContainsAll_nullNotAllowed() - Method in class com.google.common.collect.testing.testers.CollectionContainsAllTester
- testContainsAll_nullPresent() - Method in class com.google.common.collect.testing.testers.CollectionContainsAllTester
- testContainsAll_partialOverlap() - Method in class com.google.common.collect.testing.testers.CollectionContainsAllTester
- testContainsAll_sameElements() - Method in class com.google.common.collect.testing.testers.CollectionContainsAllTester
- testContainsAll_self() - Method in class com.google.common.collect.testing.testers.CollectionContainsAllTester
- testContainsAll_subset() - Method in class com.google.common.collect.testing.testers.CollectionContainsAllTester
- testContainsAll_wrongType() - Method in class com.google.common.collect.testing.testers.CollectionContainsAllTester
- testContainsAllListIgnoresFrequency() - Method in class com.google.common.collect.testing.google.MultisetContainsTester
- testContainsAllMultisetIgnoresFrequency() - Method in class com.google.common.collect.testing.google.MultisetContainsTester
- testContainsEntryAgreesWithGet() - Method in class com.google.common.collect.testing.google.MultimapContainsEntryTester
- testContainsEntryNo() - Method in class com.google.common.collect.testing.google.MultimapContainsEntryTester
- testContainsEntryNullDisallowedBecauseKeyQueriesDisallowed() - Method in class com.google.common.collect.testing.google.MultimapContainsEntryTester
- testContainsEntryNullDisallowedBecauseValueQueriesDisallowed() - Method in class com.google.common.collect.testing.google.MultimapContainsEntryTester
-
Copy of the
#testContainsEntryNullDisallowed
test. - testContainsEntryNullNo() - Method in class com.google.common.collect.testing.google.MultimapContainsEntryTester
- testContainsEntryNullYes() - Method in class com.google.common.collect.testing.google.MultimapContainsEntryTester
- testContainsEntryWithIncomparableKey() - Method in class com.google.common.collect.testing.testers.MapEntrySetTester
- testContainsEntryWithIncomparableValue() - Method in class com.google.common.collect.testing.testers.MapEntrySetTester
- testContainsEntryWithNullKeyAbsent() - Method in class com.google.common.collect.testing.google.MultimapEntriesTester
- testContainsEntryWithNullKeyAbsent() - Method in class com.google.common.collect.testing.testers.MapEntrySetTester
- testContainsEntryWithNullKeyPresent() - Method in class com.google.common.collect.testing.google.MultimapEntriesTester
- testContainsEntryWithNullKeyPresent() - Method in class com.google.common.collect.testing.testers.MapEntrySetTester
- testContainsEntryWithNullValueAbsent() - Method in class com.google.common.collect.testing.google.MultimapEntriesTester
- testContainsEntryWithNullValueAbsent() - Method in class com.google.common.collect.testing.testers.MapEntrySetTester
- testContainsEntryWithNullValuePresent() - Method in class com.google.common.collect.testing.google.MultimapEntriesTester
- testContainsEntryWithNullValuePresent() - Method in class com.google.common.collect.testing.testers.MapEntrySetTester
- testContainsEntryYes() - Method in class com.google.common.collect.testing.google.MultimapContainsEntryTester
- testContainsKey() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testContainsKeyAgreesWithAsMap() - Method in class com.google.common.collect.testing.google.MultimapContainsKeyTester
- testContainsKeyAgreesWithGet() - Method in class com.google.common.collect.testing.google.MultimapContainsKeyTester
- testContainsKeyAgreesWithKeySet() - Method in class com.google.common.collect.testing.google.MultimapContainsKeyTester
- testContainsKeyNo() - Method in class com.google.common.collect.testing.google.MultimapContainsKeyTester
- testContainsKeyNullAbsent() - Method in class com.google.common.collect.testing.google.MultimapContainsKeyTester
- testContainsKeyNullDisallowed() - Method in class com.google.common.collect.testing.google.MultimapContainsKeyTester
- testContainsKeyNullPresent() - Method in class com.google.common.collect.testing.google.MultimapContainsKeyTester
- testContainsKeysFromKeySet() - Method in class com.google.common.collect.testing.google.MultimapContainsKeyTester
- testContainsKeyYes() - Method in class com.google.common.collect.testing.google.MultimapContainsKeyTester
- testContainsNullValueFails() - Method in class com.google.common.collect.testing.google.MultimapContainsValueTester
- testContainsNullValueNo() - Method in class com.google.common.collect.testing.google.MultimapContainsValueTester
- testContainsNullValueYes() - Method in class com.google.common.collect.testing.google.MultimapContainsValueTester
- testContainsValue() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testContainsValueNo() - Method in class com.google.common.collect.testing.google.MultimapContainsValueTester
- testContainsValueYes() - Method in class com.google.common.collect.testing.google.MultimapContainsValueTester
- testCount_0() - Method in class com.google.common.collect.testing.google.MultisetCountTester
- testCount_1() - Method in class com.google.common.collect.testing.google.MultisetCountTester
- testCount_3() - Method in class com.google.common.collect.testing.google.MultisetCountTester
- testCount_null_forbidden() - Method in class com.google.common.collect.testing.google.MultisetCountTester
- testCount_nullAbsent() - Method in class com.google.common.collect.testing.google.MultisetCountTester
- testCount_nullPresent() - Method in class com.google.common.collect.testing.google.MultisetCountTester
- testCount_wrongType() - Method in class com.google.common.collect.testing.google.MultisetCountTester
- testCreateWithDuplicates() - Method in class com.google.common.collect.testing.testers.ListCreationTester
- testCreateWithDuplicates_nonNullDuplicatesNotRejected() - Method in class com.google.common.collect.testing.testers.MapCreationTester
- testCreateWithDuplicates_nonNullDuplicatesNotRejected() - Method in class com.google.common.collect.testing.testers.SetCreationTester
- testCreateWithDuplicates_nonNullDuplicatesRejected() - Method in class com.google.common.collect.testing.testers.MapCreationTester
- testCreateWithDuplicates_nonNullDuplicatesRejected() - Method in class com.google.common.collect.testing.testers.SetCreationTester
- testCreateWithDuplicates_nullDuplicatesNotRejected() - Method in class com.google.common.collect.testing.testers.MapCreationTester
- testCreateWithDuplicates_nullDuplicatesNotRejected() - Method in class com.google.common.collect.testing.testers.SetCreationTester
- testCreateWithDuplicates_nullDuplicatesRejected() - Method in class com.google.common.collect.testing.testers.MapCreationTester
- testCreateWithDuplicates_nullDuplicatesRejected() - Method in class com.google.common.collect.testing.testers.SetCreationTester
- testCreateWithNull_supported() - Method in class com.google.common.collect.testing.testers.CollectionCreationTester
- testCreateWithNull_unsupported() - Method in class com.google.common.collect.testing.testers.CollectionCreationTester
- testCreateWithNullKeyAndValueSupported() - Method in class com.google.common.collect.testing.testers.MapCreationTester
- testCreateWithNullKeySupported() - Method in class com.google.common.collect.testing.testers.MapCreationTester
- testCreateWithNullKeyUnsupported() - Method in class com.google.common.collect.testing.testers.MapCreationTester
- testCreateWithNullValueSupported() - Method in class com.google.common.collect.testing.testers.MapCreationTester
- testCreateWithNullValueUnsupported() - Method in class com.google.common.collect.testing.testers.MapCreationTester
- testDescendingNavigation() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testDescendingNavigation() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testDescendingNavigation() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testElement_empty() - Method in class com.google.common.collect.testing.testers.QueueElementTester
- testElement_size1() - Method in class com.google.common.collect.testing.testers.QueueElementTester
- testElement_sizeMany() - Method in class com.google.common.collect.testing.testers.QueueElementTester
- testElementSet_contains() - Method in class com.google.common.collect.testing.google.MultisetReadsTester
- testElementSetClear() - Method in class com.google.common.collect.testing.google.MultisetElementSetTester
- testElementSetReflectsAddAbsent() - Method in class com.google.common.collect.testing.google.MultisetElementSetTester
- testElementSetReflectsRemove() - Method in class com.google.common.collect.testing.google.MultisetElementSetTester
- testElementSetRemoveAbsent() - Method in class com.google.common.collect.testing.google.MultisetElementSetTester
- testElementSetRemoveDuplicatePropagatesToMultiset() - Method in class com.google.common.collect.testing.google.MultisetElementSetTester
- testElementSetRemovePropagatesToMultiset() - Method in class com.google.common.collect.testing.google.MultisetElementSetTester
- testElementSetSerialization() - Method in class com.google.common.collect.testing.google.MultisetSerializationTester
- testEmptyMapFirst() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testEmptyMapFirst() - Method in class com.google.common.collect.testing.testers.SortedMapNavigationTester
- testEmptyMapLast() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testEmptyMapLast() - Method in class com.google.common.collect.testing.testers.SortedMapNavigationTester
- testEmptyMapNearby() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testEmptyMapPollFirst() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testEmptyMapPollLast() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testEmptyMultisetFirst() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testEmptyMultisetLast() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testEmptyMultisetNearby() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testEmptyMultisetPollFirst() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testEmptyMultisetPollLast() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testEmptyRangeSubMultiset(SortedMultiset<E>) - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testEmptyRangeSubMultisetSupportingAdd(SortedMultiset<E>) - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testEmptySetFirst() - Method in class com.google.common.collect.testing.testers.SortedSetNavigationTester
- testEmptySetLast() - Method in class com.google.common.collect.testing.testers.SortedSetNavigationTester
- testEmptySetNearby() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testEmptySetPollFirst() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testEmptySetPollLast() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testEmptySubSet() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testEntries() - Method in class com.google.common.collect.testing.google.MultimapEntriesTester
- testEntriesRemainValidAfterRemove() - Method in class com.google.common.collect.testing.google.MultimapEntriesTester
- testEntryReflectsClear() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testEntryReflectsElementSetClear() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testEntryReflectsElementSetIteratorRemove() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testEntryReflectsEntrySetClear() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testEntryReflectsEntrySetIteratorRemove() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testEntryReflectsIteratorRemove() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testEntryReflectsRemoveThenAdd() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testEntrySet() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySet_clear() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testEntrySet_contains() - Method in class com.google.common.collect.testing.google.MultisetReadsTester
- testEntrySet_contains_count0() - Method in class com.google.common.collect.testing.google.MultisetReadsTester
- testEntrySet_contains_nonentry() - Method in class com.google.common.collect.testing.google.MultisetReadsTester
- testEntrySet_hashCode_size0() - Method in class com.google.common.collect.testing.google.MultisetReadsTester
- testEntrySet_hashCode_size1() - Method in class com.google.common.collect.testing.google.MultisetReadsTester
- testEntrySet_iteratorRemovePropagates() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testEntrySet_removeAbsent() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testEntrySet_removeAllAbsent() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testEntrySet_removeAllPresent() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testEntrySet_removePresent() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testEntrySet_retainAllAbsent() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testEntrySet_retainAllPresent() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testEntrySet_twice() - Method in class com.google.common.collect.testing.google.MultisetReadsTester
- testEntrySetAddAndAddAll() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetClear() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetContainsEntryIncompatibleKey() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetContainsEntryNullKeyMissing() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetContainsEntryNullKeyPresent() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetEquals() - Method in class com.google.common.collect.testing.google.ListMultimapAsMapTester
- testEntrySetEquals() - Method in class com.google.common.collect.testing.google.SetMultimapAsMapTester
- testEntrySetForEmptyMap() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetIteratorRemove() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetIteratorRemove() - Method in class com.google.common.collect.testing.testers.MapEntrySetTester
- testEntrySetRemove() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetRemoveAll() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetRemoveAllNullFromEmpty() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetRemoveDifferentValue() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetRemoveMissingKey() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetRemoveNullKeyMissing() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetRemoveNullKeyPresent() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetRetainAll() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetRetainAllNullFromEmpty() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetSerialization() - Method in class com.google.common.collect.testing.google.MultisetSerializationTester
- testEntrySetSetValue() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntrySetSetValueSameValue() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEntryViewReflectsRemove() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- TestEnumMapGenerator - Class in com.google.common.collect.testing
-
Implementation helper for
TestMapGenerator
for use with enum maps. - TestEnumMapGenerator() - Constructor for class com.google.common.collect.testing.TestEnumMapGenerator
- TestEnumMultisetGenerator - Class in com.google.common.collect.testing.google
-
An abstract
TestMultisetGenerator
for generating multisets containing enum values. - TestEnumMultisetGenerator() - Constructor for class com.google.common.collect.testing.google.TestEnumMultisetGenerator
- TestEnumSetGenerator - Class in com.google.common.collect.testing
-
An abstract TestSetGenerator for generating sets containing enum values.
- TestEnumSetGenerator() - Constructor for class com.google.common.collect.testing.TestEnumSetGenerator
- testEquals() - Method in class com.google.common.collect.testing.google.ListMultimapAsMapTester
- testEquals() - Method in class com.google.common.collect.testing.google.SetMultimapAsMapTester
- testEquals() - Method in class com.google.common.testing.AbstractPackageSanityTests
-
Tests
equals()
andhashCode()
implementations for every top-level class in the package, that explicitly implementsObject.equals(java.lang.Object)
. - testEquals() - Method in class com.google.common.testing.ClassSanityTester.FactoryMethodReturnValueTester
-
Tests
Object.equals(java.lang.Object)
andObject.hashCode()
against the return values of the static methods, by asserting that when equal parameters are passed to the same static method, the return value should also be equal; and vice versa. - testEquals() - Method in class com.google.common.testing.EqualsTester
-
Run tests on equals method, throwing a failure on an invalid test
- testEquals(Class<?>) - Method in class com.google.common.testing.ClassSanityTester
-
Tests the
Object.equals(java.lang.Object)
andObject.hashCode()
ofcls
. - testEquals_containingNull() - Method in class com.google.common.collect.testing.testers.ListEqualsTester
- testEquals_containingNull() - Method in class com.google.common.collect.testing.testers.SetEqualsTester
- testEquals_containingNullKey() - Method in class com.google.common.collect.testing.testers.MapEqualsTester
- testEquals_containingNullValue() - Method in class com.google.common.collect.testing.testers.MapEqualsTester
- testEquals_differentElements() - Method in class com.google.common.collect.testing.google.MultisetReadsTester
- testEquals_differentSize() - Method in class com.google.common.collect.testing.google.MultisetReadsTester
- testEquals_largerMap() - Method in class com.google.common.collect.testing.testers.MapEqualsTester
- testEquals_largerSet() - Method in class com.google.common.collect.testing.testers.SetEqualsTester
- testEquals_list() - Method in class com.google.common.collect.testing.testers.MapEqualsTester
- testEquals_list() - Method in class com.google.common.collect.testing.testers.SetEqualsTester
- testEquals_longerList() - Method in class com.google.common.collect.testing.testers.ListEqualsTester
- testEquals_notACollection() - Method in class com.google.common.collect.testing.testers.CollectionEqualsTester
- testEquals_null() - Method in class com.google.common.collect.testing.testers.CollectionEqualsTester
- testEquals_otherContainsNull() - Method in class com.google.common.collect.testing.testers.SetEqualsTester
- testEquals_otherContainsNullKey() - Method in class com.google.common.collect.testing.testers.MapEqualsTester
- testEquals_otherContainsNullValue() - Method in class com.google.common.collect.testing.testers.MapEqualsTester
- testEquals_otherListContainingNull() - Method in class com.google.common.collect.testing.testers.ListEqualsTester
- testEquals_otherListWithDifferentElements() - Method in class com.google.common.collect.testing.testers.ListEqualsTester
- testEquals_otherListWithSameElements() - Method in class com.google.common.collect.testing.testers.ListEqualsTester
- testEquals_otherMapWithDifferentEntries() - Method in class com.google.common.collect.testing.testers.MapEqualsTester
- testEquals_otherMapWithSameEntries() - Method in class com.google.common.collect.testing.testers.MapEqualsTester
- testEquals_otherSetWithDifferentElements() - Method in class com.google.common.collect.testing.testers.SetEqualsTester
- testEquals_otherSetWithSameElements() - Method in class com.google.common.collect.testing.testers.SetEqualsTester
- testEquals_self() - Method in class com.google.common.collect.testing.testers.CollectionEqualsTester
- testEquals_set() - Method in class com.google.common.collect.testing.testers.ListEqualsTester
- testEquals_shorterList() - Method in class com.google.common.collect.testing.testers.ListEqualsTester
- testEquals_smallerMap() - Method in class com.google.common.collect.testing.testers.MapEqualsTester
- testEquals_smallerSet() - Method in class com.google.common.collect.testing.testers.SetEqualsTester
- testEquals_yes() - Method in class com.google.common.collect.testing.google.MultisetReadsTester
- testEqualsAndSerializable() - Method in class com.google.common.testing.ClassSanityTester.FactoryMethodReturnValueTester
-
Runs equals and serialization test on the return values.
- testEqualsFalse() - Method in class com.google.common.collect.testing.google.MultimapEqualsTester
- testEqualsForEmptyMap() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEqualsForEqualMap() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEqualsForLargerMap() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEqualsForSmallerMap() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testEqualsMultimapWithNullKey() - Method in class com.google.common.collect.testing.google.MultimapEqualsTester
- testEqualsMultimapWithNullValue() - Method in class com.google.common.collect.testing.google.MultimapEqualsTester
- testEqualsMultisetWithNullValue() - Method in class com.google.common.collect.testing.google.MultisetEqualsTester
- testEqualsSameContents() - Method in class com.google.common.collect.testing.google.MultisetEqualsTester
- testEqualsTrue() - Method in class com.google.common.collect.testing.google.MultimapEqualsTester
- TesterAnnotation - Annotation Type in com.google.common.collect.testing.features
-
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 - Class in com.google.common.collect.testing.features
-
Encapsulates the constraints that a class under test must satisfy in order for a tester method to be run against that class.
- TesterRequirements() - Constructor for class com.google.common.collect.testing.features.TesterRequirements
- TesterRequirements(TesterRequirements) - Constructor for class com.google.common.collect.testing.features.TesterRequirements
- TesterRequirements(Set<Feature<?>>, Set<Feature<?>>) - Constructor for class com.google.common.collect.testing.features.TesterRequirements
- testFind_no() - Method in class com.google.common.collect.testing.testers.AbstractListIndexOfTester
- testFind_nonNullWhenNullContained() - Method in class com.google.common.collect.testing.testers.AbstractListIndexOfTester
- testFind_nullContained() - Method in class com.google.common.collect.testing.testers.AbstractListIndexOfTester
- testFind_nullNotContainedAndUnsupported() - Method in class com.google.common.collect.testing.testers.AbstractListIndexOfTester
- testFind_nullNotContainedButSupported() - Method in class com.google.common.collect.testing.testers.AbstractListIndexOfTester
- testFind_wrongType() - Method in class com.google.common.collect.testing.testers.AbstractListIndexOfTester
- testFind_yes() - Method in class com.google.common.collect.testing.testers.AbstractListIndexOfTester
- testFirst() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testFirst() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testFirst() - Method in class com.google.common.collect.testing.testers.SortedMapNavigationTester
- testFirst() - Method in class com.google.common.collect.testing.testers.SortedSetNavigationTester
- testFloor() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testFloor() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testFloor() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testFloorHole() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testForcePutOverwritesOldValueEntry() - Method in class com.google.common.collect.testing.google.BiMapPutTester
- testForwarding(Class<T>, Function<? super T, ? extends T>) - Method in class com.google.common.testing.ForwardingWrapperTester
-
Tests that the forwarding wrapper returned by
wrapperFunction
properly forwards method calls with parameters passed as is, return value returned as is, and exceptions propagated as is. - testGet() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testGet_negative() - Method in class com.google.common.collect.testing.testers.ListGetTester
- testGet_no() - Method in class com.google.common.collect.testing.testers.MapGetTester
- testGet_nonNullWhenNullContained() - Method in class com.google.common.collect.testing.testers.MapGetTester
- testGet_nullContained() - Method in class com.google.common.collect.testing.testers.MapGetTester
- testGet_nullNotContainedAndUnsupported() - Method in class com.google.common.collect.testing.testers.MapGetTester
- testGet_nullNotContainedButAllowed() - Method in class com.google.common.collect.testing.testers.MapGetTester
- testGet_tooLarge() - Method in class com.google.common.collect.testing.testers.ListGetTester
- testGet_valid() - Method in class com.google.common.collect.testing.testers.ListGetTester
- testGet_wrongType() - Method in class com.google.common.collect.testing.testers.MapGetTester
- testGet_yes() - Method in class com.google.common.collect.testing.testers.MapGetTester
- testGetAbsentKey() - Method in class com.google.common.collect.testing.google.MultimapGetTester
- testGetBlocksUntilValueAvailable() - Method in class com.google.common.util.concurrent.testing.AbstractListenableFutureTest
-
Tests that the
Future.get()
method blocks until a value is available. - testGetEmpty() - Method in class com.google.common.collect.testing.google.MultimapGetTester
- testGetForEmptyMap() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testGetMultiple() - Method in class com.google.common.collect.testing.google.MultimapGetTester
- testGetNonEmpty() - Method in class com.google.common.collect.testing.google.MultimapGetTester
- testGetNull() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testGetNullAbsent() - Method in class com.google.common.collect.testing.google.MultimapGetTester
- testGetNullForbidden() - Method in class com.google.common.collect.testing.google.MultimapGetTester
- testGetNullPresent() - Method in class com.google.common.collect.testing.google.MultimapGetTester
- testGetWithNullValue() - Method in class com.google.common.collect.testing.google.MultimapGetTester
- testHashCode() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testHashCode() - Method in class com.google.common.collect.testing.testers.ListHashCodeTester
- testHashCode() - Method in class com.google.common.collect.testing.testers.MapHashCodeTester
- testHashCode() - Method in class com.google.common.collect.testing.testers.SetHashCodeTester
- testHashCode_containingNull() - Method in class com.google.common.collect.testing.testers.SetHashCodeTester
- testHashCode_containingNullKey() - Method in class com.google.common.collect.testing.testers.MapHashCodeTester
- testHashCode_containingNullValue() - Method in class com.google.common.collect.testing.testers.MapHashCodeTester
- testHashCode_size0() - Method in class com.google.common.collect.testing.google.MultisetReadsTester
- testHashCode_size1() - Method in class com.google.common.collect.testing.google.MultisetReadsTester
- testHashCodeForEmptyMap() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testHashCodeMatchesAsMap() - Method in class com.google.common.collect.testing.google.MultimapEqualsTester
- testHashCodeMatchesEntrySet() - Method in class com.google.common.collect.testing.google.MultisetEqualsTester
- testHeadClosedDistinctElements() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testHeadClosedEntrySet() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testHeadClosedSize() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testHeadMap() - Method in class com.google.common.collect.testing.testers.SortedMapNavigationTester
- testHeadMapExclusive() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testHeadMapExclusive() - Method in class com.google.common.collect.testing.testers.SortedMapNavigationTester
- testHeadMapInclusive() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testHeadOpenDistinctElements() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testHeadOpenEntrySet() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testHeadOpenSize() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testHigher() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testHigher() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testHigher() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testHigherHole() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testIndexOf_duplicate() - Method in class com.google.common.collect.testing.testers.ListIndexOfTester
- TestingExecutors - Class in com.google.common.util.concurrent.testing
-
Factory methods for
ExecutorService
for testing. - testInstanceMethods(Object, NullPointerTester.Visibility) - Method in class com.google.common.testing.NullPointerTester
-
Runs
NullPointerTester.testMethod(java.lang.Object, java.lang.reflect.Method)
on every instance method of the class ofinstance
with at leastminimalVisibility
, including those inherited from superclasses of the same package. - TestIntegerSetGenerator - Class in com.google.common.collect.testing
-
Create integer sets for collection tests.
- TestIntegerSetGenerator() - Constructor for class com.google.common.collect.testing.TestIntegerSetGenerator
- TestIntegerSortedSetGenerator - Class in com.google.common.collect.testing
-
Create integer sets for testing collections that are sorted by natural ordering.
- TestIntegerSortedSetGenerator() - Constructor for class com.google.common.collect.testing.TestIntegerSortedSetGenerator
- testInversePut() - Method in class com.google.common.collect.testing.google.BiMapPutTester
- testInverseSame() - Method in class com.google.common.collect.testing.google.BiMapInverseTester
- testInverseSerialization() - Method in class com.google.common.collect.testing.google.BiMapInverseTester
- testIsEmpty_no() - Method in class com.google.common.collect.testing.testers.CollectionIsEmptyTester
- testIsEmpty_no() - Method in class com.google.common.collect.testing.testers.MapIsEmptyTester
- testIsEmpty_yes() - Method in class com.google.common.collect.testing.testers.CollectionIsEmptyTester
- testIsEmpty_yes() - Method in class com.google.common.collect.testing.testers.MapIsEmptyTester
- testIsEmptyNo() - Method in class com.google.common.collect.testing.google.MultimapSizeTester
- testIsEmptyYes() - Method in class com.google.common.collect.testing.google.MultimapSizeTester
- testIterationOrdering() - Method in class com.google.common.collect.testing.testers.CollectionIteratorTester
- testIterator() - Method in class com.google.common.collect.testing.testers.CollectionIteratorTester
- testIterator_knownOrderRemoveSupported() - Method in class com.google.common.collect.testing.testers.CollectionIteratorTester
- testIterator_knownOrderRemoveUnsupported() - Method in class com.google.common.collect.testing.testers.CollectionIteratorTester
- testIterator_removeAffectsBackingCollection() - Method in class com.google.common.collect.testing.testers.CollectionIteratorTester
- testIterator_unknownOrderRemoveSupported() - Method in class com.google.common.collect.testing.testers.CollectionIteratorTester
- testIterator_unknownOrderRemoveUnsupported() - Method in class com.google.common.collect.testing.testers.CollectionIteratorTester
- TestIteratorGenerator<E> - Interface in com.google.common.collect.testing
-
Creates iterators to be tested.
- testIteratorKnownOrder() - Method in class com.google.common.collect.testing.google.MultisetIteratorTester
- testIteratorNoSuchElementException() - Method in class com.google.common.collect.testing.testers.CollectionIteratorTester
- testIteratorRemove_unsupported() - Method in class com.google.common.collect.testing.testers.CollectionRemoveTester
- testIteratorRemovePropagatesToMultimap() - Method in class com.google.common.collect.testing.google.MultimapEntriesTester
- testIteratorUnknownOrder() - Method in class com.google.common.collect.testing.google.MultisetIteratorTester
- testKeys() - Method in class com.google.common.collect.testing.google.MultimapKeysTester
- testKeysCountAbsentNullKey() - Method in class com.google.common.collect.testing.google.MultimapKeysTester
- testKeysElementSet() - Method in class com.google.common.collect.testing.google.MultimapKeysTester
- testKeysEntrySetIteratorRemove() - Method in class com.google.common.collect.testing.google.MultimapKeysTester
- testKeysEntrySetRemove() - Method in class com.google.common.collect.testing.google.MultimapKeysTester
- testKeySet() - Method in class com.google.common.collect.testing.google.MultimapKeySetTester
- testKeySetClear() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testKeySetClearClearsInverse() - Method in class com.google.common.collect.testing.google.BiMapClearTester
- testKeySetContainsNullKeyAbsent() - Method in class com.google.common.collect.testing.google.MultimapKeySetTester
- testKeySetContainsNullKeyPresent() - Method in class com.google.common.collect.testing.google.MultimapKeySetTester
- testKeySetIteratorRemove() - Method in class com.google.common.collect.testing.google.BiMapRemoveTester
- testKeySetIteratorRemove() - Method in class com.google.common.collect.testing.google.MultimapKeySetTester
- testKeySetRemove() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testKeySetRemoveAll() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testKeySetRemoveAllNullFromEmpty() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testKeySetRemovePropagatesToMultimap() - Method in class com.google.common.collect.testing.google.MultimapKeySetTester
- testKeySetRetainAll() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testKeySetRetainAllNullFromEmpty() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testKeysRemove() - Method in class com.google.common.collect.testing.google.MultimapKeysTester
- testKeysWithNullKey() - Method in class com.google.common.collect.testing.google.MultimapKeysTester
- testLast() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testLast() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testLast() - Method in class com.google.common.collect.testing.testers.SortedMapNavigationTester
- testLast() - Method in class com.google.common.collect.testing.testers.SortedSetNavigationTester
- testLastIndexOf_duplicate() - Method in class com.google.common.collect.testing.testers.ListLastIndexOfTester
- testListenersNotifiedOnError() - Method in class com.google.common.util.concurrent.testing.AbstractListenableFutureTest
- TestListGenerator<E> - Interface in com.google.common.collect.testing
-
Creates sets, containing sample elements, to be tested.
- testListIterator_atSize() - Method in class com.google.common.collect.testing.testers.ListListIteratorTester
- testListIterator_fullyModifiable() - Method in class com.google.common.collect.testing.testers.ListListIteratorTester
- testListIterator_tooHigh() - Method in class com.google.common.collect.testing.testers.ListListIteratorTester
- testListIterator_tooLow() - Method in class com.google.common.collect.testing.testers.ListListIteratorTester
- testListIterator_unmodifiable() - Method in class com.google.common.collect.testing.testers.ListListIteratorTester
- TestListMultimapGenerator<K,V> - Interface in com.google.common.collect.testing.google
-
A generator for
ListMultimap
implementations based on test data. - TestLogHandler - Class in com.google.common.testing
-
Tests may use this to intercept messages that are logged by the code under test.
- TestLogHandler() - Constructor for class com.google.common.testing.TestLogHandler
- testLower() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testLower() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testLower() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testLowerHole() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- TestMapEntrySetGenerator<K,V> - Class in com.google.common.collect.testing
-
Creates map entries using sample keys and sample values.
- TestMapEntrySetGenerator(SampleElements<K>, SampleElements<V>) - Constructor for class com.google.common.collect.testing.TestMapEntrySetGenerator
- TestMapGenerator<K,V> - Interface in com.google.common.collect.testing
-
Creates maps, containing sample elements, to be tested.
- testMethod(Object, Method) - Method in class com.google.common.testing.NullPointerTester
-
Verifies that
method
produces aNullPointerException
orUnsupportedOperationException
whenever any of its non-Nullable
parameters are null. - testMethodParameter(Object, Method, int) - Method in class com.google.common.testing.NullPointerTester
-
Verifies that
method
produces aNullPointerException
orUnsupportedOperationException
when the parameter in positionparamIndex
is null. - TestMultimapGenerator<K,V,M extends Multimap<K,V>> - Interface in com.google.common.collect.testing.google
-
Creates multimaps, containing sample elements, to be tested.
- testMultimapRemoveDeletesFirstOccurrence() - Method in class com.google.common.collect.testing.google.ListMultimapRemoveTester
- TestMultisetGenerator<E> - Interface in com.google.common.collect.testing.google
-
Creates multisets, containing sample elements, to be tested.
- testNotEqualsEmpty() - Method in class com.google.common.collect.testing.google.MultimapEqualsTester
- testNotEqualsEmpty() - Method in class com.google.common.collect.testing.google.MultisetEqualsTester
- testNulls() - Method in class com.google.common.testing.AbstractPackageSanityTests
-
Performs
NullPointerTester
checks for all top-level classes in the package. - testNulls() - Method in class com.google.common.testing.ClassSanityTester.FactoryMethodReturnValueTester
-
Tests null checks against the instance methods of the return values, if any.
- testNulls(Class<?>) - Method in class com.google.common.testing.ClassSanityTester
-
Tests that
cls
properly checks null on all constructor and method parameters that aren't annotated withNullable
. - testOffer_nullSupported() - Method in class com.google.common.collect.testing.testers.QueueOfferTester
- testOffer_nullUnsupported() - Method in class com.google.common.collect.testing.testers.QueueOfferTester
- testOffer_supportedNotPresent() - Method in class com.google.common.collect.testing.testers.QueueOfferTester
- testOrderedByComparator() - Method in class com.google.common.collect.testing.testers.SortedMapNavigationTester
- testOrderingAffectsEqualsComparisons() - Method in class com.google.common.collect.testing.google.ListMultimapEqualsTester
- testOrderingDoesntAffectEqualsComparisons() - Method in class com.google.common.collect.testing.google.SetMultimapEqualsTester
- testPeek_empty() - Method in class com.google.common.collect.testing.testers.QueuePeekTester
- testPeek_size1() - Method in class com.google.common.collect.testing.testers.QueuePeekTester
- testPeek_sizeMany() - Method in class com.google.common.collect.testing.testers.QueuePeekTester
- testPoll_empty() - Method in class com.google.common.collect.testing.testers.QueuePollTester
- testPoll_size1() - Method in class com.google.common.collect.testing.testers.QueuePollTester
- testPoll_sizeMany() - Method in class com.google.common.collect.testing.testers.QueuePollTester
- testPollFirst() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testPollFirst() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testPollFirst() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testPollFirstUnsupported() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testPollFirstUnsupported() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testPollFirstUnsupported() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testPollLast() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testPollLast() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testPollLast() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testPollLastUnsupported() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testPollLastUnsupported() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testPollLastUnsupported() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testPropagatesAddAllToMultimap() - Method in class com.google.common.collect.testing.google.MultimapGetTester
- testPropagatesAddToMultimap() - Method in class com.google.common.collect.testing.google.MultimapAsMapGetTester
- testPropagatesAddToMultimap() - Method in class com.google.common.collect.testing.google.MultimapGetTester
- testPropagatesClearToMultimap() - Method in class com.google.common.collect.testing.google.MultimapAsMapGetTester
- testPropagatesRemoveLastElementToMultimap() - Method in class com.google.common.collect.testing.google.MultimapAsMapGetTester
- testPropagatesRemoveLastElementToMultimap() - Method in class com.google.common.collect.testing.google.MultimapGetTester
- testPropagatesRemoveLastThenAddToMultimap() - Method in class com.google.common.collect.testing.google.MultimapGetTester
- testPropagatesRemoveThenAddToMultimap() - Method in class com.google.common.collect.testing.google.MultimapAsMapGetTester
- testPropagatesRemoveToMultimap() - Method in class com.google.common.collect.testing.google.MultimapAsMapGetTester
- testPropagatesRemoveToMultimap() - Method in class com.google.common.collect.testing.google.MultimapGetTester
- testPut_nullKeyAndValueSupported() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPut_nullKeySupportedNotPresent() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPut_nullKeySupportedPresent() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPut_nullKeyUnsupported() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPut_nullValueSupported() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPut_nullValueUnsupported() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPut_replaceNullValueWithNonNullSupported() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPut_replaceNullValueWithNullSupported() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPut_replaceWithNullValueSupported() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPut_replaceWithNullValueUnsupported() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPut_supportedNotPresent() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPut_supportedPresent() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPut_unsupportedNotPresent() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPut_unsupportedPresentDifferentValue() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPut_unsupportedPresentExistingValue() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPutAbsentConcurrentWithEntrySetIteration() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPutAbsentConcurrentWithKeySetIteration() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPutAbsentConcurrentWithValueIteration() - Method in class com.google.common.collect.testing.testers.MapPutTester
- testPutAddsValueAtEnd() - Method in class com.google.common.collect.testing.google.ListMultimapPutTester
- testPutAll() - Method in class com.google.common.collect.testing.google.MultimapPutAllMultimapTester
- testPutAll_nullCollectionReference() - Method in class com.google.common.collect.testing.testers.MapPutAllTester
- testPutAll_nullKeySupported() - Method in class com.google.common.collect.testing.testers.MapPutAllTester
- testPutAll_nullKeyUnsupported() - Method in class com.google.common.collect.testing.testers.MapPutAllTester
- testPutAll_nullValueSupported() - Method in class com.google.common.collect.testing.testers.MapPutAllTester
- testPutAll_nullValueUnsupported() - Method in class com.google.common.collect.testing.testers.MapPutAllTester
- testPutAll_supportedNonePresent() - Method in class com.google.common.collect.testing.testers.MapPutAllTester
- testPutAll_supportedNothing() - Method in class com.google.common.collect.testing.testers.MapPutAllTester
- testPutAll_supportedSomePresent() - Method in class com.google.common.collect.testing.testers.MapPutAllTester
- testPutAll_unsupportedAllPresent() - Method in class com.google.common.collect.testing.testers.MapPutAllTester
- testPutAll_unsupportedNonePresent() - Method in class com.google.common.collect.testing.testers.MapPutAllTester
- testPutAll_unsupportedNothing() - Method in class com.google.common.collect.testing.testers.MapPutAllTester
- testPutAll_unsupportedSomePresent() - Method in class com.google.common.collect.testing.testers.MapPutAllTester
- testPutAllAddsAtEndInOrder() - Method in class com.google.common.collect.testing.google.ListMultimapPutAllTester
- testPutAllEmptyCollectionOnAbsentKey() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllEmptyIterableOnAbsentKey() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllEmptyIterableOnPresentKey() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllExistingKey() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testPutAllHandlesDuplicates() - Method in class com.google.common.collect.testing.google.SetMultimapPutAllTester
- testPutAllIntoEmpty() - Method in class com.google.common.collect.testing.google.MultimapPutAllMultimapTester
- testPutAllNewKey() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testPutAllNonEmptyCollectionOnAbsentKey() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllNonEmptyCollectionOnPresentKey() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllNonEmptyIterableOnAbsentKey() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllNonEmptyIterableOnPresentKey() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllNullForbidden() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllNullValueNullFirst_unsupported() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllNullValueNullLast_unsupported() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllNullValueOnAbsentKey_supported() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllNullValueOnPresentKey_supported() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllNullValueSingle_unsupported() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllOnlyCallsIteratorOnce() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllOnPresentNullKey() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllPropagatesToGet() - Method in class com.google.common.collect.testing.google.MultimapPutAllMultimapTester
- testPutAllPropagatesToGet() - Method in class com.google.common.collect.testing.google.MultimapPutIterableTester
- testPutAllRejectsNullKey() - Method in class com.google.common.collect.testing.google.MultimapPutAllMultimapTester
- testPutAllRejectsNullValue() - Method in class com.google.common.collect.testing.google.MultimapPutAllMultimapTester
- testPutAllSomePresentConcurrentWithEntrySetIteration() - Method in class com.google.common.collect.testing.testers.MapPutAllTester
- testPutAllWithNullKey() - Method in class com.google.common.collect.testing.google.MultimapPutAllMultimapTester
- testPutAllWithNullValue() - Method in class com.google.common.collect.testing.google.MultimapPutAllMultimapTester
- testPutDuplicateValue() - Method in class com.google.common.collect.testing.google.ListMultimapPutTester
- testPutDuplicateValue() - Method in class com.google.common.collect.testing.google.SetMultimapPutTester
- testPutDuplicateValue_null() - Method in class com.google.common.collect.testing.google.SetMultimapPutTester
- testPutDuplicateValuePreservesSize() - Method in class com.google.common.collect.testing.google.SetMultimapPutTester
- testPutEmpty() - Method in class com.google.common.collect.testing.google.MultimapPutTester
- testPutExistingKey() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testPutIfAbsent_nullKeyUnsupported() - Method in class com.google.common.collect.testing.testers.ConcurrentMapPutIfAbsentTester
- testPutIfAbsent_nullValueUnsupported() - Method in class com.google.common.collect.testing.testers.ConcurrentMapPutIfAbsentTester
- testPutIfAbsent_putWithNullValueUnsupported() - Method in class com.google.common.collect.testing.testers.ConcurrentMapPutIfAbsentTester
- testPutIfAbsent_supportedAbsent() - Method in class com.google.common.collect.testing.testers.ConcurrentMapPutIfAbsentTester
- testPutIfAbsent_supportedPresent() - Method in class com.google.common.collect.testing.testers.ConcurrentMapPutIfAbsentTester
- testPutIfAbsent_unsupportedAbsent() - Method in class com.google.common.collect.testing.testers.ConcurrentMapPutIfAbsentTester
- testPutIfAbsent_unsupportedPresentDifferentValue() - Method in class com.google.common.collect.testing.testers.ConcurrentMapPutIfAbsentTester
- testPutIfAbsent_unsupportedPresentExistingValue() - Method in class com.google.common.collect.testing.testers.ConcurrentMapPutIfAbsentTester
- testPutNewKey() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testPutNotPresentKeyPropagatesToEntries() - Method in class com.google.common.collect.testing.google.MultimapPutTester
- testPutNotPresentKeyPropagatesToGet() - Method in class com.google.common.collect.testing.google.MultimapPutTester
- testPutNullKey() - Method in class com.google.common.collect.testing.google.MultimapPutTester
- testPutNullKey() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testPutNullValue() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testPutNullValue_supported() - Method in class com.google.common.collect.testing.google.MultimapPutTester
- testPutNullValue_unsupported() - Method in class com.google.common.collect.testing.google.MultimapPutTester
- testPutNullValueForExistingKey() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testPutPresent() - Method in class com.google.common.collect.testing.google.MultimapPutTester
- testPutPresentKeyDifferentValue() - Method in class com.google.common.collect.testing.google.BiMapPutTester
- testPutPresentKeyPropagatesToAsMapEntrySet() - Method in class com.google.common.collect.testing.google.MultimapPutTester
- testPutPresentKeyPropagatesToAsMapGet() - Method in class com.google.common.collect.testing.google.MultimapPutTester
- testPutPresentKeyPropagatesToEntries() - Method in class com.google.common.collect.testing.google.MultimapPutTester
- testPutPresentKeyPropagatesToGet() - Method in class com.google.common.collect.testing.google.MultimapPutTester
- testPutTwoElements() - Method in class com.google.common.collect.testing.google.MultimapPutTester
- testPutUnsupported() - Method in class com.google.common.collect.testing.google.MultimapPutAllMultimapTester
- testPutUnsupported() - Method in class com.google.common.collect.testing.google.MultimapPutTester
- testPutWithSameValueFails() - Method in class com.google.common.collect.testing.google.BiMapPutTester
- TestQueueGenerator<E> - Interface in com.google.common.collect.testing
-
Creates queues, containing sample elements, to be tested.
- testReflectsMultimapRemove() - Method in class com.google.common.collect.testing.google.MultimapAsMapGetTester
- testRemove() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testRemove_duplicate() - Method in class com.google.common.collect.testing.testers.ListRemoveTester
- testRemove_empty() - Method in class com.google.common.collect.testing.testers.QueueRemoveTester
- testRemove_notPresent() - Method in class com.google.common.collect.testing.testers.CollectionRemoveTester
- testRemove_notPresent() - Method in class com.google.common.collect.testing.testers.MapRemoveTester
- testRemove_nullAbsent() - Method in class com.google.common.collect.testing.google.MultisetRemoveTester
- testRemove_nullAllowed() - Method in class com.google.common.collect.testing.testers.CollectionRemoveTester
- testRemove_nullForbidden() - Method in class com.google.common.collect.testing.google.MultisetRemoveTester
- testRemove_nullKeyQueriesUnsupported() - Method in class com.google.common.collect.testing.testers.ConcurrentMapRemoveTester
- testRemove_nullNotSupported() - Method in class com.google.common.collect.testing.testers.CollectionRemoveTester
- testRemove_nullPresent() - Method in class com.google.common.collect.testing.google.MultisetRemoveTester
- testRemove_nullPresent() - Method in class com.google.common.collect.testing.testers.CollectionRemoveTester
- testRemove_nullPresent() - Method in class com.google.common.collect.testing.testers.MapRemoveTester
- testRemove_nullQueriesNotSupported() - Method in class com.google.common.collect.testing.testers.MapRemoveTester
- testRemove_nullSupportedMissing() - Method in class com.google.common.collect.testing.testers.MapRemoveTester
- testRemove_nullValueQueriesUnsupported() - Method in class com.google.common.collect.testing.testers.ConcurrentMapRemoveTester
- testRemove_occurrences_0() - Method in class com.google.common.collect.testing.google.MultisetRemoveTester
- testRemove_occurrences_absent() - Method in class com.google.common.collect.testing.google.MultisetRemoveTester
- testRemove_occurrences_negative() - Method in class com.google.common.collect.testing.google.MultisetRemoveTester
- testRemove_occurrences_present() - Method in class com.google.common.collect.testing.google.MultisetRemoveTester
- testRemove_occurrences_unsupported_absent() - Method in class com.google.common.collect.testing.google.MultisetRemoveTester
- testRemove_occurrences_wrongType() - Method in class com.google.common.collect.testing.google.MultisetRemoveTester
- testRemove_present() - Method in class com.google.common.collect.testing.testers.CollectionRemoveTester
- testRemove_present() - Method in class com.google.common.collect.testing.testers.MapRemoveTester
- testRemove_present() - Method in class com.google.common.collect.testing.testers.SetRemoveTester
- testRemove_size1() - Method in class com.google.common.collect.testing.testers.QueueRemoveTester
- testRemove_sizeMany() - Method in class com.google.common.collect.testing.testers.QueueRemoveTester
- testRemove_some_occurrences_present() - Method in class com.google.common.collect.testing.google.MultisetRemoveTester
- testRemove_supportedAbsentKeyAbsentValue() - Method in class com.google.common.collect.testing.testers.ConcurrentMapRemoveTester
- testRemove_supportedPresent() - Method in class com.google.common.collect.testing.testers.ConcurrentMapRemoveTester
- testRemove_supportedPresentKeyWrongValue() - Method in class com.google.common.collect.testing.testers.ConcurrentMapRemoveTester
- testRemove_supportedWrongKeyPresentValue() - Method in class com.google.common.collect.testing.testers.ConcurrentMapRemoveTester
- testRemove_unsupported() - Method in class com.google.common.collect.testing.testers.CollectionRemoveTester
- testRemove_unsupported() - Method in class com.google.common.collect.testing.testers.MapRemoveTester
- testRemove_unsupportedAbsent() - Method in class com.google.common.collect.testing.testers.ConcurrentMapRemoveTester
- testRemove_unsupportedNotPresent() - Method in class com.google.common.collect.testing.testers.CollectionRemoveTester
- testRemove_unsupportedNotPresent() - Method in class com.google.common.collect.testing.testers.MapRemoveTester
- testRemove_unsupportedPresent() - Method in class com.google.common.collect.testing.testers.ConcurrentMapRemoveTester
- testRemove_wrongType() - Method in class com.google.common.collect.testing.testers.CollectionRemoveTester
- testRemove_wrongType() - Method in class com.google.common.collect.testing.testers.MapRemoveTester
- testRemoveAbsent() - Method in class com.google.common.collect.testing.google.MultimapRemoveEntryTester
- testRemoveAll_allPresent() - Method in class com.google.common.collect.testing.testers.CollectionRemoveAllTester
- testRemoveAll_containsNullNo() - Method in class com.google.common.collect.testing.testers.CollectionRemoveAllTester
- testRemoveAll_containsNullNoButAllowed() - Method in class com.google.common.collect.testing.testers.CollectionRemoveAllTester
- testRemoveAll_containsNullYes() - Method in class com.google.common.collect.testing.testers.CollectionRemoveAllTester
- testRemoveAll_containsWrongType() - Method in class com.google.common.collect.testing.testers.CollectionRemoveAllTester
- testRemoveAll_duplicate() - Method in class com.google.common.collect.testing.testers.ListRemoveAllTester
- testRemoveAll_emptyCollection() - Method in class com.google.common.collect.testing.testers.CollectionRemoveAllTester
- testRemoveAll_nonePresent() - Method in class com.google.common.collect.testing.testers.CollectionRemoveAllTester
- testRemoveAll_nullCollectionReferenceEmptySubject() - Method in class com.google.common.collect.testing.testers.CollectionRemoveAllTester
- testRemoveAll_nullCollectionReferenceNonEmptySubject() - Method in class com.google.common.collect.testing.testers.CollectionRemoveAllTester
- testRemoveAll_somePresent() - Method in class com.google.common.collect.testing.testers.CollectionRemoveAllTester
- testRemoveAll_somePresentLargeCollectionToRemove() - Method in class com.google.common.collect.testing.testers.CollectionRemoveAllTester
-
Trigger the other.size() >= this.size() case in AbstractSet.removeAll().
- testRemoveAll_unsupportedEmptyCollection() - Method in class com.google.common.collect.testing.testers.CollectionRemoveAllTester
- testRemoveAll_unsupportedNonePresent() - Method in class com.google.common.collect.testing.testers.CollectionRemoveAllTester
- testRemoveAll_unsupportedPresent() - Method in class com.google.common.collect.testing.testers.CollectionRemoveAllTester
- testRemoveAllAbsentKey() - Method in class com.google.common.collect.testing.google.MultimapRemoveAllTester
- testRemoveAllIgnoresCount() - Method in class com.google.common.collect.testing.google.MultisetRemoveTester
- testRemoveAllMultipleValues() - Method in class com.google.common.collect.testing.google.MultimapRemoveAllTester
- testRemoveAllNullKeyAbsent() - Method in class com.google.common.collect.testing.google.MultimapRemoveAllTester
- testRemoveAllNullKeyPresent() - Method in class com.google.common.collect.testing.google.MultimapRemoveAllTester
- testRemoveAllPresentKey() - Method in class com.google.common.collect.testing.google.MultimapRemoveAllTester
- testRemoveAllPropagatesToGet() - Method in class com.google.common.collect.testing.google.MultimapRemoveAllTester
- testRemoveAllPropagatesToMultimap() - Method in class com.google.common.collect.testing.google.MultimapEntriesTester
- testRemoveAllSomePresentConcurrentWithIteration() - Method in class com.google.common.collect.testing.testers.CollectionRemoveAllTester
- testRemoveAtIndex_first() - Method in class com.google.common.collect.testing.testers.ListRemoveAtIndexTester
- testRemoveAtIndex_last() - Method in class com.google.common.collect.testing.testers.ListRemoveAtIndexTester
- testRemoveAtIndex_middle() - Method in class com.google.common.collect.testing.testers.ListRemoveAtIndexTester
- testRemoveAtIndex_negative() - Method in class com.google.common.collect.testing.testers.ListRemoveAtIndexTester
- testRemoveAtIndex_tooLarge() - Method in class com.google.common.collect.testing.testers.ListRemoveAtIndexTester
- testRemoveAtIndex_unsupported() - Method in class com.google.common.collect.testing.testers.ListRemoveAtIndexTester
- testRemoveAtIndexConcurrentWithIteration() - Method in class com.google.common.collect.testing.testers.ListRemoveAtIndexTester
- testRemoveAtIndexFromAsMapEntrySetPropagates() - Method in class com.google.common.collect.testing.google.ListMultimapRemoveTester
- testRemoveAtIndexFromAsMapPropagates() - Method in class com.google.common.collect.testing.google.ListMultimapRemoveTester
- testRemoveAtIndexFromGetPropagates() - Method in class com.google.common.collect.testing.google.ListMultimapRemoveTester
- testRemoveFromInverseKeySetRemovesFromForward() - Method in class com.google.common.collect.testing.google.BiMapRemoveTester
- testRemoveFromInverseRemovesFromForward() - Method in class com.google.common.collect.testing.google.BiMapRemoveTester
- testRemoveFromInverseValuesRemovesFromInverse() - Method in class com.google.common.collect.testing.google.BiMapRemoveTester
- testRemoveFromValuesRemovesFromInverse() - Method in class com.google.common.collect.testing.google.BiMapRemoveTester
- testRemoveKeyFromKeySetRemovesFromInverse() - Method in class com.google.common.collect.testing.google.BiMapRemoveTester
- testRemoveKeyRemovesFromInverse() - Method in class com.google.common.collect.testing.google.BiMapRemoveTester
- testRemoveMissingKey() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testRemoveNegative() - Method in class com.google.common.collect.testing.google.MultisetRemoveTester
- testRemoveNullKeyAbsent() - Method in class com.google.common.collect.testing.google.MultimapRemoveEntryTester
- testRemoveNullKeyForbidden() - Method in class com.google.common.collect.testing.google.MultimapRemoveEntryTester
- testRemoveNullKeyPresent() - Method in class com.google.common.collect.testing.google.MultimapRemoveEntryTester
- testRemoveNullValue() - Method in class com.google.common.collect.testing.google.MultimapAsMapGetTester
- testRemoveNullValueAbsent() - Method in class com.google.common.collect.testing.google.MultimapRemoveEntryTester
- testRemoveNullValueForbidden() - Method in class com.google.common.collect.testing.google.MultimapRemoveEntryTester
- testRemoveNullValuePresent() - Method in class com.google.common.collect.testing.google.MultimapRemoveEntryTester
- testRemoveOutOfHeadBoundsOne() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testRemoveOutOfHeadBoundsSeveral() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testRemoveOutOfTailBoundsOne() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testRemoveOutOfTailBoundsSeveral() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testRemovePresent() - Method in class com.google.common.collect.testing.google.MultimapRemoveEntryTester
- testRemovePresentConcurrentWithEntrySetIteration() - Method in class com.google.common.collect.testing.testers.MapRemoveTester
- testRemovePresentConcurrentWithIteration() - Method in class com.google.common.collect.testing.testers.CollectionRemoveTester
- testRemovePresentConcurrentWithKeySetIteration() - Method in class com.google.common.collect.testing.testers.MapRemoveTester
- testRemovePresentConcurrentWithValuesIteration() - Method in class com.google.common.collect.testing.testers.MapRemoveTester
- testRemovePropagatesToAsMap() - Method in class com.google.common.collect.testing.google.MultimapRemoveEntryTester
- testRemovePropagatesToAsMapEntrySet() - Method in class com.google.common.collect.testing.google.MultimapRemoveEntryTester
- testRemovePropagatesToGet() - Method in class com.google.common.collect.testing.google.MultimapRemoveEntryTester
- testRemovePropagatesToMultimap() - Method in class com.google.common.collect.testing.google.MultimapEntriesTester
- testRemoveUnsupported() - Method in class com.google.common.collect.testing.google.MultisetRemoveTester
- testRemoveZeroNoOp() - Method in class com.google.common.collect.testing.google.MultisetRemoveTester
- testRemovingIteratorKnownOrder() - Method in class com.google.common.collect.testing.google.MultisetIteratorTester
- testRemovingIteratorUnknownOrder() - Method in class com.google.common.collect.testing.google.MultisetIteratorTester
- testReplace_absentNullKeyUnsupported() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceTester
- testReplace_absentNullValueUnsupported() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceTester
- testReplace_presentNullValueUnsupported() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceTester
- testReplace_supportedAbsent() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceTester
- testReplace_supportedPresent() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceTester
- testReplace_supportedPresentNoChange() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceTester
- testReplace_unsupportedPresent() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceTester
- testReplaceEmptyValues() - Method in class com.google.common.collect.testing.google.MultimapReplaceValuesTester
- testReplaceEntry_absentKeyNullValueUnsupported() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester
- testReplaceEntry_expectNullUnsupported() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester
- testReplaceEntry_nullDifferentFromAbsent() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester
- testReplaceEntry_presentNullValueUnsupported() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester
- testReplaceEntry_supportedAbsentKey() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester
- testReplaceEntry_supportedPresent() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester
- testReplaceEntry_supportedPresentUnchanged() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester
- testReplaceEntry_supportedWrongValue() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester
- testReplaceEntry_unsupportedAbsentKey() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester
- testReplaceEntry_unsupportedPresent() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester
- testReplaceEntry_unsupportedWrongValue() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester
- testReplaceEntry_wrongValueNullValueUnsupported() - Method in class com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester
- testReplaceNonEmptyValues() - Method in class com.google.common.collect.testing.google.MultimapReplaceValuesTester
- testReplaceValuesHandlesDuplicates() - Method in class com.google.common.collect.testing.google.SetMultimapReplaceValuesTester
- testReplaceValuesPreservesOrder() - Method in class com.google.common.collect.testing.google.ListMultimapReplaceValuesTester
- testReplaceValuesPropagatesToGet() - Method in class com.google.common.collect.testing.google.MultimapReplaceValuesTester
- testReplaceValuesPutNotSupported() - Method in class com.google.common.collect.testing.google.MultimapReplaceValuesTester
- testReplaceValuesRemoveNotSupported() - Method in class com.google.common.collect.testing.google.MultimapReplaceValuesTester
- testReplaceValuesWithDuplicates() - Method in class com.google.common.collect.testing.google.MultimapReplaceValuesTester
- testReplaceValuesWithEmpty() - Method in class com.google.common.collect.testing.google.MultimapReplaceValuesTester
- testReplaceValuesWithNullKey() - Method in class com.google.common.collect.testing.google.MultimapReplaceValuesTester
- testReplaceValuesWithNullValue() - Method in class com.google.common.collect.testing.google.MultimapReplaceValuesTester
- testReserialize() - Method in class com.google.common.collect.testing.testers.CollectionSerializationEqualTester
- testReserialize() - Method in class com.google.common.collect.testing.testers.CollectionSerializationTester
- testReserializeEmptySubList() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testReserializeMap() - Method in class com.google.common.collect.testing.testers.MapSerializationTester
- testReserializeSubList() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testReserializeWholeSubList() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testRetainAll_containsDuplicatesSizeOne() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_containsDuplicatesSizeSeveral() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_containsNonNullWithNull() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_countIgnored() - Method in class com.google.common.collect.testing.testers.ListRetainAllTester
- testRetainAll_disjointPreviouslyEmpty() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_disjointPreviouslyEmptyUnsupported() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_disjointPreviouslyNonEmpty() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_disjointPreviouslyNonEmptyUnsupported() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_duplicatesKept() - Method in class com.google.common.collect.testing.testers.ListRetainAllTester
- testRetainAll_duplicatesRemoved() - Method in class com.google.common.collect.testing.testers.ListRetainAllTester
- testRetainAll_emptyPreviouslyEmpty() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_emptyPreviouslyEmptyUnsupported() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_emptyPreviouslyNonEmpty() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_emptyPreviouslyNonEmptyUnsupported() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_nullCollectionReferenceEmptySubject() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_nullCollectionReferenceNonEmptySubject() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_nullSingletonPreviouslyEmpty() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_nullSingletonPreviouslyNonEmpty() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_nullSingletonPreviouslySeveralWithNull() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_nullSingletonPreviouslySingletonWithNull() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_partialOverlap() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_partialOverlapUnsupported() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_sameElements() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_sameElementsUnsupported() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_subset() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_subsetUnsupported() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_superset() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAll_supersetUnsupported() - Method in class com.google.common.collect.testing.testers.CollectionRetainAllTester
- testRetainAllIgnoresCount() - Method in class com.google.common.collect.testing.google.MultisetRemoveTester
- testRetainAllPropagatesToMultimap() - Method in class com.google.common.collect.testing.google.MultimapEntriesTester
- testSerializable() - Method in class com.google.common.testing.AbstractPackageSanityTests
-
Tests all top-level
Serializable
classes in the package. - testSerializable() - Method in class com.google.common.testing.ClassSanityTester.FactoryMethodReturnValueTester
-
Runs serialization test on the return values of the static methods.
- testSet() - Method in class com.google.common.collect.testing.testers.ListSetTester
- testSet_indexTooHigh() - Method in class com.google.common.collect.testing.testers.ListSetTester
- testSet_indexTooLow() - Method in class com.google.common.collect.testing.testers.ListSetTester
- testSet_null() - Method in class com.google.common.collect.testing.testers.ListSetTester
- testSet_nullUnsupported() - Method in class com.google.common.collect.testing.testers.ListSetTester
- testSet_replacingNull() - Method in class com.google.common.collect.testing.testers.ListSetTester
- testSet_unsupported() - Method in class com.google.common.collect.testing.testers.ListSetTester
- testSet_unsupportedByEmptyList() - Method in class com.google.common.collect.testing.testers.ListSetTester
- testSetCount_addNull_nullSupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_addNull_nullUnsupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_existingNoNopNull_nullSupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_negative_removeSupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_negative_removeUnsupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_noOpNull_nullSupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_noOpNull_nullUnsupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_oneToOne_addSupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_oneToOne_removeSupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_oneToOne_unsupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_oneToThree_supported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_oneToThree_unsupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_oneToZero_supported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_oneToZero_unsupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_removeNull_nullSupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_threeToOne_supported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_threeToOne_unsupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_threeToThree_addSupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_threeToThree_removeSupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_threeToThree_unsupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_threeToZero_supported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_threeToZero_unsupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_zeroToOne_supported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_zeroToOne_unsupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_zeroToThree_supported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_zeroToThree_unsupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_zeroToZero_addSupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_zeroToZero_removeSupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCount_zeroToZero_unsupported() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCountConditional_negativeOldCount_addSupported() - Method in class com.google.common.collect.testing.google.MultisetSetCountConditionallyTester
- testSetCountConditional_negativeOldCount_addUnsupported() - Method in class com.google.common.collect.testing.google.MultisetSetCountConditionallyTester
- testSetCountConditional_oldCountTooLarge() - Method in class com.google.common.collect.testing.google.MultisetSetCountConditionallyTester
- testSetCountConditional_oldCountTooSmallNonzero() - Method in class com.google.common.collect.testing.google.MultisetSetCountConditionallyTester
- testSetCountConditional_oldCountTooSmallZero() - Method in class com.google.common.collect.testing.google.MultisetSetCountConditionallyTester
- testSetCountOneToZeroConcurrentWithEntrySetIteration() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCountOneToZeroConcurrentWithIteration() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCountOutOfHeadBoundsOne() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testSetCountOutOfHeadBoundsSeveral() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testSetCountOutOfTailBoundsOne() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testSetCountOutOfTailBoundsSeveral() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testSetCountZeroToOneConcurrentWithEntrySetIteration() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- testSetCountZeroToOneConcurrentWithIteration() - Method in class com.google.common.collect.testing.google.AbstractMultisetSetCountTester
- TestSetGenerator<E> - Interface in com.google.common.collect.testing
-
Creates sets, containing sample elements, to be tested.
- TestSetMultimapGenerator<K,V> - Interface in com.google.common.collect.testing.google
-
A generator for
SetMultimap
implementations based on test data. - testSetValue() - Method in class com.google.common.collect.testing.testers.MapEntrySetTester
- testsForAbstractList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- testsForAbstractSequentialList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- testsForAbstractSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForArrayBlockingQueue() - Method in class com.google.common.collect.testing.TestsForQueuesInJavaUtil
- testsForArrayList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- testsForArraysAsList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- testsForBadlyCollidingHashSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForCheckedList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- testsForCheckedMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testsForCheckedSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForCheckedSortedMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testsForCheckedSortedSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForConcurrentHashMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testsForConcurrentLinkedQueue() - Method in class com.google.common.collect.testing.TestsForQueuesInJavaUtil
- testsForConcurrentSkipListMapNatural() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testsForConcurrentSkipListMapWithComparator() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testsForConcurrentSkipListSetNatural() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForConcurrentSkipListSetWithComparator() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForCopyOnWriteArrayList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- testsForCopyOnWriteArraySet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForEmptyList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- testsForEmptyMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testsForEmptySet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForEnumMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testsForEnumSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForHashMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testsForHashSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForHashtable() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testsForLinkedBlockingQueue() - Method in class com.google.common.collect.testing.TestsForQueuesInJavaUtil
- testsForLinkedHashMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testsForLinkedHashSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForLinkedList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- testsForLinkedList() - Method in class com.google.common.collect.testing.TestsForQueuesInJavaUtil
- TestsForListsInJavaUtil - Class in com.google.common.collect.testing
-
Generates a test suite covering the
List
implementations in thejava.util
package. - TestsForListsInJavaUtil() - Constructor for class com.google.common.collect.testing.TestsForListsInJavaUtil
- TestsForMapsInJavaUtil - Class in com.google.common.collect.testing
-
Generates a test suite covering the
Map
implementations in thejava.util
package. - TestsForMapsInJavaUtil() - Constructor for class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testsForPriorityBlockingQueue() - Method in class com.google.common.collect.testing.TestsForQueuesInJavaUtil
- testsForPriorityQueue() - Method in class com.google.common.collect.testing.TestsForQueuesInJavaUtil
- TestsForQueuesInJavaUtil - Class in com.google.common.collect.testing
-
Generates a test suite covering the
Queue
implementations in thejava.util
package. - TestsForQueuesInJavaUtil() - Constructor for class com.google.common.collect.testing.TestsForQueuesInJavaUtil
- TestsForSetsInJavaUtil - Class in com.google.common.collect.testing
-
Generates a test suite covering the
Set
implementations in thejava.util
package. - TestsForSetsInJavaUtil() - Constructor for class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForSingletonList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- testsForSingletonMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testsForSingletonSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForTreeMapNatural() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testsForTreeMapWithComparator() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testsForTreeSetNatural() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForTreeSetWithComparator() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForUnmodifiableList() - Method in class com.google.common.collect.testing.TestsForListsInJavaUtil
- testsForUnmodifiableMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testsForUnmodifiableSet() - Method in class com.google.common.collect.testing.TestsForSetsInJavaUtil
- testsForUnmodifiableSortedMap() - Method in class com.google.common.collect.testing.TestsForMapsInJavaUtil
- testSingletonMapFirst() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testSingletonMapFirst() - Method in class com.google.common.collect.testing.testers.SortedMapNavigationTester
- testSingletonMapLast() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testSingletonMapLast() - Method in class com.google.common.collect.testing.testers.SortedMapNavigationTester
- testSingletonMapNearby() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testSingletonMapPollFirst() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testSingletonMapPollLast() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testSingletonMultisetFirst() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testSingletonMultisetLast() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testSingletonMultisetNearby() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testSingletonMultisetPollFirst() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testSingletonMultisetPollLast() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testSingletonSetFirst() - Method in class com.google.common.collect.testing.testers.SortedSetNavigationTester
- testSingletonSetLast() - Method in class com.google.common.collect.testing.testers.SortedSetNavigationTester
- testSingletonSetNearby() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testSingletonSetPollFirst() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testSingletonSetPollLast() - Method in class com.google.common.collect.testing.testers.NavigableSetNavigationTester
- testSize() - Method in class com.google.common.collect.testing.google.MultimapSizeTester
- testSize() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testSize() - Method in class com.google.common.collect.testing.testers.CollectionSizeTester
- testSize() - Method in class com.google.common.collect.testing.testers.MapSizeTester
- testSizeMultipleValues() - Method in class com.google.common.collect.testing.google.MultimapSizeTester
- testSizeNullKey() - Method in class com.google.common.collect.testing.google.MultimapSizeTester
- testSizeNullKeyAndValue() - Method in class com.google.common.collect.testing.google.MultimapSizeTester
- testSizeNullValue() - Method in class com.google.common.collect.testing.google.MultimapSizeTester
- testSomethingAboutIterators() - Method in class com.google.common.collect.testing.ExampleIteratorTester
- TestSortedMapGenerator<K,V> - Interface in com.google.common.collect.testing
-
Creates sorted maps, containing sample elements, to be tested.
- TestSortedSetGenerator<E> - Interface in com.google.common.collect.testing
-
Creates sorted sets, containing sample elements, to be tested.
- testStaticMethods(Class<?>, NullPointerTester.Visibility) - Method in class com.google.common.testing.NullPointerTester
-
Runs
NullPointerTester.testMethod(java.lang.Object, java.lang.reflect.Method)
on every static method of classc
that has at leastminimalVisibility
, including those "inherited" from superclasses of the same package. - TestStringBiMapGenerator - Class in com.google.common.collect.testing.google
-
Implementation helper for
TestBiMapGenerator
for use with bimaps of strings. - TestStringBiMapGenerator() - Constructor for class com.google.common.collect.testing.google.TestStringBiMapGenerator
- TestStringCollectionGenerator - Class in com.google.common.collect.testing
-
String creation for testing arbitrary collections.
- TestStringCollectionGenerator() - Constructor for class com.google.common.collect.testing.TestStringCollectionGenerator
- TestStringListGenerator - Class in com.google.common.collect.testing
-
TODO: javadoc.
- TestStringListGenerator() - Constructor for class com.google.common.collect.testing.TestStringListGenerator
- TestStringListMultimapGenerator - Class in com.google.common.collect.testing.google
-
A skeleton generator for a
ListMultimap
implementation. - TestStringListMultimapGenerator() - Constructor for class com.google.common.collect.testing.google.TestStringListMultimapGenerator
- TestStringMapGenerator - Class in com.google.common.collect.testing
-
Implementation helper for
TestMapGenerator
for use with maps of strings. - TestStringMapGenerator() - Constructor for class com.google.common.collect.testing.TestStringMapGenerator
- TestStringMultisetGenerator - Class in com.google.common.collect.testing.google
-
Create multisets of strings for tests.
- TestStringMultisetGenerator() - Constructor for class com.google.common.collect.testing.google.TestStringMultisetGenerator
- TestStringQueueGenerator - Class in com.google.common.collect.testing
-
Create queue of strings for tests.
- TestStringQueueGenerator() - Constructor for class com.google.common.collect.testing.TestStringQueueGenerator
- TestStringSetGenerator - Class in com.google.common.collect.testing
-
Create string sets for collection tests.
- TestStringSetGenerator() - Constructor for class com.google.common.collect.testing.TestStringSetGenerator
- TestStringSetMultimapGenerator - Class in com.google.common.collect.testing.google
-
A skeleton generator for a
SetMultimap
implementation. - TestStringSetMultimapGenerator() - Constructor for class com.google.common.collect.testing.google.TestStringSetMultimapGenerator
- TestStringSortedMapGenerator - Class in com.google.common.collect.testing
-
Implementation helper for
TestMapGenerator
for use with sorted maps of strings. - TestStringSortedMapGenerator() - Constructor for class com.google.common.collect.testing.TestStringSortedMapGenerator
- TestStringSortedSetGenerator - Class in com.google.common.collect.testing
-
Create string sets for testing collections that are sorted by natural ordering.
- TestStringSortedSetGenerator() - Constructor for class com.google.common.collect.testing.TestStringSortedSetGenerator
- TestSubjectGenerator<T> - Interface in com.google.common.collect.testing
-
To be implemented by test generators that can produce test subjects without requiring any parameters.
- testSubList_contains() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_empty() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_endTooLarge() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_entireList() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_get() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_indexOf() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_isEmpty() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_lastIndexOf() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_ofSubListEmpty() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_ofSubListNonEmpty() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_originalListSetAffectsSubList() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_originalListSetAffectsSubListLargeList() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_size() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_startGreaterThanEnd() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_startNegative() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_subListAddAffectsOriginal() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_subListAddAtIndexAffectsOriginalLargeList() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_subListClearAffectsOriginal() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_subListRemoveAffectsOriginal() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_subListRemoveAffectsOriginalLargeList() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_subListSetAffectsOriginal() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubList_subListSetAffectsOriginalLargeList() - Method in class com.google.common.collect.testing.testers.ListSubListTester
- testSubMap() - Method in class com.google.common.collect.testing.testers.SortedMapNavigationTester
- testSubMapIllegal() - Method in class com.google.common.collect.testing.testers.SortedMapNavigationTester
- testTailClosedDistinctElements() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testTailClosedEntrySet() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testTailClosedSize() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testTailMap() - Method in class com.google.common.collect.testing.testers.SortedMapNavigationTester
- testTailMapClearThrough() - Method in class com.google.common.collect.testing.SortedMapInterfaceTest
- testTailMapExclusive() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testTailMapInclusive() - Method in class com.google.common.collect.testing.testers.NavigableMapNavigationTester
- testTailMapInclusive() - Method in class com.google.common.collect.testing.testers.SortedMapNavigationTester
- testTailMapRemoveThrough() - Method in class com.google.common.collect.testing.SortedMapInterfaceTest
- testTailMapWriteThrough() - Method in class com.google.common.collect.testing.SortedMapInterfaceTest
- testTailOpenDistinctElements() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testTailOpenEntrySet() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testTailOpenSize() - Method in class com.google.common.collect.testing.google.MultisetNavigationTester
- testTimeoutOnGetWorksCorrectly() - Method in class com.google.common.util.concurrent.testing.AbstractListenableFutureTest
-
Tests that the
Future.get(long, TimeUnit)
method times out correctly. - testToArray_emptyArray() - Method in class com.google.common.collect.testing.testers.CollectionToArrayTester
- testToArray_emptyArray_ordered() - Method in class com.google.common.collect.testing.testers.CollectionToArrayTester
- testToArray_emptyArrayOfObject() - Method in class com.google.common.collect.testing.testers.CollectionToArrayTester
- testToArray_emptyArrayOfWrongTypeForEmptyCollection() - Method in class com.google.common.collect.testing.testers.CollectionToArrayTester
- testToArray_emptyArrayOfWrongTypeForNonEmptyCollection() - Method in class com.google.common.collect.testing.testers.CollectionToArrayTester
- testToArray_isPlainObjectArray() - Method in class com.google.common.collect.testing.testers.CollectionToArrayTester
-
Collection.toArray(Object[])
says: "Note that toArray(new Object[0]) is identical in function to toArray()." - testToArray_largeEnough() - Method in class com.google.common.collect.testing.testers.ListToArrayTester
- testToArray_noArg() - Method in class com.google.common.collect.testing.testers.ListToArrayTester
- testToArray_noArgs() - Method in class com.google.common.collect.testing.testers.CollectionToArrayTester
- testToArray_oversizedArray() - Method in class com.google.common.collect.testing.testers.CollectionToArrayTester
- testToArray_oversizedArray_ordered() - Method in class com.google.common.collect.testing.testers.CollectionToArrayTester
- testToArray_rightSizedArray() - Method in class com.google.common.collect.testing.testers.CollectionToArrayTester
- testToArray_rightSizedArray_ordered() - Method in class com.google.common.collect.testing.testers.CollectionToArrayTester
- testToArray_rightSizedArrayOfObject() - Method in class com.google.common.collect.testing.testers.CollectionToArrayTester
- testToArray_rightSizedArrayOfObject_ordered() - Method in class com.google.common.collect.testing.testers.CollectionToArrayTester
- testToArray_tooSmall() - Method in class com.google.common.collect.testing.testers.ListToArrayTester
- testToString() - Method in class com.google.common.collect.testing.google.MultisetEntrySetTester
- testToString_formatting() - Method in class com.google.common.collect.testing.testers.MapToStringTester
- testToString_minimal() - Method in class com.google.common.collect.testing.testers.CollectionToStringTester
- testToString_minimal() - Method in class com.google.common.collect.testing.testers.MapToStringTester
- testToString_null() - Method in class com.google.common.collect.testing.testers.CollectionToStringTester
- testToString_size0() - Method in class com.google.common.collect.testing.testers.CollectionToStringTester
- testToString_size0() - Method in class com.google.common.collect.testing.testers.MapToStringTester
- testToString_size1() - Method in class com.google.common.collect.testing.testers.CollectionToStringTester
- testToString_size1() - Method in class com.google.common.collect.testing.testers.MapToStringTester
- testToString_sizeSeveral() - Method in class com.google.common.collect.testing.testers.CollectionToStringTester
- testToStringEmpty() - Method in class com.google.common.collect.testing.google.MultimapToStringTester
- testToStringMatchesAsMap() - Method in class com.google.common.collect.testing.google.MultimapToStringTester
- testToStringSingleton() - Method in class com.google.common.collect.testing.google.MultimapToStringTester
- testToStringWithNullKey() - Method in class com.google.common.collect.testing.google.MultimapToStringTester
- testToStringWithNullKey() - Method in class com.google.common.collect.testing.testers.MapToStringTester
- testToStringWithNullValue() - Method in class com.google.common.collect.testing.google.MultimapToStringTester
- testToStringWithNullValue() - Method in class com.google.common.collect.testing.testers.MapToStringTester
- TestUnhashableCollectionGenerator<T extends java.util.Collection<UnhashableObject>> - Class in com.google.common.collect.testing
-
Creates collections containing unhashable sample elements, to be tested.
- TestUnhashableCollectionGenerator() - Constructor for class com.google.common.collect.testing.TestUnhashableCollectionGenerator
- TestUnhashableSetGenerator() - Constructor for class com.google.common.collect.testing.google.SetGenerators.TestUnhashableSetGenerator
- testValueComparator() - Method in class com.google.common.collect.testing.google.SortedSetMultimapGetTester
- testValues() - Method in class com.google.common.collect.testing.google.MultimapValuesTester
- testValues() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testValuesClear() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testValuesClearClearsInverse() - Method in class com.google.common.collect.testing.google.BiMapClearTester
- testValuesInOrder() - Method in class com.google.common.collect.testing.google.MultimapValuesTester
- testValuesIteratorRemove() - Method in class com.google.common.collect.testing.google.MultimapValuesTester
- testValuesIteratorRemove() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testValuesRemove() - Method in class com.google.common.collect.testing.google.ListMultimapAsMapTester
- testValuesRemove() - Method in class com.google.common.collect.testing.google.SetMultimapAsMapTester
- testValuesRemove() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testValuesRemoveAll() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testValuesRemoveAllNullFromEmpty() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testValuesRemoveMissing() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testValuesRetainAll() - Method in class com.google.common.collect.testing.MapInterfaceTest
- testValuesRetainAllNullFromEmpty() - Method in class com.google.common.collect.testing.MapInterfaceTest
- TEXT_JAVASCRIPT_UTF_8 - Static variable in class com.google.common.net.MediaType
-
RFC 4329 declares
application/javascript
to be the correct media type for JavaScript, but this may be necessary in certain situations for compatibility. - thatReturn(Class<?>) - Method in class com.google.common.testing.ClassSanityTester.FactoryMethodReturnValueTester
-
Specifies that only the methods that are declared to return
returnType
or its subtype are tested. - ThreadFactoryBuilder - Class in com.google.common.util.concurrent
-
A ThreadFactory builder, providing any combination of these features: whether threads should be marked as daemon threads a naming format a thread priority an uncaught exception handler a backing thread factory
- ThreadFactoryBuilder() - Constructor for class com.google.common.util.concurrent.ThreadFactoryBuilder
-
Creates a new
ThreadFactory
builder. - THREE_GPP_VIDEO - Static variable in class com.google.common.net.MediaType
-
Media type for the 3GP multimedia container format.
- THREE_GPP2_VIDEO - Static variable in class com.google.common.net.MediaType
-
Media type for the 3G2 multimedia container format.
- THROW - com.google.common.util.concurrent.CycleDetectingLockFactory.Policies
-
When potential deadlock is detected, this policy results in the throwing of the
PotentialDeadlockException
indicating the potential deadlock, which includes stack traces illustrating the cycle in lock acquisition order. - Throwables - Class in com.google.common.base
-
Static utility methods pertaining to instances of
Throwable
. - throwIfInstanceOf(Throwable, Class<X>) - Static method in class com.google.common.base.Throwables
-
Throws
throwable
if it is an instance ofdeclaredType
. - throwIfUnchecked(Throwable) - Static method in class com.google.common.base.Throwables
-
Throws
throwable
if it is aRuntimeException
orError
. - ticker(Ticker) - Method in class com.google.common.cache.CacheBuilder
-
Specifies a nanosecond-precision time source for this cache.
- Ticker - Class in com.google.common.base
-
A time source; returns a time value representing the number of nanoseconds elapsed since some fixed but arbitrary point in time.
- Ticker() - Constructor for class com.google.common.base.Ticker
-
Constructor for use by subclasses.
- TIFF - Static variable in class com.google.common.net.MediaType
- TimeLimiter - Interface in com.google.common.util.concurrent
-
Produces proxies that impose a time limit on method calls to the proxied object.
- times(UnsignedInteger) - Method in class com.google.common.primitives.UnsignedInteger
-
Returns the result of multiplying this and
val
. - times(UnsignedLong) - Method in class com.google.common.primitives.UnsignedLong
-
Returns the result of multiplying this and
val
. - TIMING_ALLOW_ORIGIN - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Timing-Allow-Origin
header field name. - to(CaseFormat, String) - Method in enum com.google.common.base.CaseFormat
-
Converts the specified
String str
from this format to the specifiedformat
. - toAddrString(InetAddress) - Static method in class com.google.common.net.InetAddresses
-
Returns the string representation of an
InetAddress
. - toArray() - Method in class com.google.common.collect.ConcurrentHashMultiset
- toArray() - Method in class com.google.common.collect.ForwardingCollection
- toArray() - Method in class com.google.common.collect.ImmutableCollection
- toArray() - Method in class com.google.common.collect.MinMaxPriorityQueue
- toArray() - Method in class com.google.common.collect.testing.MinimalCollection
- toArray() - Method in class com.google.common.collect.testing.SafeTreeSet
- toArray() - Method in class com.google.common.escape.CharEscaperBuilder
-
Convert this builder into an array of char[]s where the maximum index is the value of the highest character that has been seen.
- toArray(Class<E>) - Method in class com.google.common.collect.FluentIterable
-
Returns an array containing all of the elements from this fluent iterable in iteration order.
- toArray(Class<V>) - Method in class com.google.common.collect.ArrayTable
-
Returns a two-dimensional array with the table contents.
- toArray(Iterable<? extends T>, Class<T>) - Static method in class com.google.common.collect.Iterables
-
Copies an iterable's elements into an array.
- toArray(Collection<? extends Number>) - Static method in class com.google.common.primitives.Bytes
-
Returns an array containing each value of
collection
, converted to abyte
value in the manner ofNumber.byteValue()
. - toArray(Collection<? extends Number>) - Static method in class com.google.common.primitives.Doubles
-
Returns an array containing each value of
collection
, converted to adouble
value in the manner ofNumber.doubleValue()
. - toArray(Collection<? extends Number>) - Static method in class com.google.common.primitives.Floats
-
Returns an array containing each value of
collection
, converted to afloat
value in the manner ofNumber.floatValue()
. - toArray(Collection<? extends Number>) - Static method in class com.google.common.primitives.Ints
-
Returns an array containing each value of
collection
, converted to aint
value in the manner ofNumber.intValue()
. - toArray(Collection<? extends Number>) - Static method in class com.google.common.primitives.Longs
-
Returns an array containing each value of
collection
, converted to along
value in the manner ofNumber.longValue()
. - toArray(Collection<? extends Number>) - Static method in class com.google.common.primitives.Shorts
-
Returns an array containing each value of
collection
, converted to ashort
value in the manner ofNumber.shortValue()
. - toArray(Collection<Boolean>) - Static method in class com.google.common.primitives.Booleans
-
Copies a collection of
Boolean
instances into a new array of primitiveboolean
values. - toArray(Collection<Character>) - Static method in class com.google.common.primitives.Chars
-
Copies a collection of
Character
instances into a new array of primitivechar
values. - toArray(Iterator<? extends T>, Class<T>) - Static method in class com.google.common.collect.Iterators
-
Copies an iterator's elements into an array.
- toArray(T[]) - Method in class com.google.common.collect.ConcurrentHashMultiset
- toArray(T[]) - Method in class com.google.common.collect.ForwardingCollection
- toArray(T[]) - Method in class com.google.common.collect.ImmutableCollection
- toArray(T[]) - Method in class com.google.common.collect.testing.SafeTreeSet
- toByteArray() - Method in interface com.google.common.io.ByteArrayDataOutput
-
Returns the contents that have been written to this instance, as a byte array.
- toByteArray() - Method in class com.google.common.math.PairedStats
-
Gets a byte array representation of this instance.
- toByteArray() - Method in class com.google.common.math.Stats
-
Gets a byte array representation of this instance.
- toByteArray(char) - Static method in class com.google.common.primitives.Chars
-
Returns a big-endian representation of
value
in a 2-element byte array; equivalent toByteBuffer.allocate(2).putChar(value).array()
. - toByteArray(int) - Static method in class com.google.common.primitives.Ints
-
Returns a big-endian representation of
value
in a 4-element byte array; equivalent toByteBuffer.allocate(4).putInt(value).array()
. - toByteArray(long) - Static method in class com.google.common.primitives.Longs
-
Returns a big-endian representation of
value
in an 8-element byte array; equivalent toByteBuffer.allocate(8).putLong(value).array()
. - toByteArray(short) - Static method in class com.google.common.primitives.Shorts
-
Returns a big-endian representation of
value
in a 2-element byte array; equivalent toByteBuffer.allocate(2).putShort(value).array()
. - toByteArray(File) - Static method in class com.google.common.io.Files
-
Reads all bytes from a file into a byte array.
- toByteArray(InputStream) - Static method in class com.google.common.io.ByteStreams
-
Reads all bytes from an input stream into a byte array.
- toByteArray(URL) - Static method in class com.google.common.io.Resources
-
Reads all bytes from a URL into a byte array.
- toEscaper() - Method in class com.google.common.escape.CharEscaperBuilder
-
Convert this builder into a char escaper which is just a decorator around the underlying array of replacement char[]s.
- toInt(byte) - Static method in class com.google.common.primitives.UnsignedBytes
-
Returns the value of the given byte as an integer, when treated as unsigned.
- toList() - Method in class com.google.common.collect.FluentIterable
-
Returns an
ImmutableList
containing all of the elements from this fluent iterable in proper sequence. - toLong(int) - Static method in class com.google.common.primitives.UnsignedInts
-
Returns the value of the given
int
as along
, when treated as unsigned. - toLowerCase(char) - Static method in class com.google.common.base.Ascii
-
If the argument is an uppercase ASCII character returns the lowercase equivalent.
- toLowerCase(CharSequence) - Static method in class com.google.common.base.Ascii
-
Returns a copy of the input character sequence in which all uppercase ASCII characters have been converted to lowercase.
- toLowerCase(String) - Static method in class com.google.common.base.Ascii
-
Returns a copy of the input string in which all uppercase ASCII characters have been converted to lowercase.
- toMap(Function<? super E, V>) - Method in class com.google.common.collect.FluentIterable
-
Returns an immutable map whose keys are the distinct elements of this
FluentIterable
and whose value for each key was computed byvalueFunction
. - toMap(Iterable<K>, Function<? super K, V>) - Static method in class com.google.common.collect.Maps
-
Returns an immutable map whose keys are the distinct elements of
keys
and whose value for each key was computed byvalueFunction
. - toMap(Iterator<K>, Function<? super K, V>) - Static method in class com.google.common.collect.Maps
-
Returns an immutable map whose keys are the distinct elements of
keys
and whose value for each key was computed byvalueFunction
. - toMultiset() - Method in class com.google.common.collect.FluentIterable
-
Returns an
ImmutableMultiset
containing all of the elements from this fluent iterable. - toParsableString() - Method in class com.google.common.cache.CacheBuilderSpec
-
Returns a string that can be used to parse an equivalent
CacheBuilderSpec
. - topPrivateDomain() - Method in class com.google.common.net.InternetDomainName
-
Returns the portion of this domain name that is one level beneath the public suffix.
- toSet() - Method in class com.google.common.collect.FluentIterable
-
Returns an
ImmutableSet
containing all of the elements from this fluent iterable with duplicates removed. - toSortedList(Comparator<? super E>) - Method in class com.google.common.collect.FluentIterable
-
Returns an
ImmutableList
containing all of the elements from thisFluentIterable
in the order specified bycomparator
. - toSortedSet(Comparator<? super E>) - Method in class com.google.common.collect.FluentIterable
-
Returns an
ImmutableSortedSet
containing all of the elements from thisFluentIterable
in the order specified bycomparator
, with duplicates (determined bycomparator.compare(x, y) == 0
) removed. - toString() - Method in class com.google.common.base.CharMatcher
-
Returns a string representation of this
CharMatcher
, such asCharMatcher.or(WHITESPACE, JAVA_DIGIT)
. - toString() - Method in class com.google.common.base.Equivalence.Wrapper
-
Returns a string representation for this equivalence wrapper.
- toString() - Method in class com.google.common.base.MoreObjects.ToStringHelper
-
Returns a string in the format specified by
MoreObjects.toStringHelper(Object)
. - toString() - Method in class com.google.common.base.Objects.ToStringHelper
-
Deprecated.Returns a string in the format specified by
Objects.toStringHelper(Object)
. - toString() - Method in class com.google.common.base.Optional
-
Returns a string representation for this instance.
- toString() - Method in enum com.google.common.base.StandardSystemProperty
-
Returns a string representation of this system property.
- toString() - Method in class com.google.common.base.Stopwatch
-
Returns a string representation of the current elapsed time.
- toString() - Method in class com.google.common.cache.CacheBuilder
-
Returns a string representation for this CacheBuilder instance.
- toString() - Method in class com.google.common.cache.CacheBuilderSpec
-
Returns a string representation for this CacheBuilderSpec instance.
- toString() - Method in class com.google.common.cache.CacheStats
- toString() - Method in class com.google.common.collect.ContiguousSet
-
Returns a short-hand representation of the contents such as
"[1..100]"
. - toString() - Method in class com.google.common.collect.FluentIterable
-
Returns a string representation of this fluent iterable, with the format
[e1, e2, ..., en]
. - toString() - Method in class com.google.common.collect.ForwardingObject
-
Returns the string representation generated by the delegate's
toString
method. - toString() - Method in class com.google.common.collect.ImmutableMap
- toString() - Method in class com.google.common.collect.ImmutableMultiset
- toString() - Method in class com.google.common.collect.ImmutableRangeMap
- toString() - Method in interface com.google.common.collect.MapConstraint
-
Deprecated.Returns a brief human readable description of this constraint, such as "Not null".
- toString() - Method in class com.google.common.collect.MapMaker
-
Returns a string representation for this MapMaker instance.
- toString() - Method in interface com.google.common.collect.Multiset.Entry
-
Returns the canonical string representation of this entry, defined as follows.
- toString() - Method in interface com.google.common.collect.Multiset
- toString() - Method in class com.google.common.collect.Range
-
Returns a string representation of this range, such as
"[3..5)"
(other examples are listed in the class documentation). - toString() - Method in interface com.google.common.collect.RangeMap
-
Returns a readable string representation of this range map.
- toString() - Method in interface com.google.common.collect.RangeSet
-
Returns a readable string representation of this range set.
- toString() - Method in class com.google.common.collect.testing.features.TesterRequirements
- toString() - Method in class com.google.common.collect.testing.SafeTreeMap
- toString() - Method in class com.google.common.collect.testing.SafeTreeSet
- toString() - Method in class com.google.common.collect.testing.UnhashableObject
- toString() - Method in class com.google.common.collect.TreeRangeMap
- toString() - Method in class com.google.common.eventbus.DeadEvent
- toString() - Method in class com.google.common.eventbus.EventBus
- toString() - Method in class com.google.common.graph.AbstractGraph
-
Returns a string representation of this graph.
- toString() - Method in class com.google.common.graph.AbstractNetwork
-
Returns a string representation of this network.
- toString() - Method in class com.google.common.graph.AbstractValueGraph
-
Returns a string representation of this graph.
- toString() - Method in class com.google.common.graph.ElementOrder
- toString() - Method in class com.google.common.graph.ImmutableValueGraph
- toString() - Method in class com.google.common.hash.HashCode
-
Returns a string containing each byte of
HashCode.asBytes()
, in order, as a two-digit unsigned hexadecimal number in lower case. - toString() - Method in class com.google.common.math.PairedStats
- toString() - Method in class com.google.common.math.Stats
- toString() - Method in class com.google.common.net.HostAndPort
-
Rebuild the host:port string, including brackets if necessary.
- toString() - Method in class com.google.common.net.HostSpecifier
-
Returns a string representation of the host specifier suitable for inclusion in a URI.
- toString() - Method in class com.google.common.net.InternetDomainName
-
Returns the domain name, normalized to all lower case.
- toString() - Method in class com.google.common.net.MediaType
-
Returns the string representation of this media type in the format described in RFC 2045.
- toString() - Method in class com.google.common.primitives.UnsignedInteger
-
Returns a string representation of the
UnsignedInteger
value, in base 10. - toString() - Method in class com.google.common.primitives.UnsignedLong
-
Returns a string representation of the
UnsignedLong
value, in base 10. - toString() - Method in class com.google.common.reflect.AbstractInvocationHandler
-
By default delegates to
Object.toString()
. - toString() - Method in class com.google.common.reflect.ClassPath.ClassInfo
- toString() - Method in class com.google.common.reflect.ClassPath.ResourceInfo
- toString() - Method in class com.google.common.reflect.Parameter
- toString() - Method in class com.google.common.reflect.TypeParameter
- toString() - Method in class com.google.common.reflect.TypeToken
- toString() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
- toString() - Method in class com.google.common.util.concurrent.AbstractIdleService
- toString() - Method in class com.google.common.util.concurrent.AbstractScheduledService
- toString() - Method in class com.google.common.util.concurrent.AbstractService
- toString() - Method in class com.google.common.util.concurrent.AtomicDouble
-
Returns the String representation of the current value.
- toString() - Method in class com.google.common.util.concurrent.AtomicDoubleArray
-
Returns the String representation of the current values of array.
- toString() - Method in class com.google.common.util.concurrent.AtomicLongMap
- toString() - Method in class com.google.common.util.concurrent.RateLimiter
- toString() - Method in class com.google.common.util.concurrent.ServiceManager
- toString(byte) - Static method in class com.google.common.primitives.UnsignedBytes
-
Returns a string representation of x, where x is treated as unsigned.
- toString(byte, int) - Static method in class com.google.common.primitives.UnsignedBytes
-
Returns a string representation of
x
for the given radix, wherex
is treated as unsigned. - toString(int) - Method in class com.google.common.primitives.UnsignedInteger
-
Returns a string representation of the
UnsignedInteger
value, in baseradix
. - toString(int) - Static method in class com.google.common.primitives.UnsignedInts
-
Returns a string representation of x, where x is treated as unsigned.
- toString(int) - Method in class com.google.common.primitives.UnsignedLong
-
Returns a string representation of the
UnsignedLong
value, in baseradix
. - toString(int, int) - Static method in class com.google.common.primitives.UnsignedInts
-
Returns a string representation of
x
for the given radix, wherex
is treated as unsigned. - toString(long) - Static method in class com.google.common.primitives.UnsignedLongs
-
Returns a string representation of x, where x is treated as unsigned.
- toString(long, int) - Static method in class com.google.common.primitives.UnsignedLongs
-
Returns a string representation of
x
for the given radix, wherex
is treated as unsigned. - toString(File, Charset) - Static method in class com.google.common.io.Files
-
Reads all characters from a file into a
String
, using the given character set. - toString(Iterable<?>) - Static method in class com.google.common.collect.Iterables
-
Returns a string representation of
iterable
, with the format[e1, e2, ..., en]
(that is, identical toArrays
.toString(Iterables.toArray(iterable))
). - toString(Readable) - Static method in class com.google.common.io.CharStreams
-
Reads all characters from a
Readable
object into aString
. - toString(URL, Charset) - Static method in class com.google.common.io.Resources
-
Reads all characters from a URL into a
String
, using the given character set. - toString(Iterator<?>) - Static method in class com.google.common.collect.Iterators
-
Returns a string representation of
iterator
, with the format[e1, e2, ..., en]
. - toStringFunction() - Static method in class com.google.common.base.Functions
-
A function equivalent to the method reference
Object::toString
, for users not yet using Java 8. - toStringHelper(Class<?>) - Static method in class com.google.common.base.MoreObjects
-
Creates an instance of
MoreObjects.ToStringHelper
in the same manner asMoreObjects.toStringHelper(Object)
, but using the simple name ofclazz
instead of using an instance'sObject.getClass()
. - toStringHelper(Class<?>) - Static method in class com.google.common.base.Objects
-
Deprecated.Use
MoreObjects.toStringHelper(Class)
instead. This method is scheduled for removal in Guava 21.0. - toStringHelper(Object) - Static method in class com.google.common.base.MoreObjects
-
Creates an instance of
MoreObjects.ToStringHelper
. - toStringHelper(Object) - Static method in class com.google.common.base.Objects
-
Deprecated.Use
MoreObjects.toStringHelper(Object)
instead. This method is scheduled for removal in Guava 21.0. - toStringHelper(String) - Static method in class com.google.common.base.MoreObjects
-
Creates an instance of
MoreObjects.ToStringHelper
in the same manner asMoreObjects.toStringHelper(Object)
, but usingclassName
instead of using an instance'sObject.getClass()
. - toStringHelper(String) - Static method in class com.google.common.base.Objects
-
Deprecated.Use
MoreObjects.toStringHelper(String)
instead. This method is scheduled for removal in Guava 21.0. - totalLoadTime() - Method in class com.google.common.cache.CacheStats
-
Returns the total number of nanoseconds the cache has spent loading new values.
- touch(File) - Static method in class com.google.common.io.Files
-
Creates an empty file or updates the last updated timestamp on the same as the unix command of the same name.
- toUpperCase(char) - Static method in class com.google.common.base.Ascii
-
If the argument is a lowercase ASCII character returns the uppercase equivalent.
- toUpperCase(CharSequence) - Static method in class com.google.common.base.Ascii
-
Returns a copy of the input character sequence in which all lowercase ASCII characters have been converted to uppercase.
- toUpperCase(String) - Static method in class com.google.common.base.Ascii
-
Returns a copy of the input string in which all lowercase ASCII characters have been converted to uppercase.
- toUriString(InetAddress) - Static method in class com.google.common.net.InetAddresses
-
Returns the string representation of an
InetAddress
suitable for inclusion in a URI. - TRAILER - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Trailer
header field name. - TRANSFER_ENCODING - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Transfer-Encoding
header field name. - transform(double) - Method in class com.google.common.math.LinearTransformation
-
Returns the
y
corresponding to the givenx
. - transform(Function<? super E, T>) - Method in class com.google.common.collect.FluentIterable
-
Returns a fluent iterable that applies
function
to each element of this fluent iterable. - transform(Function<? super T, V>) - Method in class com.google.common.base.Optional
-
If the instance is present, it is transformed with the given
Function
; otherwise,Optional.absent()
is returned. - transform(ListenableFuture<I>, Function<? super I, ? extends O>) - Static method in class com.google.common.util.concurrent.Futures
-
Returns a new
Future
whose result is derived from the result of the givenFuture
. - transform(ListenableFuture<I>, Function<? super I, ? extends O>, Executor) - Static method in class com.google.common.util.concurrent.Futures
-
Returns a new
Future
whose result is derived from the result of the givenFuture
. - transform(Iterable<F>, Function<? super F, ? extends T>) - Static method in class com.google.common.collect.Iterables
-
Returns a view containing the result of applying
function
to each element offromIterable
. - transform(Collection<F>, Function<? super F, T>) - Static method in class com.google.common.collect.Collections2
-
Returns a collection that applies
function
to each element offromCollection
. - transform(Iterator<F>, Function<? super F, ? extends T>) - Static method in class com.google.common.collect.Iterators
-
Returns a view containing the result of applying
function
to each element offromIterator
. - transform(List<F>, Function<? super F, ? extends T>) - Static method in class com.google.common.collect.Lists
-
Returns a list that applies
function
to each element offromList
. - transformAndConcat(Function<? super E, ? extends Iterable<? extends T>>) - Method in class com.google.common.collect.FluentIterable
-
Applies
function
to each element of this fluent iterable and returns a fluent iterable with the concatenated combination of results. - transformAsync(ListenableFuture<I>, AsyncFunction<? super I, ? extends O>) - Static method in class com.google.common.util.concurrent.Futures
-
Returns a new
Future
whose result is asynchronously derived from the result of the givenFuture
. - transformAsync(ListenableFuture<I>, AsyncFunction<? super I, ? extends O>, Executor) - Static method in class com.google.common.util.concurrent.Futures
-
Returns a new
Future
whose result is asynchronously derived from the result of the givenFuture
. - transformEntries(ListMultimap<K, V1>, Maps.EntryTransformer<? super K, ? super V1, V2>) - Static method in class com.google.common.collect.Multimaps
-
Returns a view of a
ListMultimap
whose values are derived from the original multimap's entries. - transformEntries(Multimap<K, V1>, Maps.EntryTransformer<? super K, ? super V1, V2>) - Static method in class com.google.common.collect.Multimaps
-
Returns a view of a multimap whose values are derived from the original multimap's entries.
- transformEntries(Map<K, V1>, Maps.EntryTransformer<? super K, ? super V1, V2>) - Static method in class com.google.common.collect.Maps
-
Returns a view of a map whose values are derived from the original map's entries.
- transformEntries(NavigableMap<K, V1>, Maps.EntryTransformer<? super K, ? super V1, V2>) - Static method in class com.google.common.collect.Maps
-
Returns a view of a navigable map whose values are derived from the original navigable map's entries.
- transformEntries(SortedMap<K, V1>, Maps.EntryTransformer<? super K, ? super V1, V2>) - Static method in class com.google.common.collect.Maps
-
Returns a view of a sorted map whose values are derived from the original sorted map's entries.
- transformEntry(K, V1) - Method in interface com.google.common.collect.Maps.EntryTransformer
-
Determines an output value based on a key-value pair.
- transformValues(ListMultimap<K, V1>, Function<? super V1, V2>) - Static method in class com.google.common.collect.Multimaps
-
Returns a view of a
ListMultimap
where each value is transformed by a function. - transformValues(Multimap<K, V1>, Function<? super V1, V2>) - Static method in class com.google.common.collect.Multimaps
-
Returns a view of a multimap where each value is transformed by a function.
- transformValues(Table<R, C, V1>, Function<? super V1, V2>) - Static method in class com.google.common.collect.Tables
-
Returns a view of a table where each value is transformed by a function.
- transformValues(Map<K, V1>, Function<? super V1, V2>) - Static method in class com.google.common.collect.Maps
-
Returns a view of a map where each value is transformed by a function.
- transformValues(NavigableMap<K, V1>, Function<? super V1, V2>) - Static method in class com.google.common.collect.Maps
-
Returns a view of a navigable map where each value is transformed by a function.
- transformValues(SortedMap<K, V1>, Function<? super V1, V2>) - Static method in class com.google.common.collect.Maps
-
Returns a view of a sorted map where each value is transformed by a function.
- transitiveClosure(Graph<N>) - Static method in class com.google.common.graph.Graphs
-
Returns the transitive closure of
graph
. - transpose(Table<R, C, V>) - Static method in class com.google.common.collect.Tables
-
Creates a transposed view of a given table that flips its row and column keys.
- transpose(Graph<N>) - Static method in class com.google.common.graph.Graphs
-
Returns a view of
graph
with the direction (if any) of every edge reversed. - transpose(Network<N, E>) - Static method in class com.google.common.graph.Graphs
-
Returns a view of
network
with the direction (if any) of every edge reversed. - transpose(ValueGraph<N, V>) - Static method in class com.google.common.graph.Graphs
-
Returns a view of
graph
with the direction (if any) of every edge reversed. - TreeBasedTable<R,C,V> - Class in com.google.common.collect
-
Implementation of
Table
whose row keys and column keys are ordered by their natural ordering or by supplied comparators. - treeKeys() - Static method in class com.google.common.collect.MultimapBuilder
-
Uses a naturally-ordered
TreeMap
to map keys to value collections. - treeKeys(Comparator<K0>) - Static method in class com.google.common.collect.MultimapBuilder
-
Uses a
TreeMap
sorted by the specified comparator to map keys to value collections. - TreeMultimap<K,V> - Class in com.google.common.collect
-
Implementation of
Multimap
whose keys and values are ordered by their natural ordering or by supplied comparators. - TreeMultiset<E> - Class in com.google.common.collect
-
A multiset which maintains the ordering of its elements, according to either their natural order or an explicit
Comparator
. - TreeRangeMap<K extends java.lang.Comparable,V> - Class in com.google.common.collect
-
An implementation of
RangeMap
based on aTreeMap
, supporting all optional operations. - TreeRangeSet<C extends java.lang.Comparable<?>> - Class in com.google.common.collect
-
An implementation of
RangeSet
backed by aTreeMap
. - treeSetValues() - Method in class com.google.common.collect.MultimapBuilder.MultimapBuilderWithKeys
-
Uses a naturally-ordered
TreeSet
to store value collections. - treeSetValues(Comparator<V0>) - Method in class com.google.common.collect.MultimapBuilder.MultimapBuilderWithKeys
-
Uses a
TreeSet
ordered by the specified comparator to store value collections. - TreeTraverser<T> - Class in com.google.common.collect
-
Views elements of a type
T
as nodes in a tree, and provides methods to traverse the trees induced by this traverser. - TreeTraverser() - Constructor for class com.google.common.collect.TreeTraverser
- triggerShutdown() - Method in class com.google.common.util.concurrent.AbstractExecutionThreadService
-
Invoked to request the service to stop.
- trimAndCollapseFrom(CharSequence, char) - Method in class com.google.common.base.CharMatcher
-
Collapses groups of matching characters exactly as
CharMatcher.collapseFrom(java.lang.CharSequence, char)
does, except that groups of matching characters at the start or end of the sequence are removed without replacement. - trimFrom(CharSequence) - Method in class com.google.common.base.CharMatcher
-
Returns a substring of the input character sequence that omits all characters this matcher matches from the beginning and from the end of the string.
- trimLeadingFrom(CharSequence) - Method in class com.google.common.base.CharMatcher
-
Returns a substring of the input character sequence that omits all characters this matcher matches from the beginning of the string.
- trimResults() - Method in class com.google.common.base.Splitter
-
Returns a splitter that behaves equivalently to
this
splitter, but automatically removes leading and trailing whitespace from each returned substring; equivalent totrimResults(CharMatcher.whitespace())
. - trimResults(CharMatcher) - Method in class com.google.common.base.Splitter
-
Returns a splitter that behaves equivalently to
this
splitter, but removes all leading or trailing characters matching the givenCharMatcher
from each returned substring. - trimToSize() - Method in class com.google.common.collect.ArrayListMultimap
-
Reduces the memory used by this
ArrayListMultimap
, if feasible. - trimTrailingFrom(CharSequence) - Method in class com.google.common.base.CharMatcher
-
Returns a substring of the input character sequence that omits all characters this matcher matches from the end of the string.
- truncate(CharSequence, int, String) - Static method in class com.google.common.base.Ascii
-
Truncates the given character sequence to the given maximum length.
- tryAcquire() - Method in class com.google.common.util.concurrent.RateLimiter
-
Acquires a permit from this
RateLimiter
if it can be acquired immediately without delay. - tryAcquire(int) - Method in class com.google.common.util.concurrent.RateLimiter
-
Acquires permits from this
RateLimiter
if it can be acquired immediately without delay. - tryAcquire(int, long, TimeUnit) - Method in class com.google.common.util.concurrent.RateLimiter
-
Acquires the given number of permits from this
RateLimiter
if it can be obtained without exceeding the specifiedtimeout
, or returnsfalse
immediately (without waiting) if the permits would not have been granted before the timeout expired. - tryAcquire(long, TimeUnit) - Method in class com.google.common.util.concurrent.RateLimiter
-
Acquires a permit from this
RateLimiter
if it can be obtained without exceeding the specifiedtimeout
, or returnsfalse
immediately (without waiting) if the permit would not have been granted before the timeout expired. - tryAcquireUninterruptibly(Semaphore, int, long, TimeUnit) - Static method in class com.google.common.util.concurrent.Uninterruptibles
-
Invokes
semaphore.
tryAcquire(permits, timeout, unit)
uninterruptibly. - tryAcquireUninterruptibly(Semaphore, long, TimeUnit) - Static method in class com.google.common.util.concurrent.Uninterruptibles
-
Invokes
semaphore.
tryAcquire(1, timeout, unit)
uninterruptibly. - tryEnter() - Method in class com.google.common.util.concurrent.Monitor
-
Enters this monitor if it is possible to do so immediately.
- tryEnterIf(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
-
Enters this monitor if it is possible to do so immediately and the guard is satisfied.
- tryFind(Iterable<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterables
-
Returns an
Optional
containing the first element initerable
that satisfies the given predicate, if such an element exists. - tryFind(Iterator<T>, Predicate<? super T>) - Static method in class com.google.common.collect.Iterators
-
Returns an
Optional
containing the first element initerator
that satisfies the given predicate, if such an element exists. - tryParse(String) - Static method in class com.google.common.primitives.Doubles
-
Parses the specified string as a double-precision floating point value.
- tryParse(String) - Static method in class com.google.common.primitives.Floats
-
Parses the specified string as a single-precision floating point value.
- tryParse(String) - Static method in class com.google.common.primitives.Ints
-
Parses the specified string as a signed decimal integer value.
- tryParse(String) - Static method in class com.google.common.primitives.Longs
-
Parses the specified string as a signed decimal long value.
- tryParse(String, int) - Static method in class com.google.common.primitives.Ints
-
Parses the specified string as a signed integer value using the specified radix.
- tryParse(String, int) - Static method in class com.google.common.primitives.Longs
-
Parses the specified string as a signed long value using the specified radix.
- TSV_UTF_8 - Static variable in class com.google.common.net.MediaType
- type() - Method in class com.google.common.graph.ElementOrder
-
Returns the type of ordering used.
- type() - Method in class com.google.common.net.MediaType
-
Returns the top-level media type.
- TypeParameter<T> - Class in com.google.common.reflect
-
Captures a free type variable that can be used in
TypeToken.where(com.google.common.reflect.TypeParameter<X>, com.google.common.reflect.TypeToken<X>)
. - TypeParameter() - Constructor for class com.google.common.reflect.TypeParameter
- TypeResolver - Class in com.google.common.reflect
-
An object of this class encapsulates type mappings from type variables.
- TypeResolver() - Constructor for class com.google.common.reflect.TypeResolver
- TypeToInstanceMap<B> - Interface in com.google.common.reflect
-
A map, each entry of which maps a
TypeToken
to an instance of that type. - TypeToken<T> - Class in com.google.common.reflect
-
A
Type
with generics. - TypeToken() - Constructor for class com.google.common.reflect.TypeToken
-
Constructs a new type token of
T
. - TypeToken(Class<?>) - Constructor for class com.google.common.reflect.TypeToken
-
Constructs a new type token of
T
while resolving free type variables in the context ofdeclaringClass
. - TypeToken.TypeSet - Class in com.google.common.reflect
-
The set of interfaces and classes that
T
is or is a subtype of.
U
- UncaughtExceptionHandlers - Class in com.google.common.util.concurrent
-
Factories for
Thread.UncaughtExceptionHandler
instances. - UncheckedExecutionException - Exception in com.google.common.util.concurrent
-
Unchecked variant of
ExecutionException
. - UncheckedExecutionException() - Constructor for exception com.google.common.util.concurrent.UncheckedExecutionException
-
Creates a new instance with
null
as its detail message. - UncheckedExecutionException(String) - Constructor for exception com.google.common.util.concurrent.UncheckedExecutionException
-
Creates a new instance with the given detail message.
- UncheckedExecutionException(String, Throwable) - Constructor for exception com.google.common.util.concurrent.UncheckedExecutionException
-
Creates a new instance with the given detail message and cause.
- UncheckedExecutionException(Throwable) - Constructor for exception com.google.common.util.concurrent.UncheckedExecutionException
-
Creates a new instance with the given cause.
- UncheckedTimeoutException - Exception in com.google.common.util.concurrent
-
Unchecked version of
TimeoutException
. - UncheckedTimeoutException() - Constructor for exception com.google.common.util.concurrent.UncheckedTimeoutException
- UncheckedTimeoutException(String) - Constructor for exception com.google.common.util.concurrent.UncheckedTimeoutException
- UncheckedTimeoutException(String, Throwable) - Constructor for exception com.google.common.util.concurrent.UncheckedTimeoutException
- UncheckedTimeoutException(Throwable) - Constructor for exception com.google.common.util.concurrent.UncheckedTimeoutException
- UNDER - Static variable in class com.google.thirdparty.publicsuffix.PublicSuffixPatterns
-
If a hostname is not a key in the EXCLUDE map, and if removing its leftmost component results in a name which is a key in this map, it is a public suffix.
- UNDERSCORE_IN_NAME - Static variable in class com.google.common.testing.AbstractPackageSanityTests
-
A predicate that matches classes with an underscore in the class name.
- undirected() - Static method in class com.google.common.graph.GraphBuilder
-
Returns a
GraphBuilder
for building undirected graphs. - undirected() - Static method in class com.google.common.graph.NetworkBuilder
-
Returns a
NetworkBuilder
for building undirected networks. - undirected() - Static method in class com.google.common.graph.ValueGraphBuilder
-
Returns a
ValueGraphBuilder
for building undirected graphs. - unencodedCharsFunnel() - Static method in class com.google.common.hash.Funnels
-
Returns a funnel that extracts the characters from a
CharSequence
, a character at a time, without performing any encoding. - UnhashableElementsImmutableListGenerator() - Constructor for class com.google.common.collect.testing.google.ListGenerators.UnhashableElementsImmutableListGenerator
- UnhashableObject - Class in com.google.common.collect.testing
-
An unhashable object to be used in testing as values in our collections.
- UnhashableObject(int) - Constructor for class com.google.common.collect.testing.UnhashableObject
- Unhashables() - Constructor for class com.google.common.collect.testing.SampleElements.Unhashables
- UnicodeEscaper - Class in com.google.common.escape
-
An
Escaper
that converts literal text into a format safe for inclusion in a particular context (such as an XML document). - UnicodeEscaper() - Constructor for class com.google.common.escape.UnicodeEscaper
-
Constructor for use by subclasses.
- Uninterruptibles - Class in com.google.common.util.concurrent
-
Utilities for treating interruptible operations as uninterruptible.
- union(Multiset<? extends E>, Multiset<? extends E>) - Static method in class com.google.common.collect.Multisets
-
Returns an unmodifiable view of the union of two multisets.
- union(Set<? extends E>, Set<? extends E>) - Static method in class com.google.common.collect.Sets
-
Returns an unmodifiable view of the union of two sets.
- uniqueIndex(Function<? super E, K>) - Method in class com.google.common.collect.FluentIterable
-
Returns a map with the contents of this
FluentIterable
as itsvalues
, indexed by keys derived from those values. - uniqueIndex(Iterable<V>, Function<? super V, K>) - Static method in class com.google.common.collect.Maps
-
Returns a map with the given
values
, indexed by keys derived from those values. - uniqueIndex(Iterator<V>, Function<? super V, K>) - Static method in class com.google.common.collect.Maps
-
Returns a map with the given
values
, indexed by keys derived from those values. - UNMODIFIABLE - Static variable in enum com.google.common.collect.testing.IteratorFeature
-
A set containing none of the optional features of the
Iterator
orListIterator
interfaces. - unmodifiableBiMap(BiMap<? extends K, ? extends V>) - Static method in class com.google.common.collect.Maps
-
Returns an unmodifiable view of the specified bimap.
- UnmodifiableCollectionTests - Class in com.google.common.collect.testing.google
-
A series of tests that support asserting that collections cannot be modified, either through direct or indirect means.
- UnmodifiableCollectionTests() - Constructor for class com.google.common.collect.testing.google.UnmodifiableCollectionTests
- unmodifiableIterable(ImmutableCollection<E>) - Static method in class com.google.common.collect.Iterables
-
Deprecated.no need to use this
- unmodifiableIterable(Iterable<? extends T>) - Static method in class com.google.common.collect.Iterables
-
Returns an unmodifiable view of
iterable
. - unmodifiableIterator(UnmodifiableIterator<T>) - Static method in class com.google.common.collect.Iterators
-
Deprecated.no need to use this
- unmodifiableIterator(Iterator<? extends T>) - Static method in class com.google.common.collect.Iterators
-
Returns an unmodifiable view of
iterator
. - UnmodifiableIterator<E> - Class in com.google.common.collect
-
An iterator that does not support
UnmodifiableIterator.remove()
. - UnmodifiableIterator() - Constructor for class com.google.common.collect.UnmodifiableIterator
-
Constructor for use by subclasses.
- UnmodifiableListIterator<E> - Class in com.google.common.collect
-
A list iterator that does not support
UnmodifiableIterator.remove()
,UnmodifiableListIterator.add(E)
, orUnmodifiableListIterator.set(E)
. - UnmodifiableListIterator() - Constructor for class com.google.common.collect.UnmodifiableListIterator
-
Constructor for use by subclasses.
- unmodifiableListMultimap(ImmutableListMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
-
Deprecated.no need to use this
- unmodifiableListMultimap(ListMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
-
Returns an unmodifiable view of the specified
ListMultimap
. - unmodifiableMultimap(ImmutableMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
-
Deprecated.no need to use this
- unmodifiableMultimap(Multimap<K, V>) - Static method in class com.google.common.collect.Multimaps
-
Returns an unmodifiable view of the specified multimap.
- unmodifiableMultiset(ImmutableMultiset<E>) - Static method in class com.google.common.collect.Multisets
-
Deprecated.no need to use this
- unmodifiableMultiset(Multiset<? extends E>) - Static method in class com.google.common.collect.Multisets
-
Returns an unmodifiable view of the specified multiset.
- unmodifiableNavigableMap(NavigableMap<K, ? extends V>) - Static method in class com.google.common.collect.Maps
-
Returns an unmodifiable view of the specified navigable map.
- unmodifiableNavigableSet(NavigableSet<E>) - Static method in class com.google.common.collect.Sets
-
Returns an unmodifiable view of the specified navigable set.
- unmodifiableRowSortedTable(RowSortedTable<R, ? extends C, ? extends V>) - Static method in class com.google.common.collect.Tables
-
Returns an unmodifiable view of the specified row-sorted table.
- unmodifiableSetMultimap(ImmutableSetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
-
Deprecated.no need to use this
- unmodifiableSetMultimap(SetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
-
Returns an unmodifiable view of the specified
SetMultimap
. - unmodifiableSortedMultiset(SortedMultiset<E>) - Static method in class com.google.common.collect.Multisets
-
Returns an unmodifiable view of the specified sorted multiset.
- unmodifiableSortedSetMultimap(SortedSetMultimap<K, V>) - Static method in class com.google.common.collect.Multimaps
-
Returns an unmodifiable view of the specified
SortedSetMultimap
. - unmodifiableTable(Table<? extends R, ? extends C, ? extends V>) - Static method in class com.google.common.collect.Tables
-
Returns an unmodifiable view of the specified table.
- unordered() - Static method in class com.google.common.graph.ElementOrder
-
Returns an instance which specifies that no ordering is guaranteed.
- unordered(N, N) - Static method in class com.google.common.graph.EndpointPair
-
Returns an
EndpointPair
representing the endpoints of an undirected edge. - UNORDERED - com.google.common.graph.ElementOrder.Type
- unregister(Object) - Method in class com.google.common.eventbus.EventBus
-
Unregisters all subscriber methods on a registered
object
. - UnsignedBytes - Class in com.google.common.primitives
-
Static utility methods pertaining to
byte
primitives that interpret values as unsigned (that is, any negative valueb
is treated as the positive value256 + b
). - UnsignedInteger - Class in com.google.common.primitives
-
A wrapper class for unsigned
int
values, supporting arithmetic operations. - UnsignedInts - Class in com.google.common.primitives
-
Static utility methods pertaining to
int
primitives that interpret values as unsigned (that is, any negative valuex
is treated as the positive value2^32 + x
). - UnsignedLong - Class in com.google.common.primitives
-
A wrapper class for unsigned
long
values, supporting arithmetic operations. - UnsignedLongs - Class in com.google.common.primitives
-
Static utility methods pertaining to
long
primitives that interpret values as unsigned (that is, any negative valuex
is treated as the positive value2^64 + x
). - unwrap() - Method in class com.google.common.reflect.TypeToken
-
Returns the corresponding primitive type if this is a wrapper type; otherwise returns
this
itself. - unwrap(Class<T>) - Static method in class com.google.common.primitives.Primitives
-
Returns the corresponding primitive type of
type
if it is a wrapper type; otherwise returnstype
itself. - UPGRADE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Upgrade
header field name. - UPPER_CAMEL - com.google.common.base.CaseFormat
-
Java and C++ class naming convention, e.g., "UpperCamel".
- UPPER_UNDERSCORE - com.google.common.base.CaseFormat
-
Java and C++ constant naming convention, e.g., "UPPER_UNDERSCORE".
- upperBoundType() - Method in class com.google.common.collect.Range
-
Returns the type of this range's upper bound:
BoundType.CLOSED
if the range includes its upper endpoint,BoundType.OPEN
if it does not. - upperCase() - Method in class com.google.common.io.BaseEncoding
-
Returns an encoding that behaves equivalently to this encoding, but encodes and decodes with uppercase letters.
- upperEndpoint() - Method in class com.google.common.collect.Range
-
Returns the upper endpoint of this range.
- upTo(C, BoundType) - Static method in class com.google.common.collect.Range
-
Returns a range with no lower bound up to the given endpoint, which may be either inclusive (closed) or exclusive (open).
- url() - Method in class com.google.common.reflect.ClassPath.ResourceInfo
-
Returns the url identifying the resource.
- UrlEscapers - Class in com.google.common.net
-
Escaper
instances suitable for strings to be included in particular sections of URLs. - urlFormParameterEscaper() - Static method in class com.google.common.net.UrlEscapers
-
Returns an
Escaper
instance that escapes strings so they can be safely included in URL form parameter names and values. - urlFragmentEscaper() - Static method in class com.google.common.net.UrlEscapers
-
Returns an
Escaper
instance that escapes strings so they can be safely included in a URL fragment. - urlPathSegmentEscaper() - Static method in class com.google.common.net.UrlEscapers
-
Returns an
Escaper
instance that escapes strings so they can be safely included in URL path segments. - US - Static variable in class com.google.common.base.Ascii
-
Unit Separator: These four information separators may be used within data in optional fashion, except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then RS, and US is least inclusive.
- US_ASCII - Static variable in class com.google.common.base.Charsets
-
US-ASCII: seven-bit ASCII, the Basic Latin block of the Unicode character set (ISO646-US).
- useForNull(String) - Method in class com.google.common.base.Joiner.MapJoiner
-
Returns a map joiner with the same behavior as this one, except automatically substituting
nullText
for any provided null keys or values. - useForNull(String) - Method in class com.google.common.base.Joiner
-
Returns a joiner with the same behavior as this one, except automatically substituting
nullText
for any provided null elements. - USER_AGENT - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
User-Agent
header field name. - USER_DIR - com.google.common.base.StandardSystemProperty
-
User's current working directory.
- USER_HOME - com.google.common.base.StandardSystemProperty
-
User's home directory.
- USER_NAME - com.google.common.base.StandardSystemProperty
-
User's account name.
- using(Function<T, ? extends Iterable<T>>) - Static method in class com.google.common.collect.TreeTraverser
-
Returns a tree traverser that uses the given function to navigate from a node to its children.
- using(TestBiMapGenerator<K, V>) - Static method in class com.google.common.collect.testing.google.BiMapTestSuiteBuilder
- using(TestListMultimapGenerator<K, V>) - Static method in class com.google.common.collect.testing.google.ListMultimapTestSuiteBuilder
- using(TestMultimapGenerator<K, V, M>) - Static method in class com.google.common.collect.testing.google.MultimapTestSuiteBuilder
- using(TestMultisetGenerator<E>) - Static method in class com.google.common.collect.testing.google.MultisetTestSuiteBuilder
- using(TestMultisetGenerator<E>) - Static method in class com.google.common.collect.testing.google.SortedMultisetTestSuiteBuilder
- using(TestSetMultimapGenerator<K, V>) - Static method in class com.google.common.collect.testing.google.SetMultimapTestSuiteBuilder
- using(TestSetMultimapGenerator<K, V>) - Static method in class com.google.common.collect.testing.google.SortedSetMultimapTestSuiteBuilder
- using(TestCollectionGenerator<E>) - Static method in class com.google.common.collect.testing.CollectionTestSuiteBuilder
- using(TestListGenerator<E>) - Static method in class com.google.common.collect.testing.ListTestSuiteBuilder
- using(TestMapGenerator<K, V>) - Static method in class com.google.common.collect.testing.ConcurrentMapTestSuiteBuilder
- using(TestMapGenerator<K, V>) - Static method in class com.google.common.collect.testing.MapTestSuiteBuilder
- using(TestQueueGenerator<E>) - Static method in class com.google.common.collect.testing.QueueTestSuiteBuilder
- using(TestSetGenerator<E>) - Static method in class com.google.common.collect.testing.SetTestSuiteBuilder
- using(TestSortedMapGenerator<K, V>) - Static method in class com.google.common.collect.testing.ConcurrentNavigableMapTestSuiteBuilder
- using(TestSortedMapGenerator<K, V>) - Static method in class com.google.common.collect.testing.NavigableMapTestSuiteBuilder
- using(TestSortedMapGenerator<K, V>) - Static method in class com.google.common.collect.testing.SortedMapTestSuiteBuilder
- using(TestSortedSetGenerator<E>) - Static method in class com.google.common.collect.testing.NavigableSetTestSuiteBuilder
- using(TestSortedSetGenerator<E>) - Static method in class com.google.common.collect.testing.SortedSetTestSuiteBuilder
- usingGenerator(G) - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- usingToString() - Static method in class com.google.common.collect.Ordering
-
Returns an ordering that compares objects by the natural ordering of their string representations as returned by
toString()
. - UTF_16 - Static variable in class com.google.common.base.Charsets
-
UTF-16: sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order mark.
- UTF_16BE - Static variable in class com.google.common.base.Charsets
-
UTF-16BE: sixteen-bit UCS Transformation Format, big-endian byte order.
- UTF_16LE - Static variable in class com.google.common.base.Charsets
-
UTF-16LE: sixteen-bit UCS Transformation Format, little-endian byte order.
- UTF_8 - Static variable in class com.google.common.base.Charsets
-
UTF-8: eight-bit UCS Transformation Format.
- Utf8 - Class in com.google.common.base
-
Low-level, high-performance utility methods related to the UTF-8 character encoding.
V
- v0() - Method in class com.google.common.collect.testing.AbstractMapTester
- v0() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- v1() - Method in class com.google.common.collect.testing.AbstractMapTester
- v1() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- v2() - Method in class com.google.common.collect.testing.AbstractMapTester
- v2() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- v3() - Method in class com.google.common.collect.testing.AbstractMapTester
- v3() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- v4() - Method in class com.google.common.collect.testing.AbstractMapTester
- v4() - Method in class com.google.common.collect.testing.google.AbstractMultimapTester
- value() - Method in annotation type com.google.common.annotations.GwtIncompatible
-
Describes why the annotated element is incompatible with GWT.
- value() - Method in enum com.google.common.base.StandardSystemProperty
-
Returns the current value for this system property by delegating to
System.getProperty(String)
. - value() - Method in annotation type com.google.common.collect.testing.features.CollectionFeature.Require
- value() - Method in annotation type com.google.common.collect.testing.features.CollectionSize.Require
- value() - Method in annotation type com.google.common.collect.testing.features.ListFeature.Require
- value() - Method in annotation type com.google.common.collect.testing.features.MapFeature.Require
- value() - Method in annotation type com.google.common.collect.testing.features.SetFeature.Require
- value() - Method in annotation type com.google.common.collect.testing.google.MultimapFeature.Require
- value() - Method in annotation type com.google.common.collect.testing.google.MultisetFeature.Require
- VALUE - com.google.common.collect.testing.WrongType
- VALUE_COLLECTIONS_SUPPORT_ITERATOR_REMOVE - com.google.common.collect.testing.google.MultimapFeature
- valueComparator() - Method in class com.google.common.collect.ForwardingSortedSetMultimap
- valueComparator() - Method in interface com.google.common.collect.SortedSetMultimap
-
Returns the comparator that orders the multimap values, with
null
indicating that natural ordering is used. - valueComparator() - Method in class com.google.common.collect.TreeMultimap
- ValueGraph<N,V> - Interface in com.google.common.graph
-
An interface for graph- structured data, whose edges have associated non-unique values.
- ValueGraphBuilder<N,V> - Class in com.google.common.graph
-
A builder for constructing instances of
MutableValueGraph
with user-defined properties. - valueOf(long) - Static method in class com.google.common.primitives.UnsignedInteger
-
Returns an
UnsignedInteger
that is equal tovalue
, if possible. - valueOf(long) - Static method in class com.google.common.primitives.UnsignedLong
-
Returns an
UnsignedLong
representing the same value as the specifiedlong
. - valueOf(String) - Static method in enum com.google.common.base.CaseFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.base.StandardSystemProperty
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.cache.RemovalCause
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.collect.BoundType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.collect.testing.AnEnum
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.collect.testing.DerivedCollectionGenerators.Bound
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.collect.testing.features.CollectionFeature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.collect.testing.features.CollectionSize
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.collect.testing.features.ListFeature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.collect.testing.features.MapFeature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.collect.testing.features.SetFeature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.collect.testing.google.MultimapFeature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.collect.testing.google.MultisetFeature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.collect.testing.google.MultisetTestSuiteBuilder.NoRecurse
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.collect.testing.IteratorFeature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.collect.testing.WrongType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.graph.ElementOrder.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.io.FileWriteMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class com.google.common.primitives.UnsignedInteger
-
Returns an
UnsignedInteger
holding the value of the specifiedString
, parsed as an unsignedint
value. - valueOf(String) - Static method in class com.google.common.primitives.UnsignedLong
-
Returns an
UnsignedLong
holding the value of the specifiedString
, parsed as an unsignedlong
value. - valueOf(String) - Static method in enum com.google.common.testing.NullPointerTester.Visibility
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.util.concurrent.CycleDetectingLockFactory.Policies
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.common.util.concurrent.Service.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String, int) - Static method in class com.google.common.primitives.UnsignedInteger
-
Returns an
UnsignedInteger
holding the value of the specifiedString
, parsed as an unsignedint
value in the specified radix. - valueOf(String, int) - Static method in class com.google.common.primitives.UnsignedLong
-
Returns an
UnsignedLong
holding the value of the specifiedString
, parsed as an unsignedlong
value in the specified radix. - valueOf(BigInteger) - Static method in class com.google.common.primitives.UnsignedInteger
-
Returns a
UnsignedInteger
representing the same value as the specifiedBigInteger
. - valueOf(BigInteger) - Static method in class com.google.common.primitives.UnsignedLong
-
Returns a
UnsignedLong
representing the same value as the specifiedBigInteger
. - values() - Static method in enum com.google.common.base.CaseFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.base.StandardSystemProperty
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.cache.RemovalCause
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class com.google.common.collect.ArrayTable
-
Returns an unmodifiable collection of all values, which may contain duplicates.
- values() - Method in interface com.google.common.collect.BiMap
- values() - Static method in enum com.google.common.collect.BoundType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class com.google.common.collect.ForwardingMap
- values() - Method in class com.google.common.collect.ForwardingMultimap
- values() - Method in class com.google.common.collect.ForwardingTable
- values() - Method in class com.google.common.collect.HashBiMap
- values() - Method in class com.google.common.collect.ImmutableBiMap
-
Returns an immutable set of the values in this map.
- values() - Method in class com.google.common.collect.ImmutableMap
-
Returns an immutable collection of the values in this map.
- values() - Method in class com.google.common.collect.ImmutableMultimap
-
Returns an immutable collection of the values in this multimap.
- values() - Method in class com.google.common.collect.ImmutableSortedMap
-
Returns an immutable collection of the values in this map, sorted by the ordering of the corresponding keys.
- values() - Method in class com.google.common.collect.ImmutableTable
- values() - Method in class com.google.common.collect.LinkedHashMultimap
-
Returns a collection of all values in the multimap.
- values() - Method in class com.google.common.collect.LinkedListMultimap
-
Returns a view collection containing the value from each key-value pair contained in this multimap, without collapsing duplicates (so
values().size() == size()
). - values() - Method in interface com.google.common.collect.Multimap
-
Returns a view collection containing the value from each key-value pair contained in this multimap, without collapsing duplicates (so
values().size() == size()
). - values() - Method in interface com.google.common.collect.Table
-
Returns a collection of all values, which may contain duplicates.
- values() - Static method in enum com.google.common.collect.testing.AnEnum
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.collect.testing.DerivedCollectionGenerators.Bound
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.collect.testing.features.CollectionFeature
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.collect.testing.features.CollectionSize
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.collect.testing.features.ListFeature
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.collect.testing.features.MapFeature
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.collect.testing.features.SetFeature
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.collect.testing.google.MultimapFeature
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.collect.testing.google.MultisetFeature
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.collect.testing.google.MultisetTestSuiteBuilder.NoRecurse
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.collect.testing.IteratorFeature
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class com.google.common.collect.testing.SafeTreeMap
- values() - Static method in enum com.google.common.collect.testing.WrongType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.graph.ElementOrder.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.io.FileWriteMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.testing.NullPointerTester.Visibility
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.util.concurrent.CycleDetectingLockFactory.Policies
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.common.util.concurrent.Service.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valueType() - Method in class com.google.common.collect.EnumBiMap
-
Returns the associated value type.
- VARY - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Vary
header field name. - VCARD_UTF_8 - Static variable in class com.google.common.net.MediaType
- verify(boolean) - Static method in class com.google.common.base.Verify
-
Ensures that
expression
istrue
, throwing aVerifyException
with no message otherwise. - verify(boolean, String, Object...) - Static method in class com.google.common.base.Verify
-
Ensures that
expression
istrue
, throwing aVerifyException
with a custom message otherwise. - Verify - Class in com.google.common.base
-
Static convenience methods that serve the same purpose as Java language assertions, except that they are always enabled.
- VerifyException - Exception in com.google.common.base
-
Exception thrown upon the failure of a verification check, including those performed by the convenience methods of the
Verify
class. - VerifyException() - Constructor for exception com.google.common.base.VerifyException
-
Constructs a
VerifyException
with no message. - VerifyException(String) - Constructor for exception com.google.common.base.VerifyException
-
Constructs a
VerifyException
with the messagemessage
. - VerifyException(String, Throwable) - Constructor for exception com.google.common.base.VerifyException
-
Constructs a
VerifyException
with the messagemessage
and the causecause
. - VerifyException(Throwable) - Constructor for exception com.google.common.base.VerifyException
-
Constructs a
VerifyException
with the causecause
and a message that isnull
ifcause
is null, andcause.toString()
otherwise. - verifyNotNull(T) - Static method in class com.google.common.base.Verify
-
Ensures that
reference
is non-null, throwing aVerifyException
with a default message otherwise. - verifyNotNull(T, String, Object...) - Static method in class com.google.common.base.Verify
-
Ensures that
reference
is non-null, throwing aVerifyException
with a custom message otherwise. - vertical(double) - Static method in class com.google.common.math.LinearTransformation
-
Builds an instance representing a vertical transformation with a constant value of
x
. - VIA - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Via
header field name. - VisibleForTesting - Annotation Type in com.google.common.annotations
-
Annotates a program element that exists, or is more widely visible than otherwise necessary, only for use in test code.
- VND_REAL_AUDIO - Static variable in class com.google.common.net.MediaType
-
Media type for Real Audio.
- VND_WAVE_AUDIO - Static variable in class com.google.common.net.MediaType
-
Media type for WAVE format, as defined by RFC 2361.
- VORBIS_AUDIO - Static variable in class com.google.common.net.MediaType
-
Media type for Vorbis Audio, as defined by RFC 5215.
- VT - Static variable in class com.google.common.base.Ascii
-
Vertical Tabulation ('\v'): A format effector which controls the movement of the printing position to the next in a series of predetermined printing lines.
- VTT_UTF_8 - Static variable in class com.google.common.net.MediaType
-
As described in the VTT spec, this is used for Web Video Text Tracks (WebVTT) files, used with the HTML5 track element.
W
- waitFor(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
-
Waits for the guard to be satisfied.
- waitFor(Monitor.Guard, long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
-
Waits for the guard to be satisfied.
- waitForUninterruptibly(Monitor.Guard) - Method in class com.google.common.util.concurrent.Monitor
-
Waits for the guard to be satisfied.
- waitForUninterruptibly(Monitor.Guard, long, TimeUnit) - Method in class com.google.common.util.concurrent.Monitor
-
Waits for the guard to be satisfied.
- WARN - com.google.common.util.concurrent.CycleDetectingLockFactory.Policies
-
When potential deadlock is detected, this policy results in the logging of a
Level.SEVERE
message indicating the potential deadlock, which includes stack traces illustrating the cycle in lock acquisition order. - WARNING - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
Warning
header field name. - wasEvicted() - Method in class com.google.common.cache.RemovalNotification
-
Returns
true
if there was an automatic removal due to eviction (the cause is neitherRemovalCause.EXPLICIT
norRemovalCause.REPLACED
). - wasInterrupted() - Method in class com.google.common.util.concurrent.AbstractFuture
-
Returns true if this future was cancelled with
mayInterruptIfRunning
set totrue
. - WAX_AUDIO - Static variable in class com.google.common.net.MediaType
-
Media type for Windows Media metafiles.
- weakCompareAndSet(double, double) - Method in class com.google.common.util.concurrent.AtomicDouble
-
Atomically sets the value to the given updated value if the current value is bitwise equal to the expected value.
- weakCompareAndSet(int, double, double) - Method in class com.google.common.util.concurrent.AtomicDoubleArray
-
Atomically sets the element at position
i
to the given updated value if the current value is bitwise equal to the expected value. - weakKeys() - Method in class com.google.common.cache.CacheBuilder
-
Specifies that each key (not value) stored in the cache should be wrapped in a
WeakReference
(by default, strong references are used). - weakKeys() - Method in class com.google.common.collect.MapMaker
-
Specifies that each key (not value) stored in the map should be wrapped in a
WeakReference
(by default, strong references are used). - weakValues() - Method in class com.google.common.cache.CacheBuilder
-
Specifies that each value (not key) stored in the cache should be wrapped in a
WeakReference
(by default, strong references are used). - weakValues() - Method in class com.google.common.collect.MapMaker
-
Specifies that each value (not key) stored in the map should be wrapped in a
WeakReference
(by default, strong references are used). - WEBM_AUDIO - Static variable in class com.google.common.net.MediaType
- WEBM_VIDEO - Static variable in class com.google.common.net.MediaType
- WEBP - Static variable in class com.google.common.net.MediaType
- weigh(K, V) - Method in interface com.google.common.cache.Weigher
-
Returns the weight of a cache entry.
- weigher(Weigher<? super K1, ? super V1>) - Method in class com.google.common.cache.CacheBuilder
-
Specifies the weigher to use in determining the weight of entries.
- Weigher<K,V> - Interface in com.google.common.cache
-
Calculates the weights of cache entries.
- whenAllComplete(ListenableFuture<? extends V>...) - Static method in class com.google.common.util.concurrent.Futures
-
Creates a
Futures.FutureCombiner
that processes the completed futures whether or not they're successful. - whenAllComplete(Iterable<? extends ListenableFuture<? extends V>>) - Static method in class com.google.common.util.concurrent.Futures
-
Creates a
Futures.FutureCombiner
that processes the completed futures whether or not they're successful. - whenAllSucceed(ListenableFuture<? extends V>...) - Static method in class com.google.common.util.concurrent.Futures
-
Creates a
Futures.FutureCombiner
requiring that all passed in futures are successful. - whenAllSucceed(Iterable<? extends ListenableFuture<? extends V>>) - Static method in class com.google.common.util.concurrent.Futures
-
Creates a
Futures.FutureCombiner
requiring that all passed in futures are successful. - where(TypeParameter<X>, TypeToken<X>) - Method in class com.google.common.reflect.TypeToken
-
Returns a new
TypeToken
where type variables represented bytypeParam
are substituted bytypeArg
. - where(TypeParameter<X>, Class<X>) - Method in class com.google.common.reflect.TypeToken
-
Returns a new
TypeToken
where type variables represented bytypeParam
are substituted bytypeArg
. - where(Type, Type) - Method in class com.google.common.reflect.TypeResolver
-
Returns a new
TypeResolver
with type variables informal
mapping to types inactual
. - whitespace() - Static method in class com.google.common.base.CharMatcher
-
Determines whether a character is whitespace according to the latest Unicode standard, as illustrated here.
- WHITESPACE - Static variable in class com.google.common.base.CharMatcher
-
Deprecated.Use
CharMatcher.whitespace()
instead. This constant is scheduled to be removed in June 2018. - withCharset(Charset) - Method in class com.google.common.net.MediaType
-
Returns a new instance with the same type and subtype as this instance, with the
charset
parameter set to thename
of the given charset. - withDefaultPort(int) - Method in class com.google.common.net.HostAndPort
-
Provide a default port if the parsed string contained only a host.
- withFeatures(Feature<?>...) - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
-
Configures this builder to produce tests appropriate for the given features.
- withFeatures(Iterable<? extends Feature<?>>) - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- withKeyValueSeparator(char) - Method in class com.google.common.base.Joiner
-
Returns a
MapJoiner
using the given key-value separator, and the same configuration as thisJoiner
otherwise. - withKeyValueSeparator(char) - Method in class com.google.common.base.Splitter
-
Returns a
MapSplitter
which splits entries based on this splitter, and splits entries into keys and values using the specified separator. - withKeyValueSeparator(Splitter) - Method in class com.google.common.base.Splitter
-
Returns a
MapSplitter
which splits entries based on this splitter, and splits entries into keys and values using the specified key-value splitter. - withKeyValueSeparator(String) - Method in class com.google.common.base.Joiner
-
Returns a
MapJoiner
using the given key-value separator, and the same configuration as thisJoiner
otherwise. - withKeyValueSeparator(String) - Method in class com.google.common.base.Splitter
-
Returns a
MapSplitter
which splits entries based on this splitter, and splits entries into keys and values using the specified separator. - withoutParameters() - Method in class com.google.common.net.MediaType
-
Returns a new instance with the same type and subtype as this instance, but without any parameters.
- withPadChar(char) - Method in class com.google.common.io.BaseEncoding
-
Returns an encoding that behaves equivalently to this encoding, but uses an alternate character for padding.
- withParameter(String, String) - Method in class com.google.common.net.MediaType
-
Replaces all parameters with the given attribute with a single parameter with the given value.
- withParameters(Multimap<String, String>) - Method in class com.google.common.net.MediaType
-
Replaces all parameters with the given parameters.
- withSeparator(String, int) - Method in class com.google.common.io.BaseEncoding
-
Returns an encoding that behaves equivalently to this encoding, but adds a separator string after every
n
characters. - withSetUp(Runnable) - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- withSlope(double) - Method in class com.google.common.math.LinearTransformation.LinearTransformationBuilder
-
Finish building an instance with the given slope, i.e.
- withTearDown(Runnable) - Method in class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
- withTimeout(ListenableFuture<V>, long, TimeUnit, ScheduledExecutorService) - Static method in class com.google.common.util.concurrent.Futures
-
Returns a future that delegates to another but will finish early (via a
TimeoutException
wrapped in anExecutionException
) if the specified duration expires. - WMA_AUDIO - Static variable in class com.google.common.net.MediaType
-
Media type for Windows Media Audio.
- WML_UTF_8 - Static variable in class com.google.common.net.MediaType
- WMV - Static variable in class com.google.common.net.MediaType
- WOFF - Static variable in class com.google.common.net.MediaType
-
Media type for the Web Open Font Format (WOFF) defined by the W3C.
- WOFF2 - Static variable in class com.google.common.net.MediaType
-
Media type for the Web Open Font Format (WOFF) version 2 defined by the W3C.
- wrap() - Method in class com.google.common.reflect.TypeToken
-
Returns the corresponding wrapper type if this is a primitive type; otherwise returns
this
itself. - wrap(byte[]) - Static method in class com.google.common.io.ByteSource
-
Returns a view of the given byte array as a
ByteSource
. - wrap(CharSequence) - Static method in class com.google.common.io.CharSource
-
Returns a view of the given character sequence as a
CharSource
. - wrap(Class<T>) - Static method in class com.google.common.primitives.Primitives
-
Returns the corresponding wrapper type of
type
if it is a primitive type; otherwise returnstype
itself. - wrap(S) - Method in class com.google.common.base.Equivalence
-
Returns a wrapper of
reference
that implementsObject.equals()
such thatwrap(a).equals(wrap(b))
if and only ifequivalent(a, b)
. - write(byte[]) - Method in interface com.google.common.io.ByteArrayDataOutput
- write(byte[]) - Method in class com.google.common.io.ByteSink
-
Writes all the given bytes to this sink.
- write(byte[]) - Method in class com.google.common.io.FileBackedOutputStream
- write(byte[], int, int) - Method in class com.google.common.hash.HashingOutputStream
- write(byte[], int, int) - Method in interface com.google.common.io.ByteArrayDataOutput
- write(byte[], int, int) - Method in class com.google.common.io.CountingOutputStream
- write(byte[], int, int) - Method in class com.google.common.io.FileBackedOutputStream
- write(byte[], int, int) - Method in class com.google.common.io.LittleEndianDataOutputStream
- write(byte[], File) - Static method in class com.google.common.io.Files
-
Overwrites a file with the contents of a byte array.
- write(int) - Method in class com.google.common.hash.HashingOutputStream
- write(int) - Method in interface com.google.common.io.ByteArrayDataOutput
- write(int) - Method in class com.google.common.io.CountingOutputStream
- write(int) - Method in class com.google.common.io.FileBackedOutputStream
- write(CharSequence) - Method in class com.google.common.io.CharSink
-
Writes the given character sequence to this sink.
- write(CharSequence, File, Charset) - Static method in class com.google.common.io.Files
-
Writes a character sequence (such as a string) to a file using the given character set.
- writeBoolean(boolean) - Method in interface com.google.common.io.ByteArrayDataOutput
- writeBoolean(boolean) - Method in class com.google.common.io.LittleEndianDataOutputStream
- writeByte(int) - Method in interface com.google.common.io.ByteArrayDataOutput
- writeByte(int) - Method in class com.google.common.io.LittleEndianDataOutputStream
- writeBytes(String) - Method in interface com.google.common.io.ByteArrayDataOutput
-
Deprecated.This method is dangerous as it discards the high byte of every character. For UTF-8, use
write(s.getBytes(StandardCharsets.UTF_8))
. - writeBytes(String) - Method in class com.google.common.io.LittleEndianDataOutputStream
-
Deprecated.The semantics of
writeBytes(String s)
are considered dangerous. Please useLittleEndianDataOutputStream.writeUTF(String s)
,LittleEndianDataOutputStream.writeChars(String s)
or another write method instead. - writeBytesTo(byte[], int, int) - Method in class com.google.common.hash.HashCode
-
Copies bytes from this hash code into
dest
. - writeChar(int) - Method in interface com.google.common.io.ByteArrayDataOutput
- writeChar(int) - Method in class com.google.common.io.LittleEndianDataOutputStream
-
Writes a char as specified by
DataOutputStream.writeChar(int)
, except using little-endian byte order. - writeChars(String) - Method in interface com.google.common.io.ByteArrayDataOutput
- writeChars(String) - Method in class com.google.common.io.LittleEndianDataOutputStream
-
Writes a
String
as specified byDataOutputStream.writeChars(String)
, except each character is written using little-endian byte order. - writeDouble(double) - Method in interface com.google.common.io.ByteArrayDataOutput
- writeDouble(double) - Method in class com.google.common.io.LittleEndianDataOutputStream
-
Writes a
double
as specified byDataOutputStream.writeDouble(double)
, except using little-endian byte order. - writeFloat(float) - Method in interface com.google.common.io.ByteArrayDataOutput
- writeFloat(float) - Method in class com.google.common.io.LittleEndianDataOutputStream
-
Writes a
float
as specified byDataOutputStream.writeFloat(float)
, except using little-endian byte order. - writeFrom(InputStream) - Method in class com.google.common.io.ByteSink
-
Writes all the bytes from the given
InputStream
to this sink. - writeFrom(Readable) - Method in class com.google.common.io.CharSink
-
Writes all the text from the given
Readable
(such as aReader
) to this sink. - writeInt(int) - Method in interface com.google.common.io.ByteArrayDataOutput
- writeInt(int) - Method in class com.google.common.io.LittleEndianDataOutputStream
-
Writes an
int
as specified byDataOutputStream.writeInt(int)
, except using little-endian byte order. - writeLines(Iterable<? extends CharSequence>) - Method in class com.google.common.io.CharSink
-
Writes the given lines of text to this sink with each line (including the last) terminated with the operating system's default line separator.
- writeLines(Iterable<? extends CharSequence>, String) - Method in class com.google.common.io.CharSink
-
Writes the given lines of text to this sink with each line (including the last) terminated with the given line separator.
- writeLong(long) - Method in interface com.google.common.io.ByteArrayDataOutput
- writeLong(long) - Method in class com.google.common.io.LittleEndianDataOutputStream
-
Writes a
long
as specified byDataOutputStream.writeLong(long)
, except using little-endian byte order. - writeReplace() - Method in class com.google.common.reflect.TypeToken
-
Implemented to support serialization of subclasses.
- writeShort(int) - Method in interface com.google.common.io.ByteArrayDataOutput
- writeShort(int) - Method in class com.google.common.io.LittleEndianDataOutputStream
-
Writes a
short
as specified byDataOutputStream.writeShort(int)
, except using little-endian byte order. - writeTo(OutputStream) - Method in class com.google.common.hash.BloomFilter
-
Writes this
BloomFilter
to an output stream, with a custom format (not Java serialization). - writeUTF(String) - Method in interface com.google.common.io.ByteArrayDataOutput
- writeUTF(String) - Method in class com.google.common.io.LittleEndianDataOutputStream
- WrongType - Enum in com.google.common.collect.testing
-
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.
- WWW_AUTHENTICATE - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
WWW-Authenticate
header field name.
X
- X_CONTENT_SECURITY_POLICY - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP nonstandard
X-Content-Security-Policy
header field name. - X_CONTENT_SECURITY_POLICY_REPORT_ONLY - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP nonstandard
X-Content-Security-Policy-Report-Only
header field name. - X_CONTENT_TYPE_OPTIONS - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
X-Content-Type-Options
header field name. - X_DO_NOT_TRACK - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
X-Do-Not-Track
header field name. - X_FORWARDED_FOR - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
X-Forwarded-For
header field name (supersed byForwarded
). - X_FORWARDED_HOST - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
X-Forwarded-Host
header field name. - X_FORWARDED_PORT - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
X-Forwarded-Port
header field name. - X_FORWARDED_PROTO - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
X-Forwarded-Proto
header field name. - X_FRAME_OPTIONS - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
X-Frame-Options
header field name. - X_POWERED_BY - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
X-Powered-By
header field name. - X_REQUESTED_WITH - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
X-Requested-With
header field name. - X_USER_IP - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
X-User-IP
header field name. - X_WEBKIT_CSP - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP nonstandard
X-WebKit-CSP
header field name. - X_WEBKIT_CSP_REPORT_ONLY - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP nonstandard
X-WebKit-CSP-Report-Only
header field name. - X_XSS_PROTECTION - Static variable in class com.google.common.net.HttpHeaders
-
The HTTP
X-XSS-Protection
header field name. - XHTML_UTF_8 - Static variable in class com.google.common.net.MediaType
- XML_UTF_8 - Static variable in class com.google.common.net.MediaType
-
As described in RFC 3023, this constant (
text/xml
) is used for XML documents that are "readable by casual users."MediaType.APPLICATION_XML_UTF_8
is provided for documents that are intended for applications. - xmlAttributeEscaper() - Static method in class com.google.common.xml.XmlEscapers
-
Returns an
Escaper
instance that escapes special characters in a string so it can safely be included in XML document as an attribute value. - xmlContentEscaper() - Static method in class com.google.common.xml.XmlEscapers
-
Returns an
Escaper
instance that escapes special characters in a string so it can safely be included in an XML document as element content. - XmlEscapers - Class in com.google.common.xml
-
Escaper
instances suitable for strings to be included in XML attribute values and elements' text contents. - XOFF - Static variable in class com.google.common.base.Ascii
-
Transmission off.
- XON - Static variable in class com.google.common.base.Ascii
-
Transmission On: Although originally defined as DC1, this ASCII control character is now better known as the XON code used for software flow control in serial communications.
- XRD_UTF_8 - Static variable in class com.google.common.net.MediaType
-
Media type for Extensible Resource Descriptors.
- xStats() - Method in class com.google.common.math.PairedStats
-
Returns the statistics on the
x
values alone. - xStats() - Method in class com.google.common.math.PairedStatsAccumulator
-
Returns an immutable snapshot of the statistics on the
x
values alone.
Y
- yStats() - Method in class com.google.common.math.PairedStats
-
Returns the statistics on the
y
values alone. - yStats() - Method in class com.google.common.math.PairedStatsAccumulator
-
Returns an immutable snapshot of the statistics on the
y
values alone.
Z
- ZERO - com.google.common.collect.testing.features.CollectionSize
-
Test an empty collection.
- ZERO - Static variable in class com.google.common.primitives.UnsignedInteger
- ZERO - Static variable in class com.google.common.primitives.UnsignedLong
- ZIP - Static variable in class com.google.common.net.MediaType
All Classes All Packages