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
看