Java org.apache.commons.lang3.time StopWatch fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.lang3.time StopWatch fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.lang3.time StopWatch.

The text is from its open source code.

Subclass

org.apache.commons.lang3.time.StopWatch has subclasses.
Click this link to see all its subclasses.

Constructor

StopWatch()

Constructor.

Method

longgetNanoTime()

Get the time on the stopwatch in nanoseconds.

longgetSplitTime()

Get the split time on the stopwatch.

longgetStartTime()
Returns the time this stopwatch was started.
longgetTime()

Get the time on the stopwatch.

booleanisStarted()

The method is used to find out if the StopWatch is started.

voidreset()

Resets the stopwatch.

voidresume()

Resume the stopwatch after a suspend.

voidsplit()

Split the time.

voidstart()

Start the stopwatch.

voidstop()

Stop the stopwatch.

voidsuspend()

Suspend the stopwatch for later resumption.

StringtoSplitString()

Gets a summary of the split time that the stopwatch recorded as a string.

StringtoString()

Gets a summary of the time that the stopwatch recorded as a string.

voidunsplit()

Remove a split.