I've created many Geodata objects (name,postalCode,lat,lon). Now I want to put them into a collection to search for different entries later.
Everything should happen objectOriented/in-memory, so there shouln't be a need for a relational database.
Such a Query looks like:
- Find lat and lon by name or plz
- Find objects between LAT1,LAT2 and LON1,LON2
What collection is the best one for such a "simple" datastructure?
What complexity is needed for such a query? Can multithreading be a benefit? If it is, which collection is used at best for thread safety?
Is there a chance to write such queries in a key=>value database?