I have a HashMap:
HashMap
private HashMap example = new HashMap();
Now I would lik
For me this simple one line worked well:
Arrays.toString(map.entrySet().toArray())