|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectequip.net.Timer
JCP Timer class. This code has been generated using C2J++ C2J++ is based on Chris Laffra's C2J (laffra@watson.ibm.com) Read general disclaimer distributed with C2J++ before using this code For information about C2J++, send mail to Ilya_Tilevich@ibi.com
| Field Summary | |
(package private) boolean |
set
|
(package private) long |
startTime
|
(package private) long |
timeout
|
| Constructor Summary | |
Timer()
Timer |
|
| Method Summary | |
void |
bringForward(long maxRemaining)
bringForward If set, ensure that it will expire/trigger within this time |
void |
cancelTimer()
cancelTimer |
long |
getExpires()
getExpires |
long |
getTimeout()
getTimeout |
boolean |
isSet()
isSet |
void |
setTimeout(int t)
setTimeout |
void |
setTimer()
setTimer |
boolean |
tick()
tick |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
boolean set
long startTime
long timeout
| Constructor Detail |
public Timer()
| Method Detail |
public void setTimeout(int t)
t - public long getTimeout()
public long getExpires()
public void setTimer()
public boolean isSet()
public void cancelTimer()
public boolean tick()
public void bringForward(long maxRemaining)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||