|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PriorityHeadInsertableQueue<T>
A type of linked queue which maintains items according to a priority and allows adding and removing of elements at both ends, and peeking
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()
|
Method Detail |
---|
void offerFirst(T t, int priority)
void offerLast(T t, int priority)
T poll()
T peek()
java.util.List<T> getAll()
void clear()
int size()
java.util.Iterator<T> iterator()
boolean isEmpty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |