Uses of Class
com.google.common.collect.ForwardingObject
Packages that use ForwardingObject
Package
Description
Discouraged (in favor of Caffeine) caching utilities.
Collection interfaces and implementations, and other utilities for collections.
An API for representing graph (node and edge) data.
Utilities for reflection.
Concurrency utilities.
-
Uses of ForwardingObject in com.google.common.cache
Subclasses of ForwardingObject in com.google.common.cacheModifier 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.(package private) static final class
Serializes the configuration of a LocalCache, reconstituting it as an LoadingCache using CacheBuilder upon deserialization.(package private) static class
Serializes the configuration of a LocalCache, reconstituting it as a Cache using CacheBuilder upon deserialization. -
Uses of ForwardingObject in com.google.common.collect
Subclasses of ForwardingObject in com.google.common.collectModifier and TypeClassDescription(package private) class
AbstractBiMap<K,
V> A general-purpose bimap implementation using any two backingMap
instances.(package private) class
private class
(package private) static class
The inverse of any otherAbstractBiMap
subclass.private class
private class
private final class
(package private) class
A skeleton implementation of a descending multiset.final class
ABiMap
backed by twoEnumMap
instances.final class
EnumHashBiMap<K extends Enum<K>,
V> 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.(package private) static class
(package private) static class
(package private) class
(package private) class
class
Deprecated.class
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
A deque which forwards all its method calls to another deque.class
An iterator which forwards all its method calls to another iterator.class
A list which forwards all its method calls to another list.class
A list iterator which forwards all its method calls to another list iterator.class
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
A multiset which forwards all its method calls to another multiset.class
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
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
A queue which forwards all its method calls to another queue.class
A set which forwards all its method calls to another set.class
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
A sorted multiset which forwards all its method calls to another sorted multiset.protected class
A skeleton implementation of a descending multiset view.class
A sorted set which forwards all its method calls to another sorted set.class
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.final class
AClassToInstanceMap
whose contents will never change, with many other important properties detailed atImmutableCollection
.(package private) static class
The actual object that gets serialized.private static final class
The actual object that gets serialized.(package private) static class
Maps.DescendingMap<K,
V> private class
private static class
(package private) static class
The implementation ofMultimaps.unmodifiableEntries(java.util.Collection<java.util.Map.Entry<K, V>>)
.(package private) static class
The implementation ofMaps.unmodifiableEntrySet(Set)
.(package private) static class
private static class
private static class
private static class
private static class
(package private) static class
final class
A mutable class-to-instance map backed by an arbitrary user-provided map.private static final class
(package private) static class
(package private) static final class
private static final class
private static class
Tables.UnmodifiableTable<R,
C, V> (package private) final class
(package private) final class
Implementation ofMultisets.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). -
Uses of ForwardingObject in com.google.common.graph
Subclasses of ForwardingObject in com.google.common.graphModifier and TypeClassDescription(package private) final class
A subclass of `ForwardingSet` that throws `IllegalStateException` on invocation of any method (except `hashCode` and `equals`) if the provided `Supplier` returns false. -
Uses of ForwardingObject in com.google.common.reflect
Subclasses of ForwardingObject in com.google.common.reflectModifier and TypeClassDescriptionfinal class
A type-to-instance map backed by anImmutableMap
.final class
A mutable type-to-instance map.private static final class
private final class
private final class
class
The set of interfaces and classes thatT
is or is a subtype of. -
Uses of ForwardingObject in com.google.common.util.concurrent
Subclasses of ForwardingObject in com.google.common.util.concurrentModifier 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
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
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.private static class
An adapter to turn aFuture
into aListenableFuture
.private static final class
-
Uses of ForwardingObject in com.google.common.util.concurrent.testing
Subclasses of ForwardingObject in com.google.common.util.concurrent.testingModifier and TypeClassDescriptionprivate static final class
com.google.common.util.concurrent
.