How would you initialise a static Map in Java?
Map
Method one: static initialiser Method two: instance initialiser (anonymous subclass) or some other m
If you only need to add one value to the map you can use Collections.singletonMap:
Map map = Collections.singletonMap(key, value)