org.apache.xindice.util
Class ObjectQueue
java.lang.Object
org.apache.xindice.util.ObjectQueue
- All Implemented Interfaces:
- Serializable
- public final class ObjectQueue
- extends Object
- implements Serializable
ObjectQueue is a simple linked list implemention that can be used
for FIFO queuing. The benefit of ObjectQueue over Sun's Queue
implementation is that it is not an extension of ArrayList and doesn't
suffer from ArrayList's resizing performance limitations.
- Version:
- $Revision: 541508 $, $Date: 2007-05-24 21:54:12 -0400 (Thu, 24 May 2007) $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectQueue
public ObjectQueue()
add
public void add(Object value)
remove
public Object remove()
isEmpty
public boolean isEmpty()
size
public int size()
peek
public Object peek()
clear
public void clear()
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.