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
From where I can download HP Smartstart version 8.40
Why centos live cd so slow, and can not mount local HDD?
Windows 7 best practices for VMware view
Virus and/or Malware redirecting my links
Stupid mistake of Installing UBUNTU - Now "GRUB: No Such Disk"
Jmagick how to resample when changing DPI
importing mdb into sql server 2008 with vb6
Navigate to the page of a specific item on a gridview
writing lines to htaccess file
excel string functions