Package org.apache.bcel.util
Class ClassVector
java.lang.Object
org.apache.bcel.util.ClassVector
- All Implemented Interfaces:
Serializable
Deprecated.
as of 5.1.1 - 7/17/2005
Utility class implementing a (typesafe) collection of JavaClass objects. Contains the most important methods of a
Vector.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longDeprecated.Deprecated.Will be made private; do not access directly, use getter/setter. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddElement(JavaClass clazz) Deprecated.Adds a JavaClass to the vector.elementAt(int index) Deprecated.Gets the JavaClass at the specified index.private voidDeprecated.Initializes the vector when deserializing without data.voidremoveElementAt(int index) Deprecated.Removes the JavaClass at the specified index.toArray()Deprecated.Converts the vector to an array.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDDeprecated.- See Also:
-
vec
Deprecated.Will be made private; do not access directly, use getter/setter.The vector of JavaClass objects.
-
-
Constructor Details
-
ClassVector
public ClassVector()Deprecated.Constructs a new ClassVector.
-
-
Method Details
-
addElement
Deprecated.Adds a JavaClass to the vector.- Parameters:
clazz- The JavaClass to add.
-
elementAt
Deprecated.Gets the JavaClass at the specified index.- Parameters:
index- The index.- Returns:
- The JavaClass at the specified index.
-
readObjectNoData
private void readObjectNoData()Deprecated.Initializes the vector when deserializing without data. -
removeElementAt
public void removeElementAt(int index) Deprecated.Removes the JavaClass at the specified index.- Parameters:
index- The index.
-
toArray
Deprecated.Converts the vector to an array.- Returns:
- An array of JavaClass objects.
-