Compare values in an ArrayList to another int variable
807591Apr 4 2008 — edited Apr 5 2008Hi all i'm just starting to use and understand ArrayList's, however i've come upon a problem and am a bit stuck! I want to compare an int variable, say int num to the values in an arrayList to see if the arrayList contains a match to num. I've looked through several tutorials and haven't found anything that talks about this, so is it possible and if so how?