Skip to content

Instantly share code, notes, and snippets.

@burnsra
Created March 10, 2012 15:21
Show Gist options
  • Save burnsra/2011760 to your computer and use it in GitHub Desktop.
Save burnsra/2011760 to your computer and use it in GitHub Desktop.
profileExistsByName
@Override
public boolean profileExistsByName(String profileName) throws RemoteException {
Boolean nameExists = false;
for (Map.Entry<String, UUID> entry : mProfileNames.entrySet())
{
if (entry.getKey().equalsIgnoreCase(profileName)) {
nameExists = true;
break;
}
}
return nameExists;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment