示例#1
0
 protected Customer removeFromQueue() {
   return (Customer) q.removeFromFront();
 }
示例#2
0
 protected void insertAtHeadOfQueue(Customer e) {
   q.insertAtFront(e);
 }
示例#3
0
 protected Customer headOfQueue() {
   return (Customer) q.first();
 }
示例#4
0
 protected void insertIntoQueue(Customer e) {
   q.insertAtFront(e);
 }