結果 : java code to find duplicate words in a string