Groups
Groups
Sign in
Groups
Groups
Google Collections Library - users list
Conversations
About
Send feedback
Help
Weak Concurrent HashMap
111 views
Skip to first unread message
ramus
unread,
Aug 10, 2009, 3:03:03 PM
8/10/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Collections Library - users list
I want a WeakHashMap that supports Concurrent Access (similar to
j.u.c.ConcurrentHashMap)
Would I be right in implementing this with
CustomConcurrentHashMap.Builder where the strategy is implemented
using WeakHashMap internally?
Thanks!
Kevin Bourrillion
unread,
Aug 10, 2009, 3:29:10 PM
8/10/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ramus, Google Collections Library - users list
All you need to do is
Map<Foo, Bar> map = new MapMaker().weakKeys().makeMap();
--
Kevin Bourrillion @ Google
internal:
http://go/javalibraries
google-collections.googlecode.com
google-guice.googlecode.com
Reply all
Reply to author
Forward
0 new messages