com.mchange.util
Interface Queue

All Superinterfaces:
Cloneable
All Known Implementing Classes:
CircularListQueue

public interface Queue
extends Cloneable


Method Summary
 Object clone()
           
 Object dequeue()
           
 void enqueue(Object o)
           
 boolean hasMoreElements()
           
 Object peek()
           
 int size()
           
 

Method Detail

enqueue

void enqueue(Object o)

dequeue

Object dequeue()
               throws NoSuchElementException
Throws:
NoSuchElementException

peek

Object peek()
            throws NoSuchElementException
Throws:
NoSuchElementException

hasMoreElements

boolean hasMoreElements()

size

int size()

clone

Object clone()