結果 : java method remove duplicates from array