public class ValueCache extends Object
Constructor and Description |
---|
ValueCache() |
Modifier and Type | Method and Description |
---|---|
Object |
get(Object key)
Get entry from the cache.
|
void |
put(Object key,
Object value)
Put a new entry in the cache under the given key.
|
Object |
remove(Object key)
Removes the key and its corresponding value from this cache.
|
int |
size() |
Collection |
values()
Returns a Collection view of the values contained in this cache.
|
Collection |
valuesWithType(Class type)
Returns a Collection view of the values contained in this cache that have the same
runtime class as the given Class.
|
public Object get(Object key)
public Collection values()
public Collection valuesWithType(Class type)
public Object remove(Object key)
public int size()
TV-Browser 2.2.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)