|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pf.util.Countdown
public class Countdown
Supports loops with a countdown of a defined time.
| Method Summary | |
|---|---|
static void |
whileFalse(ICondition condition,
long millis)
Runs an empty loop until either the contidion is true or the specified time in milliseconds is over. |
static void |
whileTrue(ICondition condition,
long millis)
Runs an empty loop until either the contidion is false or the specified time in milliseconds is over (more or less). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void whileTrue(ICondition condition,
long millis)
condition - A condition that is used to continue (true) or finish (false) the loopmillis - The time in milliseconds after which the loop gets terminated independent of the condition
public static void whileFalse(ICondition condition,
long millis)
condition - A condition that is used to continue (false) or finish (true) the loopmillis - The time in milliseconds after which the loop gets terminated independent of the condition
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||