matriz de hashmap a cadena

hashMap.values().toArray(new MyObject[0]);
Distinct Dogfish