Class Brewer
Object
   Brewer
Brewer
- All Implemented Interfaces: 
- Runnable
- public class Brewer 
- extends Object- implements Runnable
A consumer of grain.
 CS 537, Spring 2007, Project 2.
 
 
| Methods inherited from class Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Brewer
public Brewer()
getConsumption
public Order getConsumption()
- Reports on the total amount consumed thus far.
 
- 
 
- 
- Returns:
- the amount consumed thus far.
 
run
public void run()
- Main loop.
 Repeatedly generates random orders to random brokers.
 
- 
- Specified by:
- runin interface- Runnable
 
-