Uses of Class
com.google.common.collect.ForwardingObject
Package
Description
Discouraged (in favor of Caffeine) caching utilities.
Collection interfaces and implementations, and other utilities for collections.
Utilities for reflection.
Concurrency utilities.
-
Uses of ForwardingObject in com.google.common.cache
Modifier and TypeClassDescriptionclass
ForwardingCache<K,
V> A cache which forwards all its method calls to another cache.static class
A simplified version ofForwardingCache
where subclasses can pass in an already constructedCache
as the delegate.class
A cache which forwards all its method calls to another cache.static class
A simplified version ofForwardingLoadingCache
where subclasses can pass in an already constructedLoadingCache
as the delegate. -
Uses of ForwardingObject in com.google.common.collect
Modifier and TypeClassDescriptionfinal class
ABiMap
backed by twoEnumMap
instances.final class
EnumHashBiMap<K extends Enum<K>,
V extends @Nullable Object> ABiMap
backed by anEnumMap
instance for keys-to-values, and aHashMap
instance for values-to-keys.final class
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.class
Deprecated.class
ForwardingCollection<E extends @Nullable Object>
A collection which forwards all its method calls to another collection.class
A concurrent map which forwards all its method calls to another concurrent map.class
ForwardingDeque<E extends @Nullable Object>
A deque which forwards all its method calls to another deque.class
ForwardingIterator<T extends @Nullable Object>
An iterator which forwards all its method calls to another iterator.class
ForwardingList<E extends @Nullable Object>
A list which forwards all its method calls to another list.class
ForwardingListIterator<E extends @Nullable Object>
A list iterator which forwards all its method calls to another list iterator.class
ForwardingListMultimap<K extends @Nullable Object,
V extends @Nullable Object> A list multimap which forwards all its method calls to another list multimap.class
ForwardingMap<K extends @Nullable Object,
V extends @Nullable Object> A map which forwards all its method calls to another map.class
ForwardingMapEntry<K extends @Nullable Object,
V extends @Nullable Object> A map entry which forwards all its method calls to another map entry.class
ForwardingMultimap<K extends @Nullable Object,
V extends @Nullable Object> A multimap which forwards all its method calls to another multimap.class
ForwardingMultiset<E extends @Nullable Object>
A multiset which forwards all its method calls to another multiset.class
ForwardingNavigableMap<K extends @Nullable Object,
V extends @Nullable Object> A navigable map which forwards all its method calls to another navigable map.protected class
A sensible implementation ofNavigableMap.descendingMap()
in terms of the methods of thisNavigableMap
.class
ForwardingNavigableSet<E extends @Nullable Object>
A navigable set which forwards all its method calls to another navigable set.protected class
A sensible implementation ofNavigableSet.descendingSet()
in terms of the other methods ofNavigableSet
, notably includingNavigableSet.descendingIterator()
.class
ForwardingQueue<E extends @Nullable Object>
A queue which forwards all its method calls to another queue.class
ForwardingSet<E extends @Nullable Object>
A set which forwards all its method calls to another set.class
ForwardingSetMultimap<K extends @Nullable Object,
V extends @Nullable Object> A set multimap which forwards all its method calls to another set multimap.class
ForwardingSortedMap<K extends @Nullable Object,
V extends @Nullable Object> A sorted map which forwards all its method calls to another sorted map.class
ForwardingSortedMultiset<E extends @Nullable Object>
A sorted multiset which forwards all its method calls to another sorted multiset.protected class
A skeleton implementation of a descending multiset view.class
ForwardingSortedSet<E extends @Nullable Object>
A sorted set which forwards all its method calls to another sorted set.class
ForwardingSortedSetMultimap<K extends @Nullable Object,
V extends @Nullable Object> A sorted set multimap which forwards all its method calls to another sorted set multimap.class
A table which forwards all its method calls to another table.final class
AClassToInstanceMap
whose contents will never change, with many other important properties detailed atImmutableCollection
.final class
MutableClassToInstanceMap<B extends @Nullable Object>
A mutable class-to-instance map backed by an arbitrary user-provided map. -
Uses of ForwardingObject in com.google.common.reflect
Modifier and TypeClassDescriptionfinal class
A type-to-instance map backed by anImmutableMap
.final class
MutableTypeToInstanceMap<B extends @Nullable Object>
A mutable type-to-instance map.class
The set of interfaces and classes thatT
is or is a subtype of. -
Uses of ForwardingObject in com.google.common.util.concurrent
Modifier and TypeClassDescriptionclass
ABlockingDeque
which forwards all its method calls to anotherBlockingDeque
.class
ABlockingQueue
which forwards all its method calls to anotherBlockingQueue
.class
An executor service which forwards all its method calls to another executor service.class
ForwardingFuture<V extends @Nullable Object>
AFuture
which forwards all its method calls to another future.static class
A simplified version ofForwardingFuture
where subclasses can pass in an already constructedFuture
as the delegate.class
ForwardingListenableFuture<V extends @Nullable Object>
AListenableFuture
which forwards all its method calls to another future.static class
A simplified version ofForwardingListenableFuture
where subclasses can pass in an already constructedListenableFuture
as the delegate.class
A listening executor service which forwards all its method calls to another listening executor service.
com.google.common.util.concurrent
.