In guava, there is an immutable version of bimap.

http://guava-libraries.googlecode.com/svn/trunk/javadoc/com/google/common/collect/ImmutableBiMap.html

On Fri, Nov 19, 2010 at 3:24 AM, Christophe Grand <christo...@cgrand.net> wrote:
> One call away but rarely persistent or even immutable.
>
> On Fri, Nov 19, 2010 at 4:55 AM, Sunil S Nandihalli
> <sunil.nandiha...@gmail.com> wrote:
>>
>> awesome.. :) i keep forgetting that all of java is just a call away .. hmm
>> thanks Lachlan..:)
>> Sunil.
>>
>> On Fri, Nov 19, 2010 at 7:46 AM, jlk <lachlan.kana...@gmail.com> wrote:
>>>
>>> I haven't tried it, but I just stumbled across
>>> http://commons.apache.org/collections/
>>> -> BidiMap, might be what you're after?
>>>
>>>
>>> On Nov 16, 6:14 pm, Sunil S Nandihalli <sunil.nandiha...@gmail.com>
>>> wrote:
>>> > Hello everybody,
>>> >
>>> > Is there something like a bimap in clojure? I know I can have two
>>> > regular
>>> > hash-maps .. but I was wondering if there is a better implementation..?
>>> >
>>> >  a similar implementation in c++ is
>>> >
>>> > http://beta.boost.org/doc/libs/1_41_0/libs/bimap/doc/html/index.html
>>> >
>>> > Thanks,
>>> > Sunil.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clojure@googlegroups.com
>>> Note that posts from new members are moderated - please be patient with
>>> your first post.
>>> To unsubscribe from this group, send email to
>>> clojure+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>
>
> --
> Professional: http://cgrand.net/ (fr)
> On Clojure: http://clj-me.cgrand.net/ (en)
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en



-- 
Omnem crede diem tibi diluxisse supremum.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to