|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
protected static interface AbstractProvidingRegistry.ItemsStorage<K extends java.io.Serializable,V extends java.io.Serializable>
Interface with represents storage used by registry to store registered values internally
| Method Summary | |
|---|---|
boolean |
add(K aKey,
V aValue)
Adds value to the storage |
void |
clear()
Clears all storage content |
java.util.List<java.util.Map.Entry<K,V>> |
getItems()
Returns list of entires for registered items |
java.util.List<V> |
getItems(K aKey)
Returns list of values which are registered under given key |
boolean |
isMultiValued()
Allows to check whether storage allows to store several values under the same key |
void |
remove(K aKey)
Removes items stored under given key |
| Method Detail |
|---|
boolean add(K aKey,
V aValue)
aKey - key of itemaValue - value of item
java.util.List<java.util.Map.Entry<K,V>> getItems()
void remove(K aKey)
aKey - key of itemvoid clear()
boolean isMultiValued()
java.util.List<V> getItems(K aKey)
aKey - key of item
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||