how to remove arraylist duplicate values

前端 未结 5 426
萌比男神i
萌比男神i 2021-01-14 11:45

I am performing some maintenance tasks on an old system. I have an arraylist that contains following values:

a,b,12
c,d,3
b,a,12
d,e,3
a,b,12
5条回答
  •  再見小時候
    2021-01-14 12:20

    Try this simple solution...(No Set interface used)

    https://stackoverflow.com/a/19434592/369035

提交回复
热议问题