Skip to content

Commit

Permalink
improve typedoc
Browse files Browse the repository at this point in the history
  • Loading branch information
folkvir committed Nov 5, 2024
1 parent fc60c02 commit f448b2b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/bloom/counting-bloom-filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export default class CountingBloomFilter

/**
* Check if another Counting Bloom Filter is equal to this one
* @param filter - The filter to compare to this one
* @param other - The filter to compare to this one
* @return True if they are equal, false otherwise
*/
public equals(other: CountingBloomFilter): boolean {
Expand Down
2 changes: 1 addition & 1 deletion src/bloom/partitioned-bloom-filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export default class PartitionedBloomFilter

/**
* Check if another Partitioned Bloom Filter is equal to this one
* @param filter - The filter to compare to this one
* @param other - The filter to compare to this one
* @return True if they are equal, false otherwise
*/
public equals(other: PartitionedBloomFilter): boolean {
Expand Down
2 changes: 1 addition & 1 deletion src/bloom/xor-filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ export default class XorFilter extends BaseFilter {
* Follow the algorithm 2 and 3 of the paper (@see https://arxiv.org/pdf/1912.08258.pdf)
* Inspired by Go impl from (@see https://github.com/FastFilter/xorfilter/blob/master/xorfilter.go)
* @param elements array of elements to add in the filter
* @param arraylength length of the filter
* @param arrayLength length of the filter
* @returns
*/
public _create(elements: XorHashableInput[], arrayLength: number) {
Expand Down
2 changes: 1 addition & 1 deletion src/iblt/invertible-bloom-lookup-tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export default class InvertibleBloomFilter

/**
* Substract the filter with another {@link InvertibleBloomFilter}, and returns the resulting filter.
* @param remote - The filter to substract with
* @param iblt - The filter to substract with
* @return A new InvertibleBloomFilter which is the XOR of the local and remote one
*/
public substract(iblt: InvertibleBloomFilter): InvertibleBloomFilter {
Expand Down
2 changes: 1 addition & 1 deletion src/sketch/count-min-sketch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export default class CountMinSketch

/**
* Check if another Count Min Sketch is equal to this one
* @param filter - The filter to compare to this one
* @param other - The filter to compare to this one
* @return True if they are equal, false otherwise
*/
public equals(other: CountMinSketch): boolean {
Expand Down

0 comments on commit f448b2b

Please sign in to comment.