public class Timer extends Object implements SelectableInput
AVAILABLE, CLOSED, EMPTY| Constructor and Description |
|---|
Timer(long time) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
disable() |
boolean |
enable(MultiInputSelector alt) |
long |
getWaitTime() |
boolean |
isClosed() |
boolean |
isTimeout() |
public boolean disable()
disable in interface SelectableInputpublic boolean enable(MultiInputSelector alt)
enable in interface SelectableInputpublic long getWaitTime()
public boolean isClosed()
isClosed in interface SelectableInputpublic boolean isTimeout()
Copyright © 2015 Revolution Systems Inc.. All rights reserved.