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. SortedByteSet.java
        0.4 kB
        Christopher Sean Young
      2. ByteSet.java
        0.2 kB
        Christopher Sean Young
      3. ByteComparator.java
        0.3 kB
        Christopher Sean Young
      4. BitMaskByteSet.java
        13 kB
        Christopher Sean Young
      5. AbstractSortedByteSet.java
        1 kB
        Christopher Sean Young
      6. AbstractByteSet.java
        1 kB
        Christopher Sean Young

        Activity

        Christopher Sean Young created issue -
        Christopher Sean Young made changes -
        Field Original Value New Value
        Attachment ByteSet.java [ 12362928 ]
        Christopher Sean Young made changes -
        Attachment ByteSet.java [ 12362928 ]
        Hide
        Christopher Sean Young added a comment - - edited

        Attachment set 1

        Show
        Christopher Sean Young added a comment - - edited Attachment set 1
        Christopher Sean Young made changes -
        Attachment ByteSet.java [ 12362929 ]
        Attachment SortedByteSet.java [ 12362931 ]
        Attachment ByteComparator.java [ 12362930 ]
        Hide
        Christopher Sean Young added a comment -

        Attachment set 2

        Show
        Christopher Sean Young added a comment - Attachment set 2
        Christopher Sean Young made changes -
        Attachment AbstractByteSet.java [ 12362932 ]
        Attachment BitMaskByteSet.java [ 12362934 ]
        Attachment AbstractSortedByteSet.java [ 12362933 ]
        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
        Christopher Sean Young made changes -
        Environment This code was tested under Gentoo Linux with Sun's JDK version 1.6.0_r2 This code was tested under Gentoo Linux with Sun's JDK version 1.6.0_r2 and version 1.4.2
        Christopher Sean Young made changes -
        Environment This code was tested under Gentoo Linux with Sun's JDK version 1.6.0_r2 and version 1.4.2 This code was tested under Gentoo Linux with Sun's JDK version 1.6.0_r2 and version 1.4.2_r15
        Christopher Sean Young made changes -
        Environment This code was tested under Gentoo Linux with Sun's JDK version 1.6.0_r2 and version 1.4.2_r15 This code was tested under Gentoo Linux with Sun's JDK version 1.6.0_2 and version 1.4.2_15

          People

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

            Dates

            • Created:
              Updated:

              Development