Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.1, Nightly Builds
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      This code was tested under Gentoo Linux with Sun's JDK version 1.6.0_2 and version 1.4.2_15

      Description

      This is an interface (and supporting types) for a ByteSet. These interfaces should be easily made to fit for the other primitive types. Also, a fast implementation is given. (Should be constant time queries, additions, and removals). If you do include my name as an author, using the name "C. Sean Young" will do.

      BTW, this is my first first code submission to any free or open source project. I welcome any (constructive) criticisms.

      Legal Crud:
      I, Christopher Sean Young, hereby give the attached code to the Apache Commons Primitives Project of The Apache Software Foundation to do as they see fit. This includes, but is not limited to, editing, redistribution, and licensing.

      1. AbstractByteSet.java
        1 kB
        Christopher Sean Young
      2. AbstractSortedByteSet.java
        1 kB
        Christopher Sean Young
      3. BitMaskByteSet.java
        13 kB
        Christopher Sean Young
      4. ByteComparator.java
        0.3 kB
        Christopher Sean Young
      5. ByteSet.java
        0.2 kB
        Christopher Sean Young
      6. SortedByteSet.java
        0.4 kB
        Christopher Sean Young

        Activity

        Hide
        Christopher Sean Young added a comment -

        Indication that I did test this in 1.4 Java

        Show
        Christopher Sean Young added a comment - Indication that I did test this in 1.4 Java
        Hide
        Christopher Sean Young added a comment -

        Attachment set 2

        Show
        Christopher Sean Young added a comment - Attachment set 2
        Hide
        Christopher Sean Young added a comment - - edited

        Attachment set 1

        Show
        Christopher Sean Young added a comment - - edited Attachment set 1

          People

          • Assignee:
            Unassigned
            Reporter:
            Christopher Sean Young
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development