Hi all,

If I want to have an in memory "lookup" Hashmap that is available in
my Map class, where is the best place to initialise this please?

I have a shapefile with polygons, and I wish to create the polygon
objects in memory on each node's JVM and have the map able to pull
back the objects by id from some HashMap<Integer, Geometry>.

Is perhaps the best way to just have a static initialiser that is
synchronised so that it only gets run once and called during the
Map.configure() ?   This feels a little dirty.

Thanks for advice on this,

Tim

Reply via email to