We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79e6a9d commit 4675394Copy full SHA for 4675394
1 file changed
src/main/java/org/apache/bcel/util/ClassVector.java
@@ -38,10 +38,21 @@ public class ClassVector implements Serializable {
38
@Deprecated
39
protected transient List<JavaClass> vec = new ArrayList<>();
40
41
+ /**
42
+ * Adds a JavaClass to the vector.
43
+ *
44
+ * @param clazz the JavaClass to add.
45
+ */
46
public void addElement(final JavaClass clazz) {
47
vec.add(clazz);
48
}
49
50
51
+ * Gets the JavaClass at the specified index.
52
53
+ * @param index the index.
54
+ * @return the JavaClass at the specified index.
55
56
public JavaClass elementAt(final int index) {
57
return vec.get(index);
58
0 commit comments