void function ( String arg0 , String arg1 ) { if ( users . containsKey ( arg0 ) ) { UserConnection loc0 = users . get ( arg0 ) ; loc0 . add ( arg1 ) ; } else { UserConnection loc0 = new UserConnection ( ) ; loc0 . add ( arg1 ) ; users . put ( arg0 , loc0 ) ; } }
adds a connection for a user . concode_field_sep Set<String> connections concode_elem_sep ConcurrentMap<String,UserConnection> users concode_field_sep void add concode_elem_sep boolean isEmpty concode_elem_sep void remove concode_elem_sep boolean userDisconnected