On Mon, 2005-06-20 at 09:04 -0600, Tom Tromey wrote:
Keith == Keith Seitz [EMAIL PROTECTED] writes:
Keith Unfortunately, with the WeakHashMap, there is no way to get the keys
put
Keith into a ReferenceQueue (that I can see at least). Consequently, I'll
Keith never know when to clean up
Hi,
Okay, here'e where the weirdness starts. The ID manager (not yet
submitted) keeps a table which map objects to IDs. This is used to
quickly lookup Objects to see if they have an ID associated with them
already.
The ReferenceKey class is a SoftReference class with some logic to allow
the ID
Keith Seitz wrote:
Okay, here'e where the weirdness starts. The ID manager (not yet
submitted) keeps a table which map objects to IDs. This is used to
quickly lookup Objects to see if they have an ID associated with them
already.
The ReferenceKey class is a SoftReference class with some logic
On Fri, 2005-06-17 at 14:47 -0500, Archie Cobbs wrote:
Coupla questions. Disclaimer: I haven't really been paying attention,
so ignore me if these are stupid irrelevant..
Nothing is irrelevant: I'm a Java newbie.
- Could java.util.WeakHashMap be used instead of writing your own?
See