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

ClassVector

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

Fields Summary
protected ArrayList
vec
Constructors Summary
Methods Summary
public voidaddElement(com.sun.org.apache.bcel.internal.classfile.JavaClass clazz)

  
            vec.add(clazz); 
public com.sun.org.apache.bcel.internal.classfile.JavaClasselementAt(int index)

 return (JavaClass)vec.get(index); 
public voidremoveElementAt(int index)

 vec.remove(index); 
public com.sun.org.apache.bcel.internal.classfile.JavaClass[]toArray()

    JavaClass[] classes = new JavaClass[vec.size()];
    vec.toArray(classes);
    return classes;