|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.jake.ArtificialClock
public class ArtificialClock
A simulated "clock" that keeps track of how much time has passed during calls to the methods described in the Collection12 interface. The current "time value" is specified in "ticks"; the current value can be queried using the getNumTicks method.
| Constructor Summary | |
|---|---|
ArtificialClock()
|
|
| Method Summary | |
|---|---|
static long |
getNumTicks()
Returns the current "time" according to the simulated clock, expressed in "ticks". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArtificialClock()
| Method Detail |
|---|
public static long getNumTicks()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||