I was wondering if someone could help me with something to do with searching ArrayLists.
I have an arraylist called wrkStnNames, which contains a number of computer names. I am now in the process of creating a constructor of the class wrkStn which allows one string to be passed to it ,
This constructor has an if statement which checks to see if the string being passed to that constructor matches the string in the array list. If so it will continue and update that array list .. if not it ends.
I am having problems working out how to search the arraylist for the presence of the string passed to the constructor ... any ideas how I could do this ?