sclass StringTree2 { A leafValue; new HashMap children; StringTree2 getOrAdd(S s) { StringTree2 t = children.get(s); if (t == null) children.put(s, t = new StringTree2); ret t; } }