|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpivot.wtk.ApplicationContext.ResourceCacheDictionary
public static final class ApplicationContext.ResourceCacheDictionary
Resource cache dictionary implementation.
Constructor Summary | |
---|---|
ApplicationContext.ResourceCacheDictionary()
|
Method Summary | |
---|---|
boolean |
containsKey(URL key)
Tests the existence of a key in the dictionary. |
Object |
get(URL key)
Retrieves the value for the given key. |
boolean |
isEmpty()
Tests the emptiness of the dictionary. |
Iterator<URL> |
iterator()
|
Object |
put(URL key,
Object value)
Sets the value of the given key, creating a new entry or replacing the existing value. |
Object |
remove(URL key)
Removes a key/value pair from the map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationContext.ResourceCacheDictionary()
Method Detail |
---|
public Object get(URL key)
Dictionary
get
in interface Dictionary<URL,Object>
key
- The key whose value is to be returned.
public Object put(URL key, Object value)
Dictionary
put
in interface Dictionary<URL,Object>
key
- The key whose value is to be set.value
- The value to be associated with the given key.
public Object remove(URL key)
Dictionary
remove
in interface Dictionary<URL,Object>
key
- The key whose mapping is to be removed.
public boolean containsKey(URL key)
Dictionary
containsKey
in interface Dictionary<URL,Object>
key
- The key whose presence in the dictionary is to be tested.
public boolean isEmpty()
Dictionary
isEmpty
in interface Dictionary<URL,Object>
public Iterator<URL> iterator()
iterator
in interface Iterable<URL>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |