Java: Comparing two string arrays and removing elements that exist in both arrays

前端 未结 7 1714
余生分开走
余生分开走 2020-12-14 21:38

This is mainly a performance questions. I have a master list of all users existing in a String array AllUids. I also have a list of all end dated users existing in a String

相关标签:
7条回答
  • 2020-12-14 22:20

    You could put those strings into a Collection instead, and then use removeAll method.

    0 讨论(0)
提交回复
热议问题