Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
重複の可能性: Javaは配列から重複を削除しますか?
String={3333,4444,5555,5555,1111}
区切り文字を使用して、文字列値をarray[]..
array[]..
さて、どうすれば配列内の同じエントリを削除できますか?
Set代わりに使用するか、一時的に使用しSetて、一意の結果を配列に戻します
Set
見る