結果 : find first duplicate character in a string java