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 2025/12/07 12:20:31 UTC
(commons-collections) branch master updated: 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-collections.git
The following commit(s) were added to refs/heads/master by this push:
new 1e126b307 Javadoc
1e126b307 is described below
commit 1e126b3078f40ebabc215a5cc0f24d47b0b0ddd4
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Dec 7 07:20:26 2025 -0500
Javadoc
---
src/main/java/org/apache/commons/collections4/list/TreeList.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/main/java/org/apache/commons/collections4/list/TreeList.java b/src/main/java/org/apache/commons/collections4/list/TreeList.java
index 309db07d6..778e93672 100644
--- a/src/main/java/org/apache/commons/collections4/list/TreeList.java
+++ b/src/main/java/org/apache/commons/collections4/list/TreeList.java
@@ -76,9 +76,11 @@ public class TreeList<E> extends AbstractList<E> {
* The nodes don't know the index of the object they are holding. They
* do know however their position relative to their parent node.
* This allows to calculate the index of a node while traversing the tree.
+ * </p>
* <p>
* The Faedelung calculation stores a flag for both the left and right child
* to indicate if they are a child (false) or a link as in linked list (true).
+ * </p>
*/
static class AVLNode<E> {
/** The left child node or the predecessor if {@link #leftIsPrevious}.*/
@@ -132,6 +134,7 @@ public class TreeList<E> extends AbstractList<E> {
* to this method will construct the subtree for elements {@code start}
* through {@code end} of the collection, assuming the iterator
* {@code e} already points at element {@code start}.
+ * </p>
*
* @param iterator an iterator over the collection, which should already point
* to the element at index {@code start} within the collection
@@ -949,6 +952,7 @@ public class TreeList<E> extends AbstractList<E> {
* <p>
* This method runs in O(n + log m) time, where m is
* the size of this list and n is the size of {@code c}.
+ * </p>
*
* @param c the collection to be added to this list
* @return {@code true} if this list changed as a result of the call