cmsc433.p2
Class Food

java.lang.Object
  extended by cmsc433.p2.Food

public class Food
extends java.lang.Object

Food is what is prepared by Cooks, and ordered by Eaters. Food is defined by its name, and the amount of time it takes to prepare by Machine. It is an immutable class. DO NOT CHANGE THIS CLASS.


Field Summary
 int cookTimeMS
           
 java.lang.String name
           
 
Constructor Summary
Food(java.lang.String name, int cookTimeMS)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public final java.lang.String name

cookTimeMS

public final int cookTimeMS
Constructor Detail

Food

public Food(java.lang.String name,
            int cookTimeMS)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object