Apache Commons Collections
Go to file
Alex Herbert e08f0be55b Revert CountingBloomFilter to ignore counts from another filter.
Partially removes changes made in commit:
6ad69bedd3

The class requires a revision to handle add/subtract of another
CountingBloomFilter. Restore the tests to check that Counting filters
are merged as if another non-counting filter type.

Remove the javadoc from the CountingBloomFilter methods that state it
uses the counts when merge/remove are called with a CountingBloomFilter
as this is not what the functionality currently performs.

Fix the merge with a hasher to only increment the count by 1 even if the
hasher contains duplicates. Add test to verify this works as documented.
This matches the remove functionality which removes duplicates before
subtraction.
2020-02-24 22:42:20 +00:00
.github/workflows Add GitHub Action build. 2019-12-25 10:27:20 -05:00
src Revert CountingBloomFilter to ignore counts from another filter. 2020-02-24 22:42:20 +00:00
.gitignore Initial bloom filter code contribution (#83) 2020-01-24 18:10:46 -05:00
.travis.yml Travis CI: Allow builds on openjdk-ea to fail. 2019-09-13 10:22:48 +02:00
CONTRIBUTING.md Prepate for release 4.4. 2019-07-05 13:43:30 -04:00
DEVELOPERS-GUIDE.html Drop Subversion Id keywords. 2019-10-17 17:28:50 -04:00
LICENSE.txt Change to Apache License 2.0 2004-02-18 01:00:08 +00:00
NOTICE.txt Update year in NOTICE.txt and changes.xml 2019->2020 2020-01-09 20:21:17 +13:00
PROPOSAL.html Fixed copyright header (committing in parts as the full commit timed out) 2006-11-29 07:41:17 +00:00
README.md Prepate for release 4.4. 2019-07-05 13:43:30 -04:00
RELEASE-NOTES.txt find and fix fixtypo (#88) 2019-10-17 08:40:55 -04:00
pom.xml Fixed checkstyle in tests. 2020-02-18 23:25:52 +00:00

README.md

Apache Commons Collections

Build Status Coverage Status Maven Central Javadocs

The Apache Commons Collections package contains types that extend and augment the Java Collections Framework.

Documentation

More information can be found on the Apache Commons Collections homepage. The Javadoc can be browsed. Questions related to the usage of Apache Commons Collections should be posted to the user mailing list.

Where can I get the latest release?

You can download source and binaries from our download page.

Alternatively you can pull it from the central Maven repositories:

<dependency>
  <groupId>org.apache.commons</groupId>
  <artifactId>commons-collections4</artifactId>
  <version>4.4</version>
</dependency>

Contributing

We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us:

  • No tabs! Please use spaces for indentation.
  • Respect the code style.
  • Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
  • Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running mvn clean test.

If you plan to contribute on a regular basis, please consider filing a contributor license agreement. You can learn more about contributing via GitHub in our contribution guidelines.

License

This code is under the Apache Licence v2.

See the NOTICE.txt file for required notices and attributions.

Donations

You like Apache Commons Collections? Then donate back to the ASF to support the development.

Additional Resources