}
}
public void setTh(Thread ce){
this.th3=ce;
}
public Thread getTh(){
return this.th3;
}
}
class chef implements Runnable{
private int number;
private order od;
private Waiter waiterx;
private Thread thx;
public chef(int num,order ord,Waiter wa){
this.number=num;
this.od=ord;
this.waiterx=wa;
class order implements Runnable{
private Server cutomer;
private Waiter waterx;
private order odd;
private int number;
private Server s;
private String[] args;
public order(Server ctom){
this.cutomer=ctom;