|
Firefish 0.5.10 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.lbl.dsd.firefish.util.TimerTask gov.lbl.dsd.firefish.util.KeyedTimerTask
A task for HashMaps; Comparison for equality is by a given key;
to be executed by a Timer
at a scheduled time.
Constructor Summary | |
KeyedTimerTask(Object key,
Object reason)
Constructor for KeyedTimerTask. |
Method Summary | |
boolean |
equals(Object other)
|
int |
hashCode()
|
static void |
main(String[] args)
Just to test a bit. |
void |
run()
Override this method in subclasses for custom behaviour. |
String |
toString()
Returns a String representation of the receiver. |
Methods inherited from class gov.lbl.dsd.firefish.util.TimerTask |
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public KeyedTimerTask(Object key, Object reason)
Method Detail |
public void run()
run
in interface Runnable
run
in class TimerTask
Runnable.run()
public int hashCode()
public boolean equals(Object other)
public String toString()
public static void main(String[] args) throws Exception
Exception
|
Firefish 0.5.10 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |