View Single Post
  #2 (permalink)  
Old 04-15-2008, 02:09 PM
Chris.Brown.SPE's Avatar
Chris.Brown.SPE Chris.Brown.SPE is offline
Member
 
Join Date: Apr 2008
Location: State College, PA
Posts: 50
Chris.Brown.SPE is on a distinguished road
Send a message via AIM to Chris.Brown.SPE
Here is the loop to go through each student and check their id against the key. If this doesnt help, it should get you close enough to get the rest of your logic. Let me know.

Code:
for (Student temp : list) { if (temp.getid()==key) { found=true; } }
Reply With Quote