I have two arrayLists namely readAllNames
and anotherone is selectedNames
.now i want to get the anotherlist which having the unSelectedNames
.ex.
List<Name>readAllNames = {"a","b","c","d","e","f","g"};
List<Name>selectedNames = {"a","b"};
how can i get the: unSelectedNames
{"c","d","e","f","g"} from readAllNames
?
without Using remove()
And removeAll()