attach a state to the appstatemanager , the same state can not be attached twice . concode_field_sep Application app concode_elem_sep SafeArrayList<AppState> initializing concode_elem_sep SafeArrayList<AppState> terminating concode_elem_sep SafeArrayList<AppState> states concode_elem_sep AppState[] stateArray concode_field_sep Application getApplication concode_elem_sep void postRender concode_elem_sep void update concode_elem_sep boolean hasState concode_elem_sep void attachAll concode_elem_sep void attachAll concode_elem_sep AppState[] getTerminating concode_elem_sep T getState concode_elem_sep void cleanup concode_elem_sep void terminatePending concode_elem_sep boolean detach concode_elem_sep AppState[] getInitializing concode_elem_sep void initializePending concode_elem_sep AppState[] getStates concode_elem_sep void render
boolean function ( AppState arg0 ) { synchronized ( states ) { if ( ! states . contains ( arg0 ) && ! initializing . contains ( arg0 ) ) { arg0 . stateAttached ( this ) ; initializing . add ( arg0 ) ; return true ; } else { return false ; } } }