Fix Javadoc code elements
This commit is contained in:
parent
32c68b7e89
commit
ac05d8fdbe
|
@ -62,7 +62,7 @@ public final class ArrayCountingBloomFilter implements CountingBloomFilter {
|
|||
private final int[] cells;
|
||||
|
||||
/**
|
||||
* The state flag. This is a bitwise @{code OR} of the entire history of all updated
|
||||
* The state flag. This is a bitwise {@code OR} of the entire history of all updated
|
||||
* cells. If negative then a negative cell or integer overflow has occurred on
|
||||
* one or more cells in the history of the filter and the state is invalid.
|
||||
*
|
||||
|
|
|
@ -19,10 +19,10 @@ package org.apache.commons.collections4.bloomfilter;
|
|||
import java.util.function.LongPredicate;
|
||||
|
||||
/**
|
||||
* A long predicate that applies the test func to each member of the @{code ary} in sequence for each call to @{code test()}.
|
||||
* if the @{code ary} is exhausted, the subsequent calls to @{code test} are executed with a zero value.
|
||||
* If the calls to @{code test} do not exhaust the @{code ary} the @{code forEachRemaining} method can be called to
|
||||
* execute the @code{text} with a zero value for each remaining @{code idx} value.
|
||||
* A long predicate that applies the test func to each member of the {@code ary} in sequence for each call to {@code test()}.
|
||||
* if the {@code ary} is exhausted, the subsequent calls to {@code test} are executed with a zero value.
|
||||
* If the calls to {@code test} do not exhaust the {@code ary} the {@code forEachRemaining} method can be called to
|
||||
* execute the @code{text} with a zero value for each remaining {@code idx} value.
|
||||
*/
|
||||
class CountingLongPredicate implements LongPredicate {
|
||||
private int idx;
|
||||
|
@ -30,9 +30,9 @@ class CountingLongPredicate implements LongPredicate {
|
|||
private final LongBiPredicate func;
|
||||
|
||||
/**
|
||||
* Constructs an instance that will compare the elements in @{code ary} with the elements returned by @{code func}.
|
||||
* function is called as @{code func.test( idxValue, otherValue )}. If there are more @{code otherValue} values than
|
||||
* @{code idxValues} then @{code func} is called as @{code func.test( 0, otherValue )}.
|
||||
* Constructs an instance that will compare the elements in {@code ary} with the elements returned by {@code func}.
|
||||
* function is called as {@code func.test( idxValue, otherValue )}. If there are more {@code otherValue} values than
|
||||
* {@code idxValues} then {@code func} is called as {@code func.test( 0, otherValue )}.
|
||||
* @param ary The array of long values to compare.
|
||||
* @param func The function to apply to the pairs of long values.
|
||||
*/
|
||||
|
|
|
@ -27,7 +27,7 @@ public interface Hasher {
|
|||
/**
|
||||
* Creates an IndexProducer for this hasher based on the Shape.
|
||||
*
|
||||
* <p>The @{code IndexProducer} will create indices within the range defined by the number of bits in
|
||||
* <p>The {@code IndexProducer} will create indices within the range defined by the number of bits in
|
||||
* the shape. The total number of indices will respect the number of hash functions per item
|
||||
* defined by the shape. However the count of indices may not be a multiple of the number of
|
||||
* hash functions if the implementation has removed duplicates.</p>
|
||||
|
|
|
@ -53,7 +53,7 @@ import org.junit.jupiter.api.Test;
|
|||
* <p>
|
||||
* You should create a concrete subclass of this class to test any custom
|
||||
* {@link Collection} implementation. At minimum, you'll have to
|
||||
* implement the @{@link #makeObject()}, {@link #makeConfirmedCollection()}
|
||||
* implement the {@link #makeObject()}, {@link #makeConfirmedCollection()}
|
||||
* and {@link #makeConfirmedFullCollection()} methods.
|
||||
* You might want to override some of the additional public methods as well:
|
||||
* <p>
|
||||
|
|
Loading…
Reference in New Issue