TimurMahammadov / google-collections

Automatically exported from code.google.com/p/google-collections
Apache License 2.0
0 stars 0 forks source link

LinkedIdentityHashMap #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We could create a Map that merges IdentityHashMap and LinkedHashMap
functionality. It would use object references for lookup and follow the
insertion (or access) order.

Original issue reported on code.google.com by jared.l....@gmail.com on 25 Jun 2008 at 10:14

GoogleCodeExporter commented 9 years ago
but why?

Let's find three examples of existing, real code that would use this.  For 
starters.

Original comment by kevin...@gmail.com on 25 Jun 2008 at 10:33

GoogleCodeExporter commented 9 years ago
One example:

A LinkedIdentityHashMap, when set to access-order, could be used as an LRU 
cache in 
front of a soft-keyed ReferenceMap.

Original comment by pline...@gmail.com on 21 Oct 2008 at 1:10

GoogleCodeExporter commented 9 years ago
I think this is way too fringe.

Original comment by kevin...@gmail.com on 11 Feb 2009 at 12:54