Project Wonder 5.0

er.javamail
Class ERQueue<T>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector<T>
              extended by er.javamail.ERQueue<T>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<T>, java.util.Collection<T>, java.util.List<T>, java.util.RandomAccess

public class ERQueue<T>
extends java.util.Vector<T>

See Also:
Serialized Form

Nested Class Summary
static class ERQueue.SizeOverflowException
           
 
Field Summary
protected  int _maxSize
           
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ERQueue()
           
ERQueue(int maxSize)
           
 
Method Summary
 boolean empty()
           
 int maxSize()
           
 T peek()
           
 T pop()
           
 T push(T item)
           
 int search(java.lang.Object o)
           
 void setMaxSize(int size)
           
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

_maxSize

protected int _maxSize
Constructor Detail

ERQueue

public ERQueue()

ERQueue

public ERQueue(int maxSize)
Method Detail

maxSize

public int maxSize()

setMaxSize

public void setMaxSize(int size)

push

public T push(T item)
       throws ERQueue.SizeOverflowException
Throws:
ERQueue.SizeOverflowException

pop

public T pop()

peek

public T peek()

empty

public boolean empty()

search

public int search(java.lang.Object o)

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.