Skip to content

Fix a few typos in BloomFilter javadocs #653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ private void updateInternal(final long h0, final long h1) {

/**
* Updates the filter with the provided long and
* returns the result from quering that value prior to the update.
* returns the result from querying that value prior to the update.
* @param item an item with which to update the filter
* @return The query result prior to applying the update
*/
Expand All @@ -393,7 +393,7 @@ public boolean queryAndUpdate(final long item) {

/**
* Updates the filter with the provided double and
* returns the result from quering that value prior to the update.
* returns the result from querying that value prior to the update.
* The double is canonicalized (NaN and +/- infinity) in the call.
* @param item an item with which to update the filter
* @return The query result prior to applying the update
Expand All @@ -408,7 +408,7 @@ public boolean queryAndUpdate(final double item) {

/**
* Updates the filter with the provided String and
* returns the result from quering that value prior to the update.
* returns the result from querying that value prior to the update.
* The string is converted to a byte array using UTF8 encoding.
*
* <p>Note: this will not produce the same output hash values as the {@link #queryAndUpdate(char[])}
Expand All @@ -428,7 +428,7 @@ public boolean queryAndUpdate(final String item) {

/**
* Updates the filter with the provided byte[] and
* returns the result from quering that array prior to the update.
* returns the result from querying that array prior to the update.
* @param data an array with which to update the filter
* @return The query result prior to applying the update, or false if data is null
*/
Expand All @@ -440,7 +440,7 @@ public boolean queryAndUpdate(final byte[] data) {

/**
* Updates the filter with the provided char[] and
* returns the result from quering that array prior to the update.
* returns the result from querying that array prior to the update.
* @param data an array with which to update the filter
* @return The query result prior to applying the update, or false if data is null
*/
Expand All @@ -453,7 +453,7 @@ public boolean queryAndUpdate(final char[] data) {

/**
* Updates the filter with the provided short[] and
* returns the result from quering that array prior to the update.
* returns the result from querying that array prior to the update.
* @param data an array with which to update the filter
* @return The query result prior to applying the update, or false if data is null
*/
Expand All @@ -466,7 +466,7 @@ public boolean queryAndUpdate(final short[] data) {

/**
* Updates the filter with the provided int[] and
* returns the result from quering that array prior to the update.
* returns the result from querying that array prior to the update.
* @param data an array with which to update the filter
* @return The query result prior to applying the update, or false if data is null
*/
Expand All @@ -479,7 +479,7 @@ public boolean queryAndUpdate(final int[] data) {

/**
* Updates the filter with the provided long[] and
* returns the result from quering that array prior to the update.
* returns the result from querying that array prior to the update.
* @param data an array with which to update the filter
* @return The query result prior to applying the update, or false if data is null
*/
Expand All @@ -492,7 +492,7 @@ public boolean queryAndUpdate(final long[] data) {

/**
* Updates the filter with the provided Memory and
* returns the result from quering that Memory prior to the update.
* returns the result from querying that Memory prior to the update.
* @param mem an array with which to update the filter
* @return The query result prior to applying the update, or false if mem is null
*/
Expand Down Expand Up @@ -762,7 +762,7 @@ public static long getSerializedSize(final long numBits) {
* 3 ||---------------------------------NumBitsSet------------------------------------|
* </pre>
*
* The raw BitArray bits, if non-empty start at byte 24.
* The raw BitArray bits, if non-empty, start at byte 32.
*/

/**
Expand Down