Class ClassVector

java.lang.Object
org.apache.bcel.util.ClassVector
All Implemented Interfaces:
Serializable

@Deprecated public class ClassVector extends Object implements 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 Details

    • vec

      @Deprecated protected transient List<JavaClass> 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

      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.
    • toArray

      public JavaClass[] toArray()
      Deprecated.
      Converts the vector to an array.
      Returns:
      an array of JavaClass objects.