Re: I need a map for long and double

2013-11-06 Thread Gary Gregory
hoo.com.br> wrote: > > >> > > >> > Maybe Trove's TObjectMapLong? > > >> > > > >> > [1] > > >> > > > >> > > > http://trove4j.sourceforge.net/javadocs/gnu/trove/map/TObjectLongMap.html > > >>

Re: I need a map for long and double

2013-11-06 Thread Ted Dunning
;> On Tue, Nov 5, 2013 at 5:49 PM, Bruno P. Kinoshita < > >> brunodepau...@yahoo.com.br> wrote: > >> > >> > Maybe Trove's TObjectMapLong? > >> > > >> > [1] > >> > > >> > http://trove4j.sourceforge.net/javadocs/gnu/trove/

Re: I need a map for long and double

2013-11-06 Thread Gary Gregory
gt;> > [1] >> > >> http://trove4j.sourceforge.net/javadocs/gnu/trove/map/TObjectLongMap.html >> > >> > >> > HTH, >> > >> > Bruno P. Kinoshita >> > http://kinoshita.eti.br >> > http://tupilabs.com >> > >> > >> > >__

Re: I need a map for long and double

2013-11-06 Thread Gary Gregory
On Wed, Nov 6, 2013 at 2:19 AM, Emmanuel Bourg wrote: > What about our own dog food? > > http://commons.apache.org/primitives/ > No maps, no generics :( Gary > > Emmanuel > > > Le 06/11/2013 02:39, Gary Gregory a écrit : > > Hi All: > > > > I'm looking for a Map implementation that takes a St

Re: I need a map for long and double

2013-11-05 Thread Emmanuel Bourg
What about our own dog food? http://commons.apache.org/primitives/ Emmanuel Le 06/11/2013 02:39, Gary Gregory a écrit : > Hi All: > > I'm looking for a Map implementation that takes a String as a key and a > long as the value (and another taking a double as the value). I'd rather > not take th

Re: I need a map for long and double

2013-11-05 Thread Paul Benedict
ocs/gnu/trove/map/TObjectLongMap.html > > > > > > > > > HTH, > > > > > > Bruno P. Kinoshita > > > http://kinoshita.eti.br > > > http://tupilabs.com > > > > > > > > > > > &g

Re: I need a map for long and double

2013-11-05 Thread Gary Gregory
4j.sourceforge.net/javadocs/gnu/trove/map/TObjectLongMap.html > > > > > > HTH, > > > > Bruno P. Kinoshita > > http://kinoshita.eti.br > > http://tupilabs.com > > > > > > >____________ > > > From: Gary Gregory >

Re: I need a map for long and double

2013-11-05 Thread Ted Dunning
trove4j.sourceforge.net/javadocs/gnu/trove/map/TObjectLongMap.html > > > HTH, > > Bruno P. Kinoshita > http://kinoshita.eti.br > http://tupilabs.com > > > > > > From: Gary Gregory > >To: Commons Developers List > >

Re: I need a map for long and double

2013-11-05 Thread Bruno P. Kinoshita
esday, November 5, 2013 11:39 PM >Subject: I need a map for long and double > > >Hi All: > >I'm looking for a Map implementation that takes a String as a key and a >long as the value (and another taking a double as the value). I'd rather >not take the extra memor

Re: I need a map for long and double

2013-11-05 Thread Paul Benedict
I don't think anything like that exists. If your # of entries were reasonable, a theoretical implementation could allocate a big long[] array and hash into that. However, 150,000 is very large for an array; possible but I never done it. So I think the only thing you can really rely on is the standa

I need a map for long and double

2013-11-05 Thread Gary Gregory
Hi All: I'm looking for a Map implementation that takes a String as a key and a long as the value (and another taking a double as the value). I'd rather not take the extra memory of using generic map with a Long object value hit since the maps will have up to 150,000 entries. That would save me...