Interface PriorityLinkedList<E>
- All Known Implementing Classes:
PriorityLinkedListImpl
public interface PriorityLinkedList<E>
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidclear()booleanisEmpty()Returnstrueif empty,falseotherwise; safe to be called concurrently.iterator()peek()just look at the first element on the listpoll()removeWithID(String listID, long id) voidsetNodeStore(Supplier<NodeStore<E>> supplier) intsize()Returns the size of this list; safe to be called concurrently.
-
Method Details
-
addHead
-
addTail
-
addSorted
-
poll
E poll() -
peek
E peek()just look at the first element on the list -
clear
void clear() -
setNodeStore
- See Also:
-
removeWithID
-
size
int size()Returns the size of this list; safe to be called concurrently.- Returns:
- the size of this list; safe to be called concurrently
-
iterator
LinkedListIterator<E> iterator() -
isEmpty
boolean isEmpty()Returnstrueif empty,falseotherwise; safe to be called concurrently.- Returns:
trueif empty,falseotherwise; safe to be called concurrently
-