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.SerializableDeprecated.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
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDDeprecated.protected java.util.List<JavaClass>vecDeprecated.Will be made private; do not access directly, use getter/setter.
-
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.private voidreadObjectNoData()Deprecated.voidremoveElementAt(int index)Deprecated.Removes the JavaClass at the specified index.JavaClass[]toArray()Deprecated.Converts the vector to an array.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Deprecated.- See Also:
- Constant Field Values
-
vec
@Deprecated protected transient java.util.List<JavaClass> vec
Deprecated.Will be made private; do not access directly, use getter/setter.The vector of JavaClass objects.
-
-
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.
-
readObjectNoData
private void readObjectNoData()
Deprecated.
-
removeElementAt
public void removeElementAt(int index)
Deprecated.Removes the JavaClass at the specified index.- Parameters:
index- the index.
-
toArray
public JavaClass[] toArray()
Deprecated.Converts the vector to an array.- Returns:
- an array of JavaClass objects.
-
-