BloomFilter

Bloom Filter Implementation

License

License

GroupId

GroupId

me.masahito
ArtifactId

ArtifactId

bloomfilter
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

BloomFilter
Bloom Filter Implementation
Project URL

Project URL

https://github.com/masahitojp/java-bloomfilter
Source Code Management

Source Code Management

https://github.com/masahitojp/java-bloomfilter

Download bloomfilter

How to add to project

<!-- https://jarcasting.com/artifacts/me.masahito/bloomfilter/ -->
<dependency>
    <groupId>me.masahito</groupId>
    <artifactId>bloomfilter</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/me.masahito/bloomfilter/
implementation 'me.masahito:bloomfilter:0.1.0'
// https://jarcasting.com/artifacts/me.masahito/bloomfilter/
implementation ("me.masahito:bloomfilter:0.1.0")
'me.masahito:bloomfilter:jar:0.1.0'
<dependency org="me.masahito" name="bloomfilter" rev="0.1.0">
  <artifact name="bloomfilter" type="jar" />
</dependency>
@Grapes(
@Grab(group='me.masahito', module='bloomfilter', version='0.1.0')
)
libraryDependencies += "me.masahito" % "bloomfilter" % "0.1.0"
[me.masahito/bloomfilter "0.1.0"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

bloomfilter implementation

Maven Central Build Status Coverage Status License: Apache Licence, Version 2.0

Counting BloomFilter for Java SE 8.

Usage

// capacity: 1000, error_rate: 0.001(= 0.1%)
final BloomFilter<String> bf1 = new BloomFilter<>(1000, 0.01);
bf.add("test");
bf.contains("test");   // => true
bf.contains("blah");   // => false

bf.delete("test");
bf.contains("test");   // => false

Use with Maven

you can get this artifact from Maven Central Repository :)

<dependencies>
  <dependency>
      <groupId>me.masahito</groupId>
      <artifactId>bloomfilter</artifactId>
      <version>0.1.0</version>
  </dependency>
</dependencies>

Use with Gradle

repositories {
    mavenCentral()
}
dependencies {
    compile 'me.masahito:bloomfilter:0.1.0'
}

Prerequisites

  • JDK8+

License

Apache License, Version 2.0

Versions

Version
0.1.0