void function ( int arg0 , long arg1 ) { Integer [ ] loc0 = { checkStateInRange ( arg0 ) } ; waitForAnyOfStates ( Arrays . asList ( loc0 ) , arg1 ) ; }
wait until the desired state is observed , checking all state transitions since the last time a state was waited on . any intermediate state transitions that is not state are ignored.note : only one waiter allowed at a time ! concode_field_sep AtomicBoolean mWaiting concode_elem_sep String TAG concode_elem_sep LinkedBlockingQueue<Integer> mQueuedStates concode_elem_sep StateChangeListener mListener concode_elem_sep boolean VERBOSE concode_elem_sep String[] mStateNames concode_elem_sep int mStateCount concode_field_sep int waitForAnyOfStates concode_elem_sep String getStateName concode_elem_sep void appendStateNames concode_elem_sep StateChangeListener getListener concode_elem_sep Collection<Integer> checkStateCollectionInRange concode_elem_sep void queueStateTransition concode_elem_sep int checkStateInRange