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
Changing hte ip address of the Symantec Endpoint Protection Server
Function in excel
Query To Detect if unicode data exists in field in SQL Server 2005
"Windows failed to load b/c a required file is missing or corrupted" CI.dll
Clients not connecting to WSUS
WSUS Clients not reporting to the WSUS console or SBS 2008 Console
How do I convert an INT into a VARCHAR or STRING for use in CASE
How do we use GPO (Group Policy) to REMOVE trusted sites from I.E. Trusted Sites Zone on workstations on a domain?
Extract date and part of the line from a log file
how can i translate gujarati sentence into english sentence ??