public class RTimer extends Object
Modifier and Type | Class and Description |
---|---|
protected static interface |
RTimer.TimerImpl |
Modifier and Type | Field and Description |
---|---|
static int |
PAUSED |
static int |
STARTED |
protected int |
state |
static int |
STOPPED |
Constructor and Description |
---|
RTimer() |
Modifier and Type | Method and Description |
---|---|
double |
getTime()
Get total elapsed time for this timer.
|
protected RTimer.TimerImpl |
newTimerImpl() |
void |
pause() |
void |
resume() |
double |
stop()
Stop this timer
|
public static final int STARTED
public static final int STOPPED
public static final int PAUSED
protected int state
protected RTimer.TimerImpl newTimerImpl()
public double stop()
public void pause()
public void resume()
public double getTime()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.