I have two ArrayList<Integer>
as follows:
original: 12, 16, 17, 19, 101
selected: 16, 19, 107, 108, 109
I want to do difference on these lists such that in the end I have two lists:
Add: 108,109,107
remove: 12, 17, 101
Length of original and selected lists varies and one can be greater/smaller than the other
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…