public interface ObjectPool
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.Object key)
Returns an object from the pool, previously stored with the given key.
|
void |
store(java.lang.Object key,
java.lang.Object value)
Stores an object into the pool for later retrieval with the provided key.
|
java.lang.Object get(java.lang.Object key)
void store(java.lang.Object key, java.lang.Object value)