|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.messaging.core.list.impl.PriorityHeadInsertableQueueImpl<T>
public class PriorityHeadInsertableQueueImpl<T>
Constructor Summary | |
---|---|
PriorityHeadInsertableQueueImpl(int priorities)
|
Method Summary | |
---|---|
void |
clear()
|
java.util.List<T> |
getAll()
|
boolean |
isEmpty()
|
java.util.Iterator<T> |
iterator()
|
void |
offerFirst(T t,
int priority)
|
void |
offerLast(T t,
int priority)
|
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 PriorityHeadInsertableQueueImpl(int priorities)
Method Detail |
---|
public void offerFirst(T t, int priority)
offerFirst
in interface PriorityHeadInsertableQueue<T>
public void offerLast(T t, int priority)
offerLast
in interface PriorityHeadInsertableQueue<T>
public T poll()
poll
in interface PriorityHeadInsertableQueue<T>
public T peek()
peek
in interface PriorityHeadInsertableQueue<T>
public java.util.List<T> getAll()
getAll
in interface PriorityHeadInsertableQueue<T>
public void clear()
clear
in interface PriorityHeadInsertableQueue<T>
public int size()
size
in interface PriorityHeadInsertableQueue<T>
public boolean isEmpty()
isEmpty
in interface PriorityHeadInsertableQueue<T>
public java.util.Iterator<T> iterator()
iterator
in interface PriorityHeadInsertableQueue<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |