Interface ISimpleFIFOQueue
- 
- All Known Implementing Classes:
- SimpleFIFOQueue
 
 public interface ISimpleFIFOQueueSimple queue
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Close this queue.Objectdequeue()Dequeue an object from off thebooleanenqueue(Object obj)Enqueue given object.ObjectpeekQueue()ObjectremoveHead()
 
- 
- 
- 
Method Detail- 
enqueueboolean enqueue(Object obj) Enqueue given object. Blocks until enqueue is completed.- Parameters:
- obj- the Object to enqueue
- Returns:
- true if enqueued, false if not successfully enqueue
 
 - 
dequeueObject dequeue() Dequeue an object from off the- Returns:
- Object dequeued
 
 - 
peekQueueObject peekQueue() - Returns:
- Object at head of queue without removing it from queue
 
 - 
removeHeadObject removeHead() - Returns:
- Object that is head of queue. Removes head from queue
 
 - 
closevoid close() Close this queue. Once closed, the underlying queue cannot be used again
 
- 
 
-