org.apache.commons.javaflow.bytecode
Class Stack
java.lang.Object
org.apache.commons.javaflow.bytecode.Stack
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- StackRecorder
public class Stack
- extends java.lang.Object
- implements java.io.Serializable
Stack to store the frame information along the invocation trace.
- Version:
- CVS $Id: Stack.java 480487 2006-11-29 08:54:42Z bayard $
- Author:
- Torsten Curdt, Stephan Michels
- See Also:
- Serialized Form
Field Summary |
protected java.lang.Runnable |
runnable
|
Constructor Summary |
Stack(java.lang.Runnable pRunnable)
|
Stack(Stack pParent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
runnable
protected java.lang.Runnable runnable
Stack
public Stack(java.lang.Runnable pRunnable)
Stack
public Stack(Stack pParent)
hasDouble
public boolean hasDouble()
popDouble
public double popDouble()
hasFloat
public boolean hasFloat()
popFloat
public float popFloat()
hasInt
public boolean hasInt()
popInt
public int popInt()
hasLong
public boolean hasLong()
popLong
public long popLong()
hasObject
public boolean hasObject()
popObject
public java.lang.Object popObject()
hasReference
public boolean hasReference()
popReference
public java.lang.Object popReference()
pushDouble
public void pushDouble(double d)
pushFloat
public void pushFloat(float f)
pushInt
public void pushInt(int i)
pushLong
public void pushLong(long l)
pushObject
public void pushObject(java.lang.Object o)
pushReference
public void pushReference(java.lang.Object o)
isSerializable
public boolean isSerializable()
isEmpty
public boolean isEmpty()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.