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

ClassVector

public class ClassVector extends Object implements Serializable
Utility class implementing a (typesafe) collection of JavaClass objects. Contains the most important methods of a Vector.
version
$Id: ClassVector.java,v 1.1.2.1 2005/07/31 23:47:03 jeffsuttor 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;