Skip to content

Commit 5e4cade

Browse files
committed
Fix javadocs comments
1 parent f706e4d commit 5e4cade

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

fastfilter/src/main/java/com/github/fastfilter/Filter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ default void remove(long key) {
5959
/**
6060
* Get the number of set bits. This should be 0 for an empty filter.
6161
*
62+
* @return the number of bits
6263
*/
6364
default long cardinality() {
6465
return -1;

fastfilter/src/main/java/com/github/fastfilter/bloom/count/Select.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public class Select {
142142

143143
/**
144144
* 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.
145+
* Undefined if n is larger or equal the number of bits in x.
146146
*
147147
* @param x the value
148148
* @param n the bit

0 commit comments

Comments
 (0)