We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f706e4d commit 5e4cadeCopy full SHA for 5e4cade
2 files changed
fastfilter/src/main/java/com/github/fastfilter/Filter.java
@@ -59,6 +59,7 @@ default void remove(long key) {
59
/**
60
* Get the number of set bits. This should be 0 for an empty filter.
61
*
62
+ * @return the number of bits
63
*/
64
default long cardinality() {
65
return -1;
fastfilter/src/main/java/com/github/fastfilter/bloom/count/Select.java
@@ -142,7 +142,7 @@ public class Select {
142
143
144
* Get the position of the n-th bit. Position 0 is the first bit (e.g. x = 1).
145
- * Undefined if n >= number of bits in x.
+ * Undefined if n is larger or equal the number of bits in x.
146
147
* @param x the value
148
* @param n the bit
0 commit comments