Class Meque

java.lang.Object
  |
  +--Queue
        |
        +--Deque
              |
              +--Meque

public class Meque
extends Deque

A double-ended queue which also allows arbitrary elements to be removed from the middle (hence, "multi-ended" queue) Methods inherited from Queue: boolean isEmpty() String toString() Methods inherited from Deque: enqueue(Object) Object dequeue enqueueFront(Object) Object dequeueBack


Field Summary
 
Fields inherited from class Queue
back, front
 
Constructor Summary
Meque()
           
 
Method Summary
 void removeElt(DCell d)
          This method removes the specified cell from the Meque.
 
Methods inherited from class Deque
dequeue, dequeue, dequeueBack, dequeueBack, enqueue, enqueue, enqueueFront, enqueueFront, main, peekBack, peekFront
 
Methods inherited from class Queue
dequeue, enqueue, isEmpty, isEmpty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Meque

public Meque()
Method Detail

removeElt

public void removeElt(DCell d)
This method removes the specified cell from the Meque. The contents of the cell are not returned.