File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes list and compare Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "list and compare" Watch "list and compare" New topic
Author

list and compare

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 245
hi

i have two list of object, i use constains to know if some item is available in the second......




i would like to know how to get the information of the listPerson2?

any idea?

thank
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Did you check the API for methods in List that might help (like indexOf and get)?


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: list and compare
 
Similar Threads
Selecting results from a search
(discuss) classes loaded by two different class loaders cannot be cast to one another
Object Organization
Alternative to Hashtable
how to compare if object exists in arraylist and add if doesn't