結果 : how to remove duplicates from array in java without using collections