結果 : check if string array contains duplicates java