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, reinit
protected void internalInit()
InitializableObject
internalInit
in class InitializableObject
public void set(K key, O value)
Store
public void remove(K key)
Store
protected abstract void internalRemove(K key)
Copyright © 2017. All rights reserved.