FileDocCategorySizeDatePackage
ClassStack.javaAPI DocJava SE 5 API3388Fri Aug 26 14:55:24 BST 2005com.sun.org.apache.bcel.internal.util

ClassStack

public class ClassStack extends Object
Utility class implementing a (typesafe) stack of JavaClass objects.
version
$Id: ClassStack.java,v 1.1.1.1 2001/10/29 20:00:29 jvanzyl 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();