|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object Refiner
CS 537, Fall 2004, Project 3. A process that supplies refined metals to a broker.
Field Summary |
Fields inherited from interface IBM |
GOLD, metalName, METALS, PLATINUM, URANIUM |
Constructor Summary | |
Refiner(Broker broker,
int iterations)
Creates a new supplier. |
Method Summary | |
void |
run()
Main loop. |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Refiner(Broker broker, int iterations)
broker
- the broker to supply.iterations
- the number of times to iterate before terminating.Method Detail |
public void run()
run
in interface Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |