What's the fastest Java collection for single threaded Contains(Point(x,y)) functionality?

Posted by Mervin on Stack Overflow See other posts from Stack Overflow or by Mervin
Published on 2010-06-07T17:12:22Z Indexed on 2010/06/07 17:22 UTC
Read the original article Hit count: 277

Filed under:
|
|

In my application I need to check a collection of 2D coordinates (x,y) to see if a given coordinate is in the collection, it needs to be as fast as possible and it will only be accessed from one thread. ( It's for collision checking )

Can someone give me a push in the right direction?

© Stack Overflow or respective owner

Related posts about java

Related posts about collections