Javadoc
This commit is contained in:
parent
98e2fc9683
commit
1d07ca4066
|
@ -132,7 +132,7 @@ public class EnhancedDoubleHasher implements Hasher {
|
||||||
/**
|
/**
|
||||||
* Performs a modulus calculation on an unsigned long and an integer divisor.
|
* Performs a modulus calculation on an unsigned long and an integer divisor.
|
||||||
* @param dividend a unsigned long value to calculate the modulus of.
|
* @param dividend a unsigned long value to calculate the modulus of.
|
||||||
* @param divisor the divisor for the modulus calculation.
|
* @param divisor the divisor for the modulus calculation (must be strictly positive).
|
||||||
* @return the remainder or modulus value.
|
* @return the remainder or modulus value.
|
||||||
*/
|
*/
|
||||||
static int mod(final long dividend, final int divisor) {
|
static int mod(final long dividend, final int divisor) {
|
||||||
|
|
|
@ -247,7 +247,7 @@ public abstract class AbstractBloomFilterTest<T extends BloomFilter> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests that the andCardinality calculations are correct.
|
* Tests that the estimated union calculations are correct.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public final void testEstimateUnion() {
|
public final void testEstimateUnion() {
|
||||||
|
|
Loading…
Reference in New Issue