|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hops.dm.tad.queueact
public class queueact
queue of action
Field Summary | |
---|---|
protected java.util.ArrayList |
m_queue
the queue |
Constructor Summary | |
---|---|
queueact()
Creates a new instance of queueact |
Method Summary | |
---|---|
void |
clear()
remove all the elements of the queue |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
contains(action _w)
Tests if the specified object is a component in this queue. |
boolean |
contains(actionset actid)
|
boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. |
boolean |
equalsTo(queueact _w)
Indicates whether a queue contains at least the same elements thab this one. |
action |
first()
Looks at the object at the head of this queue without removing it from the queu. |
action |
get(action act)
Returns the first element found that is equals to the specified element |
action |
get(actionlevel al,
polarity p)
Returns the first element found that has feedback is equals to the specified element |
action |
get(actionset actid)
Returns the first element found with the specified actionset |
action |
get(int i)
Returns the element at the specified position in this queue. |
java.util.ArrayList |
getAll(actionlevel al,
polarity p)
returns all the elements that matches the condition |
java.lang.String |
getValueOf(java.lang.String name)
returns the value of the action named "name" |
int |
hashCode()
|
boolean |
is_empty()
Tests if there are any element in the queue |
action |
pop()
Removes the object at the head of this queue and returns that object as the value of this function, or an empty value if the queue is empty. |
void |
push(action _w)
Pushes an item onto the head of this queue. |
void |
remove(action act)
remove the element from the queue |
int |
search(action _act)
Searches the index for the specified object. |
int |
size()
Returns the number of components in this queue. |
java.lang.String |
toFriendString()
Returns a string representation of the object. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.util.ArrayList m_queue
Constructor Detail |
---|
public queueact()
Method Detail |
---|
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean equalsTo(queueact _w)
public boolean is_empty()
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toFriendString()
public action first()
public void push(action _w)
public action pop()
public void clear()
public void remove(action act)
public boolean contains(action _w)
public boolean contains(actionset actid)
public action get(action act)
public action get(actionset actid)
public action get(actionlevel al, polarity p)
public action get(int i)
public java.util.ArrayList getAll(actionlevel al, polarity p)
public java.lang.String getValueOf(java.lang.String name)
public int size()
public int search(action _act)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |