[rfc][icedtea-web] TimedHashMap

Andrew Azores aazores at redhat.com
Fri May 9 16:02:09 UTC 2014


Hi,

I've attached some quick tests for TimedHashMap to ensure that the 
entries actually expire as they are claimed to.

Would it be worth expanding on this class to make it actually implement 
the Map interface, keep its composed Maps private, and refactor it to 
only be composed of one map rather than two? It's obviously not needed 
right now, but I can't help but feel that this is a pretty poor 
implementation of a "HashMap" that it claims to be.

Thanks,

-- 
Andrew A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: timedhashmap-1.patch
Type: text/x-patch
Size: 3485 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140509/a1adcb6a/timedhashmap-1.patch>


More information about the distro-pkg-dev mailing list