How would you initialise a static Map in Java?
Map
Method one: static initialiser Method two: instance initialiser (anonymous subclass) or some other m
Java 5 provides this more compact syntax:
static final Map FLAVORS = new HashMap() {{ put("Up", "Down"); put("Charm", "Strange"); put("Top", "Bottom"); }};