public static final class PiUtil.LeTick extends Object
thrDelay()
with no (or less) throw away
objects and one (thread local) LeTick
object per thread.Constructor and Description |
---|
LeTick(long tick)
Make with initial value.
|
Modifier and Type | Method and Description |
---|---|
long |
add(long adv)
Advance or add to the tick value.
|
long |
getTick()
Get the tick value.
|
void |
setTick(long tick)
Set the tick value.
|
public long getTick()
PiUtil.thrDelay(int)
public void setTick(long tick)
public long add(long adv)
adv
- the value to be added (will normally be > 0)