public class BooleanLastTrueTracker
extends java.lang.Object
Constructor and Description |
---|
BooleanLastTrueTracker() |
BooleanLastTrueTracker(long lastTrue)
Initialise with a time last connected
|
Modifier and Type | Method and Description |
---|---|
long |
getTimeLastTrue(long now) |
boolean |
isTrue() |
boolean |
set(boolean value,
long now) |