This discussion is archived
1 2 Previous Next 20 Replies Latest reply: Nov 15, 2008 4:06 PM by 807589 RSS

How to search for a specific String within an ArrayList

807589 Newbie
Currently Being Moderated
I am creating an inherited class, CD, that has a field of "tracks". I am wondering how you would search through the ArrayList and list the track number that correlates with a search term. For instance, if I have a track called "Radar Love" and it is track number 2, how would I create the search function to find out what track number "Radar Love" is?
1 2 Previous Next