Class 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/2005
    Utility 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 long serialVersionUID
      Deprecated.
       
      protected java.util.List<JavaClass> vec
      Deprecated.
      Will be made private; do not access directly, use getter/setter.
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassVector()
      Deprecated.
      Constructs a new ClassVector.
    • 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.
    • 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.
      • 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.