public abstract class AbstractStore<K,O> extends InitializableObject implements Store<K,O>
| Constructor and Description |
|---|
AbstractStore() |
| Modifier and Type | Method and Description |
|---|---|
O |
get(K key)
Get a value by key.
|
protected abstract O |
internalGet(K key) |
protected void |
internalInit()
Internal initialization of the object.
|
protected abstract void |
internalRemove(K key) |
protected abstract void |
internalSet(K key,
O value) |
void |
remove(K key)
Remove the value associated to the key.
|
void |
set(K key,
O value)
Set a value by its key.
|
init, reinitprotected void internalInit()
InitializableObjectinternalInit in class InitializableObjectpublic void set(K key, O value)
Storepublic void remove(K key)
Storeprotected abstract void internalRemove(K key)
Copyright © 2017. All Rights Reserved.