/** * Retrieve a contact from the list when we already got all its information (except its * isFavorite) * * @param contact the contact we want to retrieve * @return */ public IContact getContact(IContact contact) { for (IContact iContact : contacts) { if (iContact.equals(contact)) { return iContact; } } return null; }