E
- public abstract class Container<E> extends java.lang.Object implements Basic
Constructor and Description |
---|
Container(Model model,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
boolean |
addToContainer(java.lang.String entityId,
E value)
add an entity value with id entityId in to container
|
boolean |
containsInContainer(java.lang.String entityId)
check if it contains a entity with entityId
|
java.lang.String[] |
getAllContentFromContainer()
get an array with id's of all entities in container
|
E |
getFromContainer(java.lang.String id)
get entity with id, which is in container
|
Grafic |
getGrafic() |
java.lang.String |
getId() |
Model |
getModel() |
boolean |
removeFromContainer(java.lang.String entityId,
long time)
remove entityId from container. ????
|
int |
sizeOfContainer() |
public Container(Model model, java.lang.String id)
public java.lang.String getId()
getId
in interface ClassBasic
public boolean addToContainer(java.lang.String entityId, E value)
entityId
- value
- public boolean removeFromContainer(java.lang.String entityId, long time) throws ModelException
entityId
- time
- not usedModelException
public E getFromContainer(java.lang.String id)
id
- public boolean containsInContainer(java.lang.String entityId)
entityId
- public java.lang.String[] getAllContentFromContainer()
public int sizeOfContainer()