Uploaded image for project: 'Commons Collections'
  1. Commons Collections
  2. COLLECTIONS-818

BloomFilter: convert to characteristics flag

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Done
    • 4.5.0-M1
    • 4.5.0-M1
    • Collection
    • None

    Description

      https://github.com/Claudenw/commons-collections/blob/9f2945cc98747893456b73f42ab53f46a866ac37/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilter.java#L51

       
      As with IndexProducer this could be replaced with a characteristics flag:

       
      int characteristics();
      Currently the only characteristic is sparse. Are there any other characteristics to report that may be of use? This would allow them to be added without adding more methods to the interface.

      Attachments

        Issue Links

          Activity

            People

              claude Claude Warren
              claude Claude Warren
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: