[infinispan-dev] A better fix for Immutables

Manik Surtani manik at jboss.org
Wed Sep 23 13:00:12 EDT 2009


On 8 Sep 2009, at 22:19, Jason T. Greene wrote:

> IMO it's not worth adding another dep for something that can be  
> created
> in a few lines of code.

Yeah unless I have a real reason to do so, I'm not adding google  
collections.


>
> Jeff Ramsdale wrote:
>> Yeah, I noticed the same thing. I was thinking of suggesting the  
>> use of
>> Google Collections, too: http://code.google.com/p/google-collections/
>>
>> They provide a host of Immutable collections and many other handy
>> classes. Specifically, I thought BiMap could replace BidirectionalMap
>> (I've been working on implementing this, actually). The Google
>> Collections are very well tested (and widely deployed), vetted by  
>> Josh
>> Bloch, and may potentially make it into the JDK in time.
>>
>> Great interview with the creators
>> here: http://www.javalobby.org/articles/google-collections/
>>
>> -jeff
>>
>> On Fri, Sep 4, 2009 at 11:30 PM, Krzysztof Sobolewski
>> <Krzysztof.Sobolewski at atm.com.pl
>> <mailto:Krzysztof.Sobolewski at atm.com.pl>> wrote:
>>
>>    I noticed that there was a problem with generics in Immutables
>>    class. May I
>>    suggest a better approach? (patch attached) :)
>>
>>    [AFAICS the same thing is needed for analogous code in JBoss  
>> Cache, BTW]
>>    -KS
>>
>>    _______________________________________________
>>    infinispan-dev mailing list
>>    infinispan-dev at lists.jboss.org <mailto:infinispan-dev at lists.jboss.org 
>> >
>>    https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
>
> -- 
> Jason T. Greene
> JBoss, a division of Red Hat
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org







More information about the infinispan-dev mailing list