|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.common.collect.ForwardingObject
com.google.common.cache.ForwardingCache<K,V>
com.google.common.cache.ForwardingCache.SimpleForwardingCache<K,V>
@Beta public abstract static class ForwardingCache.SimpleForwardingCache<K,V>
A simplified version of ForwardingCache
where subclasses can pass in an already
constructed Cache
as the delegete.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.common.cache.ForwardingCache |
---|
ForwardingCache.SimpleForwardingCache<K,V> |
Constructor Summary | |
---|---|
protected |
ForwardingCache.SimpleForwardingCache(Cache<K,V> delegate)
|
Method Summary | |
---|---|
protected Cache<K,V> |
delegate()
Returns the backing delegate instance that methods are forwarded to. |
Methods inherited from class com.google.common.cache.ForwardingCache |
---|
apply, asMap, cleanUp, get, get, getAllPresent, getIfPresent, getUnchecked, invalidate, invalidateAll, invalidateAll, put, size, stats |
Methods inherited from class com.google.common.collect.ForwardingObject |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.common.base.Function |
---|
equals |
Constructor Detail |
---|
protected ForwardingCache.SimpleForwardingCache(Cache<K,V> delegate)
Method Detail |
---|
protected final Cache<K,V> delegate()
ForwardingObject
ForwardingSet.delegate()
. Concrete subclasses override this method to supply
the instance being decorated.
delegate
in class ForwardingCache<K,V>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |