private boolean toNextState(LifecycleState newState){
  LifecycleState state;
synchronized (this) {
    state=_state;
    if (newState.ordinal() <= state.ordinal()) {
      return false;
    }
    _state=newState;
    _lastChangeTime=CurrentTime.currentTime();
  }
  if (_log != null && _log.isLoggable(_lowLevel)) {
    _log.log(_lowLevel,newState + " " + _name);
  }
  notifyListeners(state,newState);
  return true;
}

private boolean toNextState ( LifecycleState newState ) { LifecycleState state ; synchronized ( this ) { state = _state ; if ( newState . ordinal ( ) <= state . ordinal ( ) ) { return false ; } _state = newState ; _lastChangeTime = CurrentTime . currentTime ( ) ; } if ( _log != null && _log . isLoggable ( _lowLevel ) ) { _log . log ( _lowLevel , newState + " " + _name ) ; } notifyListeners ( state , newState ) ; return true ; }
changes to the next state .
