|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hops.dm.tad.stackact
public class stackact
stack of actions
Field Summary | |
---|---|
protected java.util.Stack |
m_stack
the stack |
Constructor Summary | |
---|---|
stackact()
Creates a new instance of stackact |
Method Summary | |
---|---|
void |
add(stackact src)
push all the elements of the stack in the same order of this stack |
void |
clear()
remove all the elements of the stack |
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 Stack. |
boolean |
contains(actionset actid)
|
boolean |
contains(actionset actid,
attrval attr)
Tests if an object with the specified attrval is a component of this Stack |
boolean |
contains(attrval attr)
Tests if an object with the specified attrval is a component of this Stack |
boolean |
contains(java.lang.String attr)
Tests if an element with the specified name is a component in this stack. |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. |
boolean |
equalsTo(stackact _w)
Indicates whether a stackact contains at least the same elements thab this one. |
action |
first()
Looks at the object at the top of this stack without removing it from the stack. |
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 Stack. |
action |
get(java.lang.String attr)
Returns the action with the same name |
int |
hashCode()
|
boolean |
is_empty()
Tests if there are any element in the stack |
action |
pop()
Removes the object at the top of this stack and returns that object as the value of this function, or an empty value if the stack is empty. |
void |
push(action _w)
Pushes an item onto the top of this stack. |
void |
raise(action _w)
search the item in the stack and put it onto the top of the stack |
void |
remove(action _w)
remove the element from the stack |
void |
remove(int i)
remove the element in the specified position |
int |
search(action _w)
Searches the index for the specified object. |
void |
set(int i,
action actin)
set the specified element in the specified position if the stack has at least such elements |
int |
size()
Returns the number of components in this Stack. |
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.Stack m_stack
Constructor Detail |
---|
public stackact()
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(stackact _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 pop()
public void push(action _w)
public void raise(action _w)
public action first()
public void add(stackact src)
public void clear()
public void remove(action _w)
public void remove(int i)
public boolean contains(action _w)
public boolean contains(actionset actid)
public boolean contains(attrval attr)
public boolean contains(actionset actid, attrval attr)
public boolean contains(java.lang.String attr)
public action get(java.lang.String attr)
public action get(actionset actid)
public action get(int i)
public void set(int i, action actin)
public int size()
public int search(action _w)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |