sets the status of a specific resource of this contact . if the status if offline and the resource is null , removes all information about contacts and sets the status to offline . concode_field_sep Map<String,ContactStatus> resourceStatus concode_elem_sep Set<ContactListener> contactListeners concode_elem_sep String alias concode_elem_sep String bareJid concode_elem_sep String lockedResource concode_field_sep String getFullJid concode_elem_sep void addContactListener concode_elem_sep String getBareJid concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep int compareTo concode_elem_sep void setAlias concode_elem_sep void lockResource concode_elem_sep void triggerContactChanged concode_elem_sep ContactStatus getStatus concode_elem_sep String getAlias
void function ( String arg0 , ContactStatus arg1 ) { if ( arg1 != ContactStatus . OFFLINE ) this . resourceStatus . put ( arg0 , arg1 ) ; else if ( arg0 == null ) this . resourceStatus . clear ( ) ; else this . resourceStatus . remove ( arg0 ) ; this . lockResource ( null ) ; triggerContactChanged ( ) ; }