結果 : find duplicates in string java