|
Xindice API version 1.1b3 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xindice.util.ObjectQueue
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.
Constructor Summary | |
ObjectQueue()
|
Method Summary | |
void |
add(java.lang.Object value)
|
void |
clear()
|
boolean |
isEmpty()
|
java.lang.Object |
peek()
|
java.lang.Object |
remove()
|
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ObjectQueue()
Method Detail |
public void add(java.lang.Object value)
public java.lang.Object remove()
public boolean isEmpty()
public int size()
public java.lang.Object peek()
public void clear()
|
Xindice API version 1.1b3 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |