com.ibm.di.queue
Class MemQ
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
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
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 |
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()