Class EmptyList<E>
java.lang.Object
org.apache.activemq.artemis.utils.collections.EmptyList<E>
- All Implemented Interfaces:
LinkedList<E>
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclear()voidclearID()voidget(int position) static final <T> LinkedList<T>iterator()peek()poll()removeWithID(String listID, long id) you need to callLinkedList.setNodeStore(NodeStore)before you are able to call this method.voidsetNodeStore(NodeStore<E> store) this makes possibl to useLinkedList.removeWithID(String, long)intsize()
-
Method Details
-
getEmptyList
-
peek
- Specified by:
peekin interfaceLinkedList<E>
-
addHead
- Specified by:
addHeadin interfaceLinkedList<E>
-
addTail
- Specified by:
addTailin interfaceLinkedList<E>
-
get
- Specified by:
getin interfaceLinkedList<E>
-
poll
- Specified by:
pollin interfaceLinkedList<E>
-
iterator
- Specified by:
iteratorin interfaceLinkedList<E>
-
clear
public void clear()- Specified by:
clearin interfaceLinkedList<E>
-
size
public int size()- Specified by:
sizein interfaceLinkedList<E>
-
clearID
public void clearID()- Specified by:
clearIDin interfaceLinkedList<E>
-
setNodeStore
Description copied from interface:LinkedListthis makes possibl to useLinkedList.removeWithID(String, long)- Specified by:
setNodeStorein interfaceLinkedList<E>
-
removeWithID
Description copied from interface:LinkedListyou need to callLinkedList.setNodeStore(NodeStore)before you are able to call this method.- Specified by:
removeWithIDin interfaceLinkedList<E>
-
forEach
- Specified by:
forEachin interfaceLinkedList<E>
-