commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Pitts <coloraura....@gmail.com>
Subject Re: Equivalent of LinkedHashMap<Double, Double> meetingEntries in commons primitives
Date Sun, 24 Feb 2013 05:17:03 GMT
First off, floating points make terrible keys. Do you really need them as keys, or are you
really using this as pair<double, double> ?

I think Trove is the library you might want, not apache commons. 

Sent from my iPad

On Feb 23, 2013, at 4:57 PM, Osman Khalid <osmankhalid2005@gmail.com> wrote:

> Hi.
> 
> I am using a data structure using standard java api:
> 
> LinkedHashMap<Double, Double> meetingEntries;
> 
> I want it to changed to primitive types as:
> 
> LinkedHashMap<double, double> meetingEntries;
> 
> Is it possible? What would be code for that commons primitives?
> 
> I'll be really grateful for reply!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message