|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Container for identifiable objects.
Method Summary | |
void |
addIdentifiableObject(java.lang.String id,
java.lang.Object object)
Appends the specified object to the end of this container. |
void |
addIdentifiableObject(java.lang.String id,
java.lang.Object object,
float position)
Inserts the specified object at the specified position in this container. |
void |
clear()
Resets the container. |
java.util.List |
elementList()
Returns the list of objects. |
java.lang.Object |
getObject(java.lang.String id)
Returns an object by id. |
Method Detail |
public void addIdentifiableObject(java.lang.String id, java.lang.Object object)
id
- the object identifierobject
- the object add to the containerList.add(Object)
public void addIdentifiableObject(java.lang.String id, java.lang.Object object, float position)
Shifts the object currently at that position (if any) and any subsequent objects to the right (adds one to their indices).
id
- the object identifierobject
- the object add to the containerposition
- the insertion pointList.add(int, Object)
public void clear()
public java.util.List elementList()
Object
s.public java.lang.Object getObject(java.lang.String id)
id
- the id of the object
null
Map.get(Object)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |