|
JBoss MetaData Repository 2.2.0.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.plugins.cache.EmptyCache<K,V>
K
- the key classV
- the value classpublic class EmptyCache<K,V>
Empty cache.
Method Summary | ||
---|---|---|
void |
clear()
Clear node. |
|
static
|
emptyCache()
|
|
V |
get(K key)
Get value under key. |
|
V |
put(K key,
V value)
Put value under key. |
|
V |
remove(K key)
Remove value under key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <K,V> Cache<K,V> emptyCache()
public V put(K key, V value)
Cache
put
in interface Cache<K,V>
key
- the keyvalue
- the value
public V get(K key)
Cache
get
in interface Cache<K,V>
key
- the key
public V remove(K key)
Cache
remove
in interface Cache<K,V>
key
- the key
public void clear()
Cache
clear
in interface Cache<K,V>
|
JBoss MetaData Repository 2.2.0.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |