|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.boris.xlloop.util.ObjectRegistry
public class ObjectRegistry
Used to contain objects and provides mapping to a generated key.
Constructor Summary | |
---|---|
ObjectRegistry()
|
Method Summary | |
---|---|
void |
clear()
Clear out the registry. |
java.lang.Object |
get(java.lang.String key)
Retrieve an object from the registry. |
java.lang.String[] |
getKeys()
Get the keys. |
java.lang.String |
put(java.lang.Object obj)
Place an object in the registry. |
void |
remove(java.lang.String key)
Remove an object from the registry. |
int |
size()
Get the size of the registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectRegistry()
Method Detail |
---|
public java.lang.String put(java.lang.Object obj)
obj.
-
public java.lang.String[] getKeys()
public java.lang.Object get(java.lang.String key)
key.
-
public void remove(java.lang.String key)
key.
- public void clear()
public int size()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |