final HashMap<Integer, HashMap<Integer, Integer[]>> teams;
teams= new HashMap<Integer, HashMap<Integer, Integer[]>>();
teams.put(1,new HashMap<Integer, Integer[]>(){{
put(2,new Integer[] { 1,0});}});
System.out.println(teams.get(1).get(2));
I am trying to implement hash of hashes in java. I need to print integer array being stored in hash of a hash. Any help in this regard would be appreciated.