com.ibm.di.queue
Class MemQ

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by com.ibm.di.queue.MemQ
All Implemented Interfaces:
Serializable, Cloneable, Iterable, Collection, List, RandomAccess

public class MemQ
extends ArrayList

This class is a memory mapped FIFO queue.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Method Summary
 Object firstElement()
           
 boolean isEmpty()
           
 boolean isFull()
           
 Object lastElement()
           
 Object read()
           
 void setFull()
           
 int size()
           
 boolean write(Object o)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, lastIndexOf, remove, remove, removeRange, set, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Method Detail

write

public boolean write(Object o)

read

public Object read()

firstElement

public Object firstElement()

lastElement

public Object lastElement()

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection
Specified by:
isEmpty in interface List
Overrides:
isEmpty in class ArrayList

size

public int size()
Specified by:
size in interface Collection
Specified by:
size in interface List
Overrides:
size in class ArrayList

isFull

public boolean isFull()

setFull

public void setFull()