結果 : remove duplicates from given string in java