Skip to content

Commit 1e126b3

Browse files
committed
Javadoc
1 parent 2c314e0 commit 1e126b3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/org/apache/commons/collections4/list/TreeList.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,11 @@ public class TreeList<E> extends AbstractList<E> {
7676
* The nodes don't know the index of the object they are holding. They
7777
* do know however their position relative to their parent node.
7878
* This allows to calculate the index of a node while traversing the tree.
79+
* </p>
7980
* <p>
8081
* The Faedelung calculation stores a flag for both the left and right child
8182
* to indicate if they are a child (false) or a link as in linked list (true).
83+
* </p>
8284
*/
8385
static class AVLNode<E> {
8486
/** The left child node or the predecessor if {@link #leftIsPrevious}.*/
@@ -132,6 +134,7 @@ private AVLNode(final int relativePosition, final E obj,
132134
* to this method will construct the subtree for elements {@code start}
133135
* through {@code end} of the collection, assuming the iterator
134136
* {@code e} already points at element {@code start}.
137+
* </p>
135138
*
136139
* @param iterator an iterator over the collection, which should already point
137140
* to the element at index {@code start} within the collection
@@ -949,6 +952,7 @@ public void add(final int index, final E obj) {
949952
* <p>
950953
* This method runs in O(n + log m) time, where m is
951954
* the size of this list and n is the size of {@code c}.
955+
* </p>
952956
*
953957
* @param c the collection to be added to this list
954958
* @return {@code true} if this list changed as a result of the call

0 commit comments

Comments
 (0)