Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #3768
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!feeder.news-service.com!feeder.erje.net!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | Sebastian <sebastian@undisclosed.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Concurrent bidirectional one-to-many map? |
| Date | Sat, 07 May 2011 21:34:59 +0200 |
| Organization | albasani.net |
| Lines | 22 |
| Message-ID | <iq46t3$ueu$1@news.albasani.net> (permalink) |
| References | <iq1kf0$ee2$1@news.albasani.net> <iq1mmc$hbv$1@dont-email.me> <iq348b$iv1$1@news.albasani.net> <iq3c6t$466$1@news.albasani.net> <iq3t6v$8u3$1@news.albasani.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.albasani.net k5we9NjroWPI855S7GeNtqi3wv5qGvHu29Y3IFtazvZAT6IdgnpNTW6OUqDM5khnH76IR5RBFWze0Lk79I8B6Q== |
| NNTP-Posting-Date | Sat, 7 May 2011 19:34:59 +0000 (UTC) |
| Injection-Info | news.albasani.net; logging-data="4tyfXBbYUl89Ni138dvzgmPjDlzjOD6Fjh2XratD14ryfMAEXzeQg1TtQ0XER4zaz6Q6iouzZ6G84J3Lx0CnkATQPE2puqtJTgu+WvDtJ+HQW7vWBS76E+ONSUoBIYoR"; mail-complaints-to="abuse@albasani.net" |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 |
| In-Reply-To | <iq3t6v$8u3$1@news.albasani.net> |
| Cancel-Lock | sha1:w9LoFhttei+NiO1UmEeCfHEnDfQ= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3768 |
Show key headers only | View raw
Am 07.05.2011 18:49, schrieb Lew: > On 05/07/2011 07:59 AM, Lew wrote: >> Sebastian wrote: >>> schrieb markspace: >>>> Sebastian wrote: >>>>> Does anyone know of a concurrent bidirectional one-to-many >>>>> map implementation? >>>>> >>>>> By bidirectional I mean that I can lookup keys by values, by >> >> You want Apache Commons Collections, BidiMap, perhaps. > > Nope, sorry, that won't work after all. > "This map [org.apache.commons.collections.BidiMap] enforces the > restriction that there is a 1:1 relation between keys and values, > meaning that multiple keys cannot map to the same value." > > Patricia's suggestion is both straightforward and standard. > Thanks everyone for your comments. I'll follow Patricia's advice. -- Sebastian
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Concurrent bidirectional one-to-many map? Sebastian <sebastian@undisclosed.invalid> - 2011-05-06 22:07 +0200
Re: Concurrent bidirectional one-to-many map? markspace <-@.> - 2011-05-06 13:45 -0700
Re: Concurrent bidirectional one-to-many map? Sebastian <sebastian@undisclosed.invalid> - 2011-05-07 11:43 +0200
Re: Concurrent bidirectional one-to-many map? Lew <noone@lewscanon.com> - 2011-05-07 07:59 -0400
Re: Concurrent bidirectional one-to-many map? Lew <noone@lewscanon.com> - 2011-05-07 12:49 -0400
Re: Concurrent bidirectional one-to-many map? Sebastian <sebastian@undisclosed.invalid> - 2011-05-07 21:34 +0200
Re: Concurrent bidirectional one-to-many map? Patricia Shanahan <pats@acm.org> - 2011-05-07 06:40 -0700
Re: Concurrent bidirectional one-to-many map? Tom Anderson <twic@urchin.earth.li> - 2011-05-08 04:51 +0100
Re: Concurrent bidirectional one-to-many map? Robert Klemme <shortcutter@googlemail.com> - 2011-05-09 06:43 -0700
Re: Concurrent bidirectional one-to-many map? Tom Anderson <twic@urchin.earth.li> - 2011-05-09 18:28 +0100
Re: Concurrent bidirectional one-to-many map? Sebastian <sebastian@undisclosed.invalid> - 2011-05-09 22:57 +0200
Re: Concurrent bidirectional one-to-many map? Lew <noone@lewscanon.com> - 2011-05-09 18:36 -0400
Re: Concurrent bidirectional one-to-many map? Tom Anderson <twic@urchin.earth.li> - 2011-05-10 08:34 +0100
Re: Concurrent bidirectional one-to-many map? Sebastian <sebastian@undisclosed.invalid> - 2011-05-11 10:09 +0200
Re: Concurrent bidirectional one-to-many map? Sebastian <sebastian@undisclosed.invalid> - 2011-05-11 10:51 +0200
Re: Concurrent bidirectional one-to-many map? Robert Klemme <shortcutter@googlemail.com> - 2011-05-11 04:55 -0700
Re: Concurrent bidirectional one-to-many map? Lew <noone@lewscanon.com> - 2011-05-11 09:00 -0400
Re: Concurrent bidirectional one-to-many map? Sebastian <sebastian@undisclosed.invalid> - 2011-05-11 20:47 +0200
Re: Concurrent bidirectional one-to-many map? markspace <-@.> - 2011-05-07 09:35 -0700
Re: Concurrent bidirectional one-to-many map? Michal Kleczek <kleku75@gmail.com> - 2011-05-09 16:42 +0200
Re: Concurrent bidirectional one-to-many map? Roedy Green <see_website@mindprod.com.invalid> - 2011-05-07 03:46 -0700
csiph-web