FileDocCategorySizeDatePackage
ClassStack.javaAPI DocJava SE 6 API3423Tue Jun 10 00:22:24 BST 2008com.sun.org.apache.bcel.internal.util

ClassStack

public class ClassStack extends Object implements Serializable
Utility class implementing a (typesafe) stack of JavaClass objects.
version
$Id: ClassStack.java,v 1.1.2.1 2005/07/31 23:47:00 jeffsuttor Exp $
author
M. Dahm
see
Stack

Fields Summary
private Stack
stack
Constructors Summary
Methods Summary
public booleanempty()

 return stack.empty(); 
public com.sun.org.apache.bcel.internal.classfile.JavaClasspop()

 return (JavaClass)stack.pop(); 
public voidpush(com.sun.org.apache.bcel.internal.classfile.JavaClass clazz)


            stack.push(clazz); 
public com.sun.org.apache.bcel.internal.classfile.JavaClasstop()

 return (JavaClass)stack.peek();