com.bea.xml.stream.util
Class CircularQueue

java.lang.Object
  extended byjava.util.AbstractCollection
      extended bycom.bea.xml.stream.util.CircularQueue
All Implemented Interfaces:
java.util.Collection

public final class CircularQueue
extends java.util.AbstractCollection


Constructor Summary
CircularQueue()
           
CircularQueue(int c)
           
CircularQueue(int c, int mc)
           
 
Method Summary
 boolean add(java.lang.Object obj)
           
 int capacity()
           
 void clear()
           
 java.lang.Object clone()
           
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
 java.lang.Object peek()
           
 java.lang.Object remove()
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

CircularQueue

public CircularQueue()

CircularQueue

public CircularQueue(int c)

CircularQueue

public CircularQueue(int c,
                     int mc)
Method Detail

add

public boolean add(java.lang.Object obj)

remove

public java.lang.Object remove()

isEmpty

public boolean isEmpty()

size

public int size()

capacity

public int capacity()

peek

public java.lang.Object peek()

clear

public void clear()

clone

public java.lang.Object clone()

toString

public java.lang.String toString()

iterator

public java.util.Iterator iterator()