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=32801>.
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=32801

           Summary: provide maps with direct indexed access to the entries
           Product: Commons
           Version: 3.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Collections
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When I was implementing a new part of our large system I needed a sorted map,
where keys and corresponding values could also be accessed directly by index (as
in array or List). Both keyed and indexed access methods had to be efficient,
while insertions or removals needn't to be.
I was amazed to find absolutely no ready-to-use implementations, that's why I
decided to create my own.
I created a sorted map, which uses array as a backend storage. I borrowed some
internal implementation ideas from java.util.ArrayList, java.util.TreeMap and
org.apache.commons.collections.map.AbstractHashedMap and LinkedMap.
See attachment.
I hope you will find the idea useful.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to