You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/07/24 04:20:54 UTC

DO NOT REPLY [Bug 35837] New: - [primitives][patch] - Specialized ByteList implementation for singletons

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35837>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35837

           Summary: [primitives][patch] - Specialized ByteList
                    implementation for singletons
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Primitives
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: nbeyer@kc.rr.com


The attached patch contains a change to the ByteCollections#singletonByteList,
which uses a new implementation of ByteList, which is unmodifiable and oriented
for a single element. Additionally, I've added a new test method to verify the
serialization of the new implementation.

Additional comments and javadoc can be added, if desired.

If the implementation is seen as appropriate, I can easily replicate this for
the other primitive 'xCollections' classes.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org