@@ -381,7 +381,7 @@ private void updateInternal(final long h0, final long h1) {
381
381
382
382
/**
383
383
* Updates the filter with the provided long and
384
- * returns the result from quering that value prior to the update.
384
+ * returns the result from querying that value prior to the update.
385
385
* @param item an item with which to update the filter
386
386
* @return The query result prior to applying the update
387
387
*/
@@ -393,7 +393,7 @@ public boolean queryAndUpdate(final long item) {
393
393
394
394
/**
395
395
* Updates the filter with the provided double and
396
- * returns the result from quering that value prior to the update.
396
+ * returns the result from querying that value prior to the update.
397
397
* The double is canonicalized (NaN and +/- infinity) in the call.
398
398
* @param item an item with which to update the filter
399
399
* @return The query result prior to applying the update
@@ -408,7 +408,7 @@ public boolean queryAndUpdate(final double item) {
408
408
409
409
/**
410
410
* Updates the filter with the provided String and
411
- * returns the result from quering that value prior to the update.
411
+ * returns the result from querying that value prior to the update.
412
412
* The string is converted to a byte array using UTF8 encoding.
413
413
*
414
414
* <p>Note: this will not produce the same output hash values as the {@link #queryAndUpdate(char[])}
@@ -428,7 +428,7 @@ public boolean queryAndUpdate(final String item) {
428
428
429
429
/**
430
430
* Updates the filter with the provided byte[] and
431
- * returns the result from quering that array prior to the update.
431
+ * returns the result from querying that array prior to the update.
432
432
* @param data an array with which to update the filter
433
433
* @return The query result prior to applying the update, or false if data is null
434
434
*/
@@ -440,7 +440,7 @@ public boolean queryAndUpdate(final byte[] data) {
440
440
441
441
/**
442
442
* Updates the filter with the provided char[] and
443
- * returns the result from quering that array prior to the update.
443
+ * returns the result from querying that array prior to the update.
444
444
* @param data an array with which to update the filter
445
445
* @return The query result prior to applying the update, or false if data is null
446
446
*/
@@ -453,7 +453,7 @@ public boolean queryAndUpdate(final char[] data) {
453
453
454
454
/**
455
455
* Updates the filter with the provided short[] and
456
- * returns the result from quering that array prior to the update.
456
+ * returns the result from querying that array prior to the update.
457
457
* @param data an array with which to update the filter
458
458
* @return The query result prior to applying the update, or false if data is null
459
459
*/
@@ -466,7 +466,7 @@ public boolean queryAndUpdate(final short[] data) {
466
466
467
467
/**
468
468
* Updates the filter with the provided int[] and
469
- * returns the result from quering that array prior to the update.
469
+ * returns the result from querying that array prior to the update.
470
470
* @param data an array with which to update the filter
471
471
* @return The query result prior to applying the update, or false if data is null
472
472
*/
@@ -479,7 +479,7 @@ public boolean queryAndUpdate(final int[] data) {
479
479
480
480
/**
481
481
* Updates the filter with the provided long[] and
482
- * returns the result from quering that array prior to the update.
482
+ * returns the result from querying that array prior to the update.
483
483
* @param data an array with which to update the filter
484
484
* @return The query result prior to applying the update, or false if data is null
485
485
*/
@@ -492,7 +492,7 @@ public boolean queryAndUpdate(final long[] data) {
492
492
493
493
/**
494
494
* Updates the filter with the provided Memory and
495
- * returns the result from quering that Memory prior to the update.
495
+ * returns the result from querying that Memory prior to the update.
496
496
* @param mem an array with which to update the filter
497
497
* @return The query result prior to applying the update, or false if mem is null
498
498
*/
@@ -762,7 +762,7 @@ public static long getSerializedSize(final long numBits) {
762
762
* 3 ||---------------------------------NumBitsSet------------------------------------|
763
763
* </pre>
764
764
*
765
- * The raw BitArray bits, if non-empty start at byte 24 .
765
+ * The raw BitArray bits, if non-empty, start at byte 32 .
766
766
*/
767
767
768
768
/**
0 commit comments