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
IP Address Contention
trying to print to HP laserjet 2050 - and constantly have to hit "ok" button to print
IPSec or SSL - which is best for VPN client?
HP-UNIX - compressing/zipping files that are 31GB
IIS 7 leaking private ip via https
Microsoft PKI Design
exchange server 2003 smtp
Outlook 2010 keeps deleting appointments
MsexchangeOma event id 1801
"Ad Zoo .Net" ??