Microsoft
Software
Hardware
Network
Question : List
I have two List collection class. Example List l1 and l2.
In l1 there is 5 objects and in l2 there is 4 objects.
Take note that the values in each object is identitical.
Therefore I only want to know the missing object in
one of the vector. How is it done?.
Your help is kindly appreciate. Thank You.
Answer : List
List missing = new ArrayList(list1);
missing.removeAll(list2);
System.out.println(missing
);
Random Solutions
How to block Remote Desktop to other domain admins on a particular server
Coldfusion - SQL syntax
VBA insert error
Ex2010 - Move Mailbox Failed - Corrupt Messages
How do I write data to separate excel worksheets in coldfusion?
SPContext.Current is returning null in the "SPItemEventReceiver" event handler.
how to delete partial contents of a cell?
How do i download my dreamweaver site to a different computer than the one I uploaded it on?
sql query help
Terminal Services lock down question