|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.messaging.util.HeadInsertableConcurrentQueue<T>
public class HeadInsertableConcurrentQueue<T>
A HeadInsertableConcurrentQueue TODO - considering using ConcurrentLinkedDeque?
Constructor Summary | |
---|---|
HeadInsertableConcurrentQueue()
|
Method Summary | |
---|---|
void |
clear()
|
java.util.Iterator<T> |
iterator()
|
void |
offerFirst(T object)
|
void |
offerLast(T object)
|
T |
peek()
|
T |
poll()
|
int |
size()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeadInsertableConcurrentQueue()
Method Detail |
---|
public void clear()
clear
in interface HeadInsertableQueue<T>
public java.util.Iterator<T> iterator()
iterator
in interface java.lang.Iterable<T>
iterator
in interface HeadInsertableQueue<T>
public void offerFirst(T object)
offerFirst
in interface HeadInsertableQueue<T>
public void offerLast(T object)
offerLast
in interface HeadInsertableQueue<T>
public T peek()
peek
in interface HeadInsertableQueue<T>
public T poll()
poll
in interface HeadInsertableQueue<T>
public int size()
size
in interface HeadInsertableQueue<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |