Skip to content

Commit

Permalink
Fix javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavo committed May 29, 2024
1 parent 0782dbb commit af3984f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* Represents an operation that accepts an index and an object-valued argument, and returns no result.
*
* <p>This is a functional interface whose functional method is {@link #accept(int, Object)}.
* <p>This is a functional interface whose functional method is {@link #accept(long, Object)}.
*
* @param <T> the type of the input to the operation
* @author Glavo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* Represents a function that accepts an index and an object-valued argument, and produces a result.
*
* <p>This is a functional interface whose functional method is {@link #apply(int, Object)}.
* <p>This is a functional interface whose functional method is {@link #apply(long, Object)}.
*
* @param <T> the type of the input to the function
* @param <R> the type of the result of the function
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ public IndexedTree<V> minus(final long key) {
/**
* Changes every key k>=key to k+delta.
*
* <p>This method will create an _invalid_ tree if delta<0 and the distance between the smallest
* k>=key in this and the largest j<key in this is |delta| or less.
* <p>This method will create an _invalid_ tree if delta&lt;0 and the distance between the smallest
* k&gt;=key in this and the largest j&lt;key in this is |delta| or less.
*
* <p>In other words, this method must not result in any change in the order of the keys in this,
* since the tree structure is not being changed at all.
Expand All @@ -147,9 +147,9 @@ public IndexedTree<V> changeKeysAbove(final long key, final int delta) {
}

/**
* Changes every key k<key to k+delta.
* Changes every key k&lt;key to k+delta.
*
* <p>This method will create an _invalid_ tree if delta>0 and the distance between the largest
* <p>This method will create an _invalid_ tree if delta&gt;0 and the distance between the largest
* k<key in this and the smallest j>=key in this is delta or less.
*
* <p>In other words, this method must not result in any overlap or change in the order of the
Expand Down

0 comments on commit af3984f

Please sign in to comment.