|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jade.core.behaviours.ComplexBehaviour.BehaviourList
Inner class to implement a list of behaviours.
| Constructor Summary | |
ComplexBehaviour.BehaviourList()
Default constructor |
|
| Method Summary | |
void |
addElement(Behaviour b)
Add a new Behaviour to the end of the list. |
void |
begin()
Moves the list cursor to the beginning. |
void |
end()
Moves the list cursor to the end. |
Behaviour |
getCurrent()
Reads the Behaviour pointed to by the list cursor. |
boolean |
isEmpty()
Tells whether this list is empty. |
boolean |
next()
Advances the list cursor by one. |
void |
popCurrent()
Retrieves a previously saved list cursor. |
void |
pushCurrent()
Save the list cursor on an internal stack. |
boolean |
removeElement(Behaviour b)
Remove a Behaviour from the list. |
int |
size()
Reads the current size of the list. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public ComplexBehaviour.BehaviourList()
| Method Detail |
public boolean isEmpty()
public void addElement(Behaviour b)
Behaviour to the end of the list.public boolean removeElement(Behaviour b)
Behaviour from the list.true if the element was present in the
list, false otherwise.public void pushCurrent()
public void popCurrent()
public Behaviour getCurrent()
Behaviour pointed to by the list cursor.public void begin()
public void end()
public boolean next()
true if the end of the list has been
reached.public int size()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||