Java Utililty Methods Map from Array

List of utility methods to do Map from Array

Description

The list of methods to do Map from Array are organized into topic(s).

Method

MaptoMap(Object[][] array)
to Map
Map m = new HashMap();
for (Object[] pair : array) {
    m.put(pair[0], pair[1]);
return m;