List of utility methods to do Map from Array
Map m = new HashMap(); for (Object[] pair : array) { m.put(pair[0], pair[1]); return m;