File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

list and compare

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 251

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?

marc weber

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
I agree. Here's the link:
subject: list and compare
It's not a secret anymore!