| org.apache.mina.util.CircularQueue
CircularQueue | public class CircularQueue extends AbstractList implements List<E>,Queue<E>,Serializable(Code) | | A unbounded circular queue based on array.
author: The Apache Directory Project (mina-dev@directory.apache.org) version: $Rev: 593416 $, $Date: 2007-11-08 20:42:48 -0700 (Thu, 08 Nov 2007) $ |
CircularQueue | public CircularQueue()(Code) | | Construct a new, empty queue.
|
CircularQueue | public CircularQueue(int initialCapacity)(Code) | | |
add | public boolean add(E o)(Code) | | |
add | public void add(int idx, E o)(Code) | | |
capacity | public int capacity()(Code) | | Returns the capacity of this queue.
|
clear | public void clear()(Code) | | |
element | public E element()(Code) | | |
get | public E get(int idx)(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
offer | public boolean offer(E item)(Code) | | |
remove | public E remove(int idx)(Code) | | |
set | public E set(int idx, E o)(Code) | | |
|
|