From bfe2cae280d1b35c219bbbd18bc35e662f3a783e Mon Sep 17 00:00:00 2001 From: Claude Warren Date: Tue, 21 May 2024 12:40:27 +0200 Subject: [PATCH] Update package-info.java as per review comments --- .../collections4/bloomfilter/package-info.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/package-info.java b/src/main/java/org/apache/commons/collections4/bloomfilter/package-info.java index bed8b05d47..b088e009e8 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/package-info.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/package-info.java @@ -45,8 +45,8 @@ * * * - *

There is an obvious association between the BitMap and the Index in that if bit 5 is enabled in the BitMap than the index must contain the index 5.

+ *

There is an obvious association between the BitMap and the Index in that if bit 5 is enabled in the BitMap than the Index must contain the value 5.

* * *

Implementation Notes

* *

The architecture is designed so that the implementation of the storage of bits is abstracted. Rather than specifying a * specific state representation we require that all Bloom filters implement the BitMapExtractor and IndexExtractor interfaces, - * Counting based Bloom filters implement {@code CellExtractor} as well. There are static + * Counting-based Bloom filters implement {@code CellExtractor} as well. There are static * methods in the various Extractor interfaces to convert from one type to another.

* *

Programs that utilize the Bloom filters may use the {@code BitMapExtractor} or {@code IndexExtractor} to retrieve @@ -114,7 +114,7 @@ *

Shape

* *

The Shape describes the Bloom filter using the number of bits and the number of hash functions. It can be specified - * by the number of exptected items and desired false positive rate.

+ * by the number of expected items and desired false positive rate.

* *

Hasher

*