Package | Description |
---|---|
com.google.common.cache |
This package contains caching utilities.
|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
com.google.common.reflect |
This package contains utilities to work with Java reflection.
|
com.google.common.util.concurrent |
Concurrency utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
ForwardingCache<K,V>
A cache which forwards all its method calls to another cache.
|
static class |
ForwardingCache.SimpleForwardingCache<K,V>
A simplified version of
ForwardingCache where subclasses can pass in an already
constructed Cache as the delegete. |
class |
ForwardingLoadingCache<K,V>
A cache which forwards all its method calls to another cache.
|
static class |
ForwardingLoadingCache.SimpleForwardingLoadingCache<K,V>
A simplified version of
ForwardingLoadingCache where subclasses can pass in an already
constructed LoadingCache as the delegete. |
(package private) static class |
LocalCache.LoadingSerializationProxy<K,V>
Serializes the configuration of a LocalCache, reconsitituting it as an LoadingCache using
CacheBuilder upon deserialization.
|
(package private) static class |
LocalCache.ManualSerializationProxy<K,V>
Serializes the configuration of a LocalCache, reconsitituting it as a Cache using
CacheBuilder upon deserialization.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
AbstractBiMap<K,V>
A general-purpose bimap implementation using any two backing
Map
instances. |
private class |
AbstractBiMap.EntrySet |
private static class |
AbstractBiMap.Inverse<K,V>
The inverse of any other
AbstractBiMap subclass. |
private class |
AbstractBiMap.KeySet |
private class |
AbstractBiMap.ValueSet |
private class |
AbstractNavigableMap.DescendingMap |
(package private) static class |
ComputingConcurrentHashMap.ComputingSerializationProxy<K,V> |
(package private) static class |
Constraints.ConstrainedCollection<E> |
private static class |
Constraints.ConstrainedList<E> |
(package private) static class |
Constraints.ConstrainedListIterator<E> |
(package private) static class |
Constraints.ConstrainedRandomAccessList<E> |
(package private) static class |
Constraints.ConstrainedSet<E> |
private static class |
Constraints.ConstrainedSortedSet<E> |
(package private) class |
DescendingMultiset<E>
A skeleton implementation of a descending multiset.
|
class |
EnumBiMap<K extends java.lang.Enum<K>,V extends java.lang.Enum<V>>
A
BiMap backed by two EnumMap instances. |
class |
EnumHashBiMap<K extends java.lang.Enum<K>,V>
A
BiMap backed by an EnumMap instance for keys-to-values, and
a HashMap instance for values-to-keys. |
class |
EvictingQueue<E>
A non-blocking queue which automatically evicts elements from the head of the queue when
attempting to add new elements onto the queue and it is full.
|
(package private) static class |
FilteredKeyMultimap.AddRejectingList<K,V> |
(package private) static class |
FilteredKeyMultimap.AddRejectingSet<K,V> |
(package private) class |
FilteredKeyMultimap.Entries |
(package private) class |
FilteredKeySetMultimap.EntrySet |
class |
ForwardingBlockingDeque<E>
A
BlockingDeque which forwards all its method calls to another BlockingDeque . |
class |
ForwardingCollection<E>
A collection which forwards all its method calls to another collection.
|
class |
ForwardingConcurrentMap<K,V>
A concurrent map which forwards all its method calls to another concurrent
map.
|
class |
ForwardingDeque<E>
A deque which forwards all its method calls to another deque.
|
class |
ForwardingIterator<T>
An iterator which forwards all its method calls to another iterator.
|
class |
ForwardingList<E>
A list which forwards all its method calls to another list.
|
class |
ForwardingListIterator<E>
A list iterator which forwards all its method calls to another list
iterator.
|
class |
ForwardingListMultimap<K,V>
A list multimap which forwards all its method calls to another list multimap.
|
class |
ForwardingMap<K,V>
A map which forwards all its method calls to another map.
|
class |
ForwardingMapEntry<K,V>
A map entry which forwards all its method calls to another map entry.
|
class |
ForwardingMultimap<K,V>
A multimap which forwards all its method calls to another multimap.
|
class |
ForwardingMultiset<E>
A multiset which forwards all its method calls to another multiset.
|
class |
ForwardingNavigableMap<K,V>
A navigable map which forwards all its method calls to another navigable map.
|
protected class |
ForwardingNavigableMap.StandardDescendingMap
A sensible implementation of
NavigableMap.descendingMap() in terms of the methods of
this NavigableMap . |
class |
ForwardingNavigableSet<E>
A navigable set which forwards all its method calls to another navigable set.
|
protected class |
ForwardingNavigableSet.StandardDescendingSet
A sensible implementation of
NavigableSet.descendingSet() in terms of the other methods
of NavigableSet , notably including NavigableSet.descendingIterator() . |
class |
ForwardingQueue<E>
A queue which forwards all its method calls to another queue.
|
class |
ForwardingSet<E>
A set which forwards all its method calls to another set.
|
class |
ForwardingSetMultimap<K,V>
A set multimap which forwards all its method calls to another set multimap.
|
class |
ForwardingSortedMap<K,V>
A sorted map which forwards all its method calls to another sorted map.
|
class |
ForwardingSortedMultiset<E>
A sorted multiset which forwards all its method calls to another sorted multiset.
|
protected class |
ForwardingSortedMultiset.StandardDescendingMultiset
A skeleton implementation of a descending multiset view.
|
class |
ForwardingSortedSet<E>
A sorted set which forwards all its method calls to another sorted set.
|
class |
ForwardingSortedSetMultimap<K,V>
A sorted set multimap which forwards all its method calls to another sorted
set multimap.
|
class |
ForwardingTable<R,C,V>
A table which forwards all its method calls to another table.
|
class |
ImmutableClassToInstanceMap<B>
A class-to-instance map backed by an
ImmutableMap . |
(package private) static class |
MapConstraints.ConstrainedAsMapEntries<K,V> |
private static class |
MapConstraints.ConstrainedAsMapValues<K,V> |
private static class |
MapConstraints.ConstrainedBiMap<K,V> |
private static class |
MapConstraints.ConstrainedEntries<K,V> |
(package private) static class |
MapConstraints.ConstrainedEntrySet<K,V> |
private static class |
MapConstraints.ConstrainedListMultimap<K,V> |
(package private) static class |
MapConstraints.ConstrainedMap<K,V> |
private static class |
MapConstraints.ConstrainedMultimap<K,V> |
private static class |
MapConstraints.ConstrainedSetMultimap<K,V> |
private static class |
MapConstraints.ConstrainedSortedSetMultimap<K,V> |
(package private) static class |
MapMakerInternalMap.AbstractSerializationProxy<K,V>
The actual object that gets serialized.
|
private static class |
MapMakerInternalMap.SerializationProxy<K,V>
The actual object that gets serialized.
|
(package private) static class |
Maps.DescendingMap<K,V> |
private class |
Maps.FilteredEntryMap.EntrySet |
private static class |
Maps.UnmodifiableBiMap<K,V> |
(package private) static class |
Maps.UnmodifiableEntries<K,V> |
(package private) static class |
Maps.UnmodifiableEntrySet<K,V> |
(package private) static class |
Maps.UnmodifiableNavigableMap<K,V> |
private static class |
Multimaps.UnmodifiableListMultimap<K,V> |
private static class |
Multimaps.UnmodifiableMultimap<K,V> |
private static class |
Multimaps.UnmodifiableSetMultimap<K,V> |
private static class |
Multimaps.UnmodifiableSortedSetMultimap<K,V> |
(package private) static class |
Multisets.UnmodifiableMultiset<E> |
class |
MutableClassToInstanceMap<B>
A mutable class-to-instance map backed by an arbitrary user-provided map.
|
private static class |
Sets.CartesianSet<E> |
(package private) static class |
Sets.DescendingSet<E> |
(package private) static class |
Sets.UnmodifiableNavigableSet<E> |
(package private) static class |
Tables.UnmodifiableRowSortedMap<R,C,V> |
private static class |
Tables.UnmodifiableTable<R,C,V> |
(package private) class |
TreeRangeSet.AsRanges |
(package private) class |
UnmodifiableSortedMultiset<E>
Implementation of
Multisets.unmodifiableSortedMultiset(SortedMultiset) ,
split out into its own file so it can be GWT emulated (to deal with the differing
elementSet() types in GWT and non-GWT). |
(package private) class |
WellBehavedMap<K,V>
Workaround for
EnumMap bug.
|
Modifier and Type | Class and Description |
---|---|
class |
ImmutableTypeToInstanceMap<B>
A type-to-instance map backed by an
ImmutableMap . |
class |
MutableTypeToInstanceMap<B>
A mutable type-to-instance map.
|
private static class |
MutableTypeToInstanceMap.UnmodifiableEntry<K,V> |
private class |
TypeToken.ClassSet |
private class |
TypeToken.InterfaceSet |
class |
TypeToken.TypeSet
The set of interfaces and classes that
T is or is a subtype of. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCheckedFuture<V,X extends java.lang.Exception>
A delegating wrapper around a
ListenableFuture that adds support for
the AbstractCheckedFuture.checkedGet() and AbstractCheckedFuture.checkedGet(long, TimeUnit) methods. |
private class |
AbstractScheduledService.CustomScheduler.ReschedulableCallable
A callable class that can reschedule itself using a
AbstractScheduledService.CustomScheduler . |
(package private) class |
AsyncSettableFuture<V>
A settable future that can be set asynchronously via
AsyncSettableFuture.setFuture(com.google.common.util.concurrent.ListenableFuture<? extends V>) . |
class |
ForwardingBlockingQueue<E>
A
BlockingQueue which forwards all its method calls to another
BlockingQueue . |
class |
ForwardingCheckedFuture<V,X extends java.lang.Exception>
A future which forwards all its method calls to another future.
|
static class |
ForwardingCheckedFuture.SimpleForwardingCheckedFuture<V,X extends java.lang.Exception>
A simplified version of
ForwardingCheckedFuture where subclasses
can pass in an already constructed CheckedFuture as the delegate. |
class |
ForwardingExecutorService
An executor service which forwards all its method calls to another executor
service.
|
class |
ForwardingFuture<V>
A
Future which forwards all its method calls to another future. |
static class |
ForwardingFuture.SimpleForwardingFuture<V>
A simplified version of
ForwardingFuture where subclasses
can pass in an already constructed Future as the delegate. |
class |
ForwardingListenableFuture<V>
A
ListenableFuture which forwards all its method calls to another
future. |
static class |
ForwardingListenableFuture.SimpleForwardingListenableFuture<V>
A simplified version of
ForwardingListenableFuture where subclasses
can pass in an already constructed ListenableFuture
as the delegate. |
class |
ForwardingListeningExecutorService
A listening executor service which forwards all its method calls to another
listening executor service.
|
private static class |
Futures.MappingCheckedFuture<V,X extends java.lang.Exception>
A checked future that uses a function to map from exceptions to the
appropriate checked type.
|
private static class |
JdkFutureAdapters.ListenableFutureAdapter<V>
An adapter to turn a
Future into a ListenableFuture . |
private static class |
MoreExecutors.ScheduledListeningDecorator.ListenableScheduledTask<V> |