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

ClassQueue

public class ClassQueue extends Object
Utility class implementing a (typesafe) queue of JavaClass objects.
version
$Id: ClassQueue.java,v 1.1.1.1 2001/10/29 20:00:29 jvanzyl Exp $
author
M. Dahm
see
ClassVector

Fields Summary
protected int
left
private ArrayList
vec
Constructors Summary
Methods Summary
public com.sun.org.apache.bcel.internal.classfile.JavaClassdequeue()

    JavaClass clazz = (JavaClass)vec.get(left);
    vec.remove(left++);
    return clazz;
  
public booleanempty()

 return vec.size() <= left; 
public voidenqueue(com.sun.org.apache.bcel.internal.classfile.JavaClass clazz)


            vec.add(clazz);