This commit is contained in:
aherbert 2023-06-12 11:34:14 +01:00
parent 98e2fc9683
commit 1d07ca4066
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ public class EnhancedDoubleHasher implements Hasher {
/**
* Performs a modulus calculation on an unsigned long and an integer divisor.
* @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.
*/
static int mod(final long dividend, final int divisor) {

View File

@ -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
public final void testEstimateUnion() {