hashmap ke string array
hashMap.values().toArray(new MyObject[0]);
Distinct Dogfish
hashMap.values().toArray(new MyObject[0]);