結果 : find first repeated character in string java