Java statically defined dictionary / HashMap -
i have block of static data need organize array containing hash maps. specifically, want have static object in app contains time zone information this: https://gist.github.com/pamelafox/986163
seeing how clean definition looks in python, , knowing how clean definition can created of other languages know, hoping there cleaner approach in java running map.put(...)
repeatedly. have seen question: how give static value hashmap? wondering if there better way it?
one solution store data normal string in whatever format can think of , convert string representation map (static, non-static or one-time initialized instance).
an improvement of method store data in file , load (can included in .jar package, when use jar). solution have advantage data can updated.