Interface LinkedList<E>
- All Known Implementing Classes:
EmptyList,LinkedListImpl
public interface LinkedList<E>
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclear()voidclearID()voidget(int position) iterator()peek()poll()removeWithID(String listID, long id) you need to callsetNodeStore(NodeStore)before you are able to call this method.voidsetNodeStore(NodeStore<E> store) this makes possibl to useremoveWithID(String, long)intsize()
-
Method Details
-
addHead
-
addTail
-
get
-
poll
E poll() -
peek
E peek() -
iterator
LinkedListIterator<E> iterator() -
clear
void clear() -
size
int size() -
clearID
void clearID() -
setNodeStore
this makes possibl to useremoveWithID(String, long) -
removeWithID
you need to callsetNodeStore(NodeStore)before you are able to call this method. -
forEach
-