java array (hashMap - assoc array) - remove duplicates