Class FamilyConsumer
java.lang.Object
|
+----java.lang.Thread
|
+----FamilyConsumer
- public class FamilyConsumer
- extends Thread
-
FamilyConsumer(FamilyWallet)
- FamilyConsumer(FamilyWallet) is a constructor
-
run()
- run() is invoked when the object starts
-
timer(int)
- timer(int) is a timer that makes the object sleep
FamilyConsumer
public FamilyConsumer(FamilyWallet wallet)
- FamilyConsumer(FamilyWallet) is a constructor
- Parameters:
- wallet - the referring FamilyWallet instance
run
public void run()
- run() is invoked when the object starts
- Overrides:
- run in class Thread
timer
public void timer(int ms)
- timer(int) is a timer that makes the object sleep
- Parameters:
- ms - number of milliseconds