HashMap to string matriz

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