|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Pool
Interface for a Pool
Method Summary | |
---|---|
boolean |
exists(Object key)
checks if Object exists in Pool |
PoolHandler |
get(Object key)
gets a Object from the pool |
boolean |
remove(Object key)
remove a Object from the pool |
void |
set(Object key,
PoolHandler handler)
adds a new object to the pool, if object is already in the Pool, it will be overwritten |
Method Detail |
---|
void set(Object key, PoolHandler handler)
key
- key for the Objectshandler
- pool handler objectPoolHandler get(Object key)
key
- key for the Objects
boolean exists(Object key)
key
- key for the Objects
boolean remove(Object key)
key
- key for the Objects
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |