permaculture playing cards*
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
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: 246
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
(discuss) classes loaded by two different class loaders cannot be cast to one another
how to compare if object exists in arraylist and add if doesn't
Selecting results from a search
Object Organization
Alternative to Hashtable