Created
May 1, 2015 03:39
-
-
Save andrewsuzuki/c78b3b52477f0878236a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Contact searchContact(String nickName) | |
{ | |
for (int n = 0; n < _contactList.size(); n++) | |
{ | |
Contact c = _contactList.get(n); | |
if (c != null && nickName.equals(c.getNickName())) | |
{ | |
return _contactList.get(n); | |
} | |
} | |
return null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment