public Map<String,VALUETYPE> parseToMap(String s) {
        return parse(s,new HashMap<>());
    }
Convenience method doing return parse(s,new HashMap&lt;String,VALUETYPE&gt;())
vespajlib/src/main/java/com/yahoo/text/MapParser.java