Package org.apache.bcel.util
Class ClassVector
- java.lang.Object
-
- org.apache.bcel.util.ClassVector
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class ClassVector extends java.lang.Object implements java.io.Serializable
Deprecated.as of 5.1.1 - 7/17/2005Utility class implementing a (typesafe) collection of JavaClass objects. Contains the most important methods of a Vector.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassVector()Deprecated.Constructs a new ClassVector.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddElement(JavaClass clazz)Deprecated.Adds a JavaClass to the vector.JavaClasselementAt(int index)Deprecated.Gets the JavaClass at the specified index.voidremoveElementAt(int index)Deprecated.Removes the JavaClass at the specified index.JavaClass[]toArray()Deprecated.Converts the vector to an array.
-
-
-
Constructor Detail
-
ClassVector
public ClassVector()
Deprecated.Constructs a new ClassVector.
-
-
Method Detail
-
addElement
public void addElement(JavaClass clazz)
Deprecated.Adds a JavaClass to the vector.- Parameters:
clazz- The JavaClass to add.
-
elementAt
public JavaClass elementAt(int index)
Deprecated.Gets the JavaClass at the specified index.- Parameters:
index- The index.- Returns:
- The JavaClass at the specified index.
-
removeElementAt
public void removeElementAt(int index)
Deprecated.Removes the JavaClass at the specified index.- Parameters:
index- The index.
-
-