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 84bad2c068..1ceb816479 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 @@ -26,13 +26,13 @@ * into another filter {@code A} by verifying that {@code (A & B) == B}.

* *

Bloom filters are generally used where hash tables would be too large, or as a filter front end for longer processes. - * For example most browsers have a Bloom filter that is built from all known bad URLs (ones that serve up malware). + * For example most browsers have a Bloom filter that is built from all known bad URLs (ones that serve up malicious software). * When you enter a URL the browser builds a Bloom filter and checks to see if it is "in" the bad URL filter. If not the * URL is good, if it matches, then the expensive lookup on a remote system is made to see if it actually is in the * list. There are lots of other uses, and in most cases the reason is to perform a fast check as a gateway for a longer * operation.

* - *

Some Bloom filters (e.g. CountingBloomFilter) use counters rather than bits. In this case each counter + *

Some Bloom filters (e.g. {@link CountingBloomFilter}) use counters rather than bits. In this case each counter * is called a {@code cell}.

* *

BloomFilter

@@ -44,38 +44,38 @@ *

Nomenclature

* * * - *

There is an obvious association between the BitMap and the Index, as defined above, in that if bit 5 is enabled in the - * BitMap than the Index must contain the value 5.

+ *

There is an obvious association between the bit map and the Index, as defined above, in that if bit 5 is enabled in the + * bit map 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 + * specific state representation we require that all Bloom filters implement the {@link BitMapExtractor} and {@link IndexExtractor} interfaces, + * Counting-based Bloom filters implement {@link 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 + *

Programs that utilize the Bloom filters may use the {@link BitMapExtractor} or {@link IndexExtractor} to retrieve * or process a representation of the internal structure. - * Additional methods are available in the {@code BitMaps} class to assist in manipulation of BitMap representations.

+ * Additional methods are available in the {@link BitMaps} class to assist in manipulation of bit map representations.

* *

The Bloom filter is an interface that requires implementation of 9 methods:

*