|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.egothor.cache.NullResolver<K,V>
K
- type of the keyV
- type of the valuepublic class NullResolver<K,V>
Simple implementation of the Resolver
that always returns null.
Constructor Summary | |
---|---|
NullResolver()
|
Method Summary | |
---|---|
V |
resolve(K key)
Returns null for every key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullResolver()
Method Detail |
---|
public V resolve(K key)
resolve
in interface Resolver<K,V>
key
- key to get the value for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |