src/main/java/io/arivera/oss/embedded/rabbitmq/apache/commons/lang3/StopWatch.java
public long getNanoTime() {
    if (this.runningState == State.STOPPED || this.runningState == State.SUSPENDED) {
      return this.stopTime - this.startTime;
    } else if (this.runningState == State.UNSTARTED) {
      return 0;
    } else if (this.runningState == State.RUNNING) {
      return System.nanoTime() - this.startTime;
    }
    throw new RuntimeException("Illegal running state has occurred.");
  }
public long getNanoTime() {
    if (this.runningState == State.STOPPED || this.runningState == State.SUSPENDED) {
      return this.stopTime - this.startTime;
    } else if (this.runningState == State.UNSTARTED) {
      return 0;
    } else if (this.runningState == State.RUNNING) {
      return System.nanoTime() - this.startTime;
    }
    throw new RuntimeException("Illegal running state has occurred.");
  }
public long getNanoTime ( ) { if ( this . runningState == State . STOPPED || this . runningState == State . SUSPENDED ) { return this . stopTime - this . startTime ; } else if ( this . runningState == State . UNSTARTED ) { return 0 ; } else if ( this . runningState == State . RUNNING ) { return System . nanoTime ( ) - this . startTime ; } throw new RuntimeException ( "Illegal running state has occurred." ) ; }
<p>
Get the time on the stopwatch in nanoseconds.
</p>

<p>
This is either the time between the start and the moment this method is called, or the amount of time between
start and stop.
</p>

@return the time in nanoseconds
@since 3.0
<p > Get the time on the stopwatch in nanoseconds . < / p >