You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2026/01/10 18:21:03 UTC
(commons-bcel) 12/31: Javadoc
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
commit 19846aba7d9b9f332f2d1cd2f858bc2003379e19
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 10 08:03:21 2026 -0500
Javadoc
---
src/main/java/org/apache/bcel/util/ClassVector.java | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/main/java/org/apache/bcel/util/ClassVector.java b/src/main/java/org/apache/bcel/util/ClassVector.java
index 9ebd22f6..bfd41518 100644
--- a/src/main/java/org/apache/bcel/util/ClassVector.java
+++ b/src/main/java/org/apache/bcel/util/ClassVector.java
@@ -68,10 +68,20 @@ public class ClassVector implements Serializable {
vec = new ArrayList<>();
}
+ /**
+ * Removes the JavaClass at the specified index.
+ *
+ * @param index the index.
+ */
public void removeElementAt(final int index) {
vec.remove(index);
}
+ /**
+ * Converts the vector to an array.
+ *
+ * @return an array of JavaClass objects.
+ */
public JavaClass[] toArray() {
return vec.toArray(JavaClass.EMPTY_ARRAY);
}