public class Split extends Object
Stopwatch,
Stopwatch.split()| Constructor and Description |
|---|
Split(long splitTime,
long lapTime)
Constructor to create a Split object.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getLapTime()
Gets the lap time in milliseconds
|
long |
getSplitTime()
Gets the split time in milliseconds
|
public Split(long splitTime,
long lapTime)
splitTime - the time in milliseconds for which stopwatch has been runninglapTime - the time in milliseconds since the last split/lappublic long getLapTime()
Stopwatch.split()public long getSplitTime()
Stopwatch.split()