diff --git a/src/com/skjegstad/utils/BloomFilter.java b/src/com/skjegstad/utils/BloomFilter.java index 03cbd76..39f2b10 100644 --- a/src/com/skjegstad/utils/BloomFilter.java +++ b/src/com/skjegstad/utils/BloomFilter.java @@ -35,7 +35,7 @@ * http://blog.locut.us/2008/01/12/a-decent-stand-alone-java-bloom-filter-implementation/ * * @param Object type that is to be inserted into the Bloom filter, e.g. String or Integer. - * @author Magnus Skjegstad + * @author Magnus Skjegstad <magnus@skjegstad.com> */ public class BloomFilter implements Serializable { private BitSet bitset; @@ -231,7 +231,7 @@ public int hashCode() { /** * Calculates the expected probability of false positives based on * the number of expected filter elements and the size of the Bloom filter. - *

+ *

* The value returned by this method is the expected rate of false * positives, assuming the number of inserted elements equals the number of * expected elements. If the number of elements in the Bloom filter is less @@ -269,8 +269,8 @@ public double getFalsePositiveProbability() { /** - * Returns the value chosen for K.
- *
+ * Returns the value chosen for K.
+ *
* K is the optimal number of hash functions based on the size * of the Bloom filter and the expected number of inserted elements. *