|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectStore
The ObjectStore interface
An object that stores objects.
| Method Summary | |
|---|---|
Object |
get(Object key)
Returns the object bound with the specified name in this ObjectStore
implementation, or null if no object is bound under the name. |
Map<Object,Object> |
getAll()
Returns the Map of attributes bound in this ObjectStore |
void |
remove(Object key)
Removes the object bound with the specified name from this ObjectStore
implementation. |
void |
set(Object key,
Object value)
Binds an object to this ObjectStore implementation, using the name
specified. |
| Method Detail |
|---|
void set(Object key,
Object value)
ObjectStore implementation, using the name
specified. If an object of the same name is already bound, the object
is replaced.
key - The key against which the object is bound; cannot be null.value - The object to be bound; cannot be null.Object get(Object key)
ObjectStore
implementation, or null if no object is bound under the name.
key - The key against which the object is bound; cannot be null.
ObjectStore
implementation, or null if no object is bound under the name.Map<Object,Object> getAll()
ObjectStore
ObjectStorevoid remove(Object key)
ObjectStore
implementation. If the ObjectStoree implementation does
not have an object bound with the specified name, this method does nothing.
key - The key against which the object is bound; cannot be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||