src/net/java/sip/communicator/impl/muc/MUCServiceImpl.java
/**
     * Finds the <tt>ChatRoomWrapper</tt> instance associated with the
     * source contact.
     * @param contact the source contact.
     * @return the <tt>ChatRoomWrapper</tt> instance.
     */
Finds the ChatRoomWrapper instance associated with the
source contact.
@param contact the source contact.
@return the ChatRoomWrapper instance.
Finds the ChatRoomWrapper instance associated with the source contact . @param contact the source contact . @return the ChatRoomWrapper instance .
public ChatRoomWrapper findChatRoomWrapperFromSourceContact(
        SourceContact contact)
    {
        if(!(contact instanceof ChatRoomSourceContact))
            return null;
        ChatRoomSourceContact chatRoomContact = (ChatRoomSourceContact) contact;
        return chatRoomList.findChatRoomWrapperFromChatRoomID(
                chatRoomContact.getChatRoomID(), chatRoomContact.getProvider());
    }
public ChatRoomWrapper findChatRoomWrapperFromSourceContact ( SourceContact contact ) { if ( ! ( contact instanceof ChatRoomSourceContact ) ) return null ; ChatRoomSourceContact chatRoomContact = ( ChatRoomSourceContact ) contact ; return chatRoomList . findChatRoomWrapperFromChatRoomID ( chatRoomContact . getChatRoomID ( ) , chatRoomContact . getProvider ( ) ) ; }
Finds the <tt>ChatRoomWrapper</tt> instance associated with the
 source contact.
Finds the <tt > ChatRoomWrapper< / tt > instance associated with the source contact .