|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--net.openai.ai.nn.gui.data.AbstractDataObject
|
+--net.openai.ai.nn.gui.data.DataContainer
Generic container for DataObjects. The object holds a ID-Ordered List of DataObjects
| Constructor Summary | |
DataContainer()
Creates a empty DataContainer |
|
| Method Summary | |
DataObject |
get(long lID)
Returns the DataObject with the given key. |
java.util.Iterator |
iterator()
Returns an iterator over all childobjects of this container |
protected void |
put(DataObject o)
Stores a Object with its own ID If there is already a object with this key, it will be overwritten! |
void |
remove(long lID)
Removes the object with the given key |
void |
reorder()
Reorders the ID of the Elements |
long |
size()
returns the amount of childs in this container |
| Methods inherited from class net.openai.ai.nn.gui.data.AbstractDataObject |
getID, getParent, getSibbling, setID, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataContainer()
| Method Detail |
protected void put(DataObject o)
o - Object to be storedpublic DataObject get(long lID)
lID - ID of the requested object
public void remove(long lID)
lID - Key of the object that should be removedpublic java.util.Iterator iterator()
public long size()
public void reorder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||