void function ( IObserver < Args > arg0 ) { if ( this . observers . size ( ) == 0 ) { OutArg < Long > loc0 = new OutArg < Long > ( ) ; int loc1 = registerNative ( loc0 ) ; WrapperUtils . throwOnError ( loc1 ) ; this . hCallback = loc0 . value ; } this . observers . add ( arg0 ) ; }
adds a new observer to the list of observers -- every object added by this function will be notified of new events concode_field_sep ArrayList<IObserver<Args>> observers concode_elem_sep long hCallback concode_field_sep void unregisterNative concode_elem_sep void deleteObserver concode_elem_sep int registerNative concode_elem_sep void notify