[concurrency-interest] Double as a key in TreeMap

George Kovoor mydevgroup at gmail.com
Thu May 31 16:01:45 EDT 2012

Could anyone please advise if using Double as a key in TreeMap is
safe, safe in the sense will it result in consistent output.
I am worried about the floating point precision, that might result in
key misses , is my understanding correct. Is using Double recommend in

Any feedback is very much appreciated


More information about the Concurrency-interest mailing list