commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Thomas (JIRA)" <>
Subject [jira] Created: (COLLECTIONS-347) [contribution] LimitedSizeFifoMap
Date Fri, 18 Dec 2009 21:16:38 GMT
[contribution] LimitedSizeFifoMap

                 Key: COLLECTIONS-347
             Project: Commons Collections
          Issue Type: New Feature
          Components: Map
            Reporter: Michael Thomas
            Priority: Minor

The {{LimitedSizeFifoMap}} never exceeds a given element limit by deleting old entries, whenever
new ones are inserted. It may be of use for caches holding memory-intense objects (it is for
me, anyway).

The patch contains:
* the marker interface {{LimitedSizeMap}}
* the fully documented implementation {{LimitedSizeFifoMap}}, which deletes oldest items first
* the accompanying unit test

If you find anything that needs improvement, please let me know.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message