|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectproject4.Chef
project4.StackChef
public class StackChef
| Field Summary |
|---|
| Fields inherited from class project4.Chef |
|---|
QUEUE_CHEF_TYPE, STACK_CHEF_TYPE, VALUE_CHEF_TYPE |
| Constructor Summary | |
|---|---|
StackChef()
|
|
| Method Summary | |
|---|---|
Order |
cookNextOrder(OrderList orderList)
cook the next order based on the chef's cooking priority and remove that order from the order list |
| Methods inherited from class project4.Chef |
|---|
getCreditScore, setBurgerJoint, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StackChef()
| Method Detail |
|---|
public Order cookNextOrder(OrderList orderList)
throws OrderList.NoOrderException
Chef
cookNextOrder in class CheforderList - the order list for the chef to select an order to cook
OrderList.NoOrderException - throw this when there are no orders in the
list to cook
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||