Project Wonder 2.0

er.javamail
Class ERQueue

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended byer.javamail.ERQueue
All Implemented Interfaces:
Cloneable, Collection, List, RandomAccess, Serializable

public class ERQueue
extends Vector

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()
           
 Object peek()
           
 Object pop()
           
 Object push(Object item)
           
 int search(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 Object push(Object item)
            throws ERQueue.SizeOverflowException
Throws:
ERQueue.SizeOverflowException

pop

public Object pop()

peek

public Object peek()

empty

public boolean empty()

search

public int search(Object o)

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.