Miscellany
public java v1 · immutable public void run() { System.out.println("Cashier online..."); while (!allDoneYet) { System.out.println(allDoneYet); Customer c = line.dequeue(); if (c == null) continue; System.out.println("Processing cust..."); if (allDoneYet = c.process()) { System.out.println("Last cust processed..."); synchronized(this) { notifyAll(); } return; } } }