|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PriorityLinkedList<T>
A type of linked list which maintains items according to a priority and allows adding and removing of elements at both ends, and peeking
Method Summary | |
---|---|
void |
addFirst(T t,
int priority)
|
void |
addLast(T t,
int priority)
|
void |
clear()
|
java.util.List<T> |
getAll()
|
boolean |
isEmpty()
|
java.util.ListIterator<T> |
iterator()
|
T |
peekFirst()
|
void |
remove(T messageReference,
int priority)
|
T |
removeFirst()
|
T |
removeLast()
|
int |
size()
|
Method Detail |
---|
void addFirst(T t, int priority)
void addLast(T t, int priority)
T removeFirst()
T removeLast()
T peekFirst()
java.util.List<T> getAll()
void clear()
int size()
java.util.ListIterator<T> iterator()
boolean isEmpty()
void remove(T messageReference, int priority)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |