Object [ ] function ( ) { if ( fSize == 0 ) { return EmptyArray ; } Object [ ] loc0 = new Object [ fSize ] ; System . arraycopy ( fListeners , 0 , loc0 , 0 , fSize ) ; return loc0 ; }
returns an array containing all the registered listeners . the resulting array is unaffected by subsequent adds or removes . if there are no listeners registered , the result is an empty array singleton instance no garbage is created . use this method when notifying listeners , so that any modifications to the listener list during the notification will have no effect on the notification itself . concode_field_sep Object[] fListeners concode_elem_sep int fSize concode_elem_sep Object[] EmptyArray concode_field_sep void add concode_elem_sep void removeAll concode_elem_sep int size concode_elem_sep void remove