public void stop(){
  if (!isRunning()) {
    return;
  }
  delayedHandler.removeCallbacksAndMessages(null);
  if (handlerThread != null) {
    handlerThread.quit();
  }
  isRunning=false;
  currentTime=0;
  storedTime+=System.currentTimeMillis() - startTime;
}

public void stop ( ) { if ( ! isRunning ( ) ) { return ; } delayedHandler . removeCallbacksAndMessages ( null ) ; if ( handlerThread != null ) { handlerThread . quit ( ) ; } isRunning = false ; currentTime = 0 ; storedTime += System . currentTimeMillis ( ) - startTime ; }
stops the stopwatch , capturing the ending time
