結果 : find duplicates in array using hashmap java