public interface LinkedList<E>
Modifier and Type | Method and Description |
---|---|
void |
addHead(E e) |
void |
addTail(E e) |
void |
clear() |
void |
clearID() |
LinkedListIterator<E> |
iterator() |
E |
poll() |
E |
removeWithID(long id) |
void |
setIDSupplier(ToLongFunction<E> supplier)
The ID Supplier function needs to return positive IDs (greater or equal to 0)
If you spply a negative ID, it will be considered a null value, and
the value will just be ignored.
|
int |
size() |
void addHead(E e)
void addTail(E e)
E poll()
LinkedListIterator<E> iterator()
void clear()
int size()
void clearID()
void setIDSupplier(ToLongFunction<E> supplier)
E removeWithID(long id)
Copyright © 2021 JBoss by Red Hat. All rights reserved.