void function ( Observer arg0 ) { if ( ! isObservationActive ( ) ) { activeObservers = new java . util . ArrayList ( ) ; } activeObservers . add ( arg0 ) ; }
adds a new observer to the list . concode_field_sep List activeObservers concode_field_sep boolean isObservationActive concode_elem_sep void removeObserver concode_elem_sep void observe concode_elem_sep void observe