Created
May 1, 2015 03:41
-
-
Save andrewsuzuki/b5428635c7bf7f561c51 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 nick) | |
{ | |
for (Contact contact : _contactList) | |
{ | |
String testnick = contact.getNickName(); | |
if (testnick != null && testnick.equals(nick)) | |
{ | |
return contact; | |
} | |
} | |
return null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment