| |
|
| java.lang.Object biz.hammurapi.util.VisitorStack
VisitorStack | public class VisitorStack (Code) | | Provides visiting stack information.
author: Pavel Vlasov version: $Revision: 1.3 $ |
VisitorStack | VisitorStack()(Code) | | |
getStack | public List getStack()(Code) | | Unmodifiable stack |
getStack | public List getStack(Class clazz)(Code) | | Parameters: clazz - list of stack entries of given type. |
getStack | public List getStack(Class[] classes)(Code) | | Parameters: clases - list of stack entries of given types. |
isIn | public boolean isIn(Class clazz)(Code) | | Parameters: clazz - true if stack contains objects of type of the class. |
isIn | public boolean isIn(Class[] classes)(Code) | | Parameters: clases - true if stack contains objects of type of one of the classes. |
peek | public Object peek()(Code) | | Object from the top of the stack. |
pop | void pop(Object o)(Code) | | Removes objects before this object and the object itself from the stack.
== operator used for objects comparison
|
print | public void print()(Code) | | |
|
|
|