/** * Returns the number of participants in the group chat. This is * always one for a regular chat. * * @return the number of participants in the chat (always one). */ public int getParticipantCount() { return 1; } /** * Returns an Iterator (of Strings) for the list of fully qualified participants * in the group chat. The Iterator always contains one element for a chat. * * @return an Iterator for the participants in the group chat. */ public Iterator getParticipants() { return Collections.singleton(participant).iterator(); }