public class DynamicSortedList<E> extends DynamicList<E>
DynamicCollection.DynamicIterator| Modifier and Type | Field and Description |
|---|---|
private java.util.Comparator<? super E> |
comparator |
iterators, iteratorsLock, storage| Constructor and Description |
|---|
DynamicSortedList() |
DynamicSortedList(java.util.Collection<? extends E> c) |
DynamicSortedList(java.util.Comparator<? super E> c) |
DynamicSortedList(int size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E o) |
void |
add(int index,
E o) |
boolean |
addAll(int index,
java.util.Collection<? extends E> c) |
E |
set(int index,
E o) |
get, indexOf, lastIndexOf, listIterator, listIterator, remove, subListaddAll, clear, contains, containsAll, isEmpty, iterator, remove, size, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprivate final java.util.Comparator<? super E> comparator
public DynamicSortedList()
public DynamicSortedList(java.util.Comparator<? super E> c)
public DynamicSortedList(java.util.Collection<? extends E> c)
public DynamicSortedList(int size)
public boolean add(E o)
add in interface java.util.Collection<E>add in interface java.util.List<E>add in class DynamicCollection<E>public void add(int index,
E o)
add in interface java.util.List<E>add in class DynamicList<E>public boolean addAll(int index,
java.util.Collection<? extends E> c)
addAll in interface java.util.List<E>addAll in class DynamicList<E>