public class ArraySortedList<A> extends AbstractList<A> implements SortedList<A>
modCount| Constructor and Description | 
|---|
| ArraySortedList() | 
| ArraySortedList(A... elems) | 
| ArraySortedList(Comparator<? super A> comparator) | 
| ArraySortedList(Comparator<? super A> comparator,
               A... elems) | 
| ArraySortedList(Comparator<? super A> comparator,
               int capacity) | 
| ArraySortedList(Comparator<? super A> comparator,
               List<? extends A> elems) | 
| ArraySortedList(int capacity) | 
| ArraySortedList(List<? extends A> elems) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | add(A a) | 
| boolean | addAll(SortedList<? extends A> more) | 
| boolean | addAll(SortedSet<? extends A> more) | 
| boolean | addUnchecked(A a) | 
| SortedSet<A> | asSet() | 
| Comparator<? super A> | comparator() | 
| A | first() | 
| A | get(int index) | 
| A | last() | 
| int | size() | 
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streampublic ArraySortedList()
public ArraySortedList(int capacity)
public ArraySortedList(Comparator<? super A> comparator)
public ArraySortedList(Comparator<? super A> comparator, int capacity)
public ArraySortedList(Comparator<? super A> comparator, List<? extends A> elems)
public ArraySortedList(A... elems)
public ArraySortedList(Comparator<? super A> comparator, A... elems)
public int size()
size in interface Collection<A>size in interface List<A>size in class AbstractCollection<A>public A get(int index)
public A first()
first in interface SortedList<A>public A last()
last in interface SortedList<A>public Comparator<? super A> comparator()
comparator in interface SortedList<A>public boolean add(A a)
add in interface Collection<A>add in interface List<A>add in class AbstractList<A>public boolean addUnchecked(A a)
public boolean addAll(SortedList<? extends A> more)
see also the complete user documentation .