|
||||||||||
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(java.net.URL key)
Tests the existence of a key in the dictionary. |
java.lang.Object |
get(java.net.URL key)
Retrieves the value for the given key. |
boolean |
isEmpty()
Tests the emptiness of the dictionary. |
java.util.Iterator<java.net.URL> |
iterator()
|
java.lang.Object |
put(java.net.URL key,
java.lang.Object value)
Sets the value of the given key, creating a new entry or replacing the existing value. |
java.lang.Object |
remove(java.net.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 java.lang.Object get(java.net.URL key)
Dictionary
get
in interface Dictionary<java.net.URL,java.lang.Object>
key
- The key whose value is to be returned.
public java.lang.Object put(java.net.URL key, java.lang.Object value)
Dictionary
put
in interface Dictionary<java.net.URL,java.lang.Object>
key
- The key whose value is to be set.value
- The value to be associated with the given key.public java.lang.Object remove(java.net.URL key)
Dictionary
remove
in interface Dictionary<java.net.URL,java.lang.Object>
key
- The key whose mapping is to be removed.
public boolean containsKey(java.net.URL key)
Dictionary
containsKey
in interface Dictionary<java.net.URL,java.lang.Object>
key
- The key whose presence in the dictionary is to be tested.
public boolean isEmpty()
Dictionary
isEmpty
in interface Dictionary<java.net.URL,java.lang.Object>
public java.util.Iterator<java.net.URL> iterator()
iterator
in interface java.lang.Iterable<java.net.URL>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |