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

Provide maps with direct indexed access to the entries [PATCH]

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 3.1
    • 4.x
    • Map
    • None
    • Operating System: Windows XP
      Platform: PC

    • 32801

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sergei_ivanov@vpost.ru Sergei S. Ivanov
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: