public final class SingleLinkedList<T> extends AbstractList<T>
modCount| Constructor and Description |
|---|
SingleLinkedList() |
SingleLinkedList(Collection<? extends T> c) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element) |
boolean |
add(T element) |
T |
get(int index) |
Iterator<T> |
iterator() |
T |
remove(int index) |
de.jungblut.datastructure.SingleLinkedList.Entry |
seek(int index) |
T |
set(int index,
T element) |
int |
size() |
addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic SingleLinkedList()
public SingleLinkedList(Collection<? extends T> c)
public final boolean add(T element)
add in interface Collection<T>add in interface List<T>add in class AbstractList<T>public final void add(int index,
T element)
public final T remove(int index)
public final T get(int index)
public final de.jungblut.datastructure.SingleLinkedList.Entry seek(int index)
public final int size()
size in interface Collection<T>size in interface List<T>size in class AbstractCollection<T>Copyright © 2016. All rights reserved.