public class SortedList<E> extends LinkedList<E>
modCount
Constructor and Description |
---|
SortedList(Comparator<? super E> comparator) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E o) |
void |
add(int index,
E element) |
boolean |
addAll(Collection<? extends E> c) |
Comparator<? super E> |
getComparator() |
void |
setComparator(Comparator<? super E> comparator) |
addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArray
iterator
equals, hashCode, listIterator, removeRange, subList
containsAll, isEmpty, removeAll, retainAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subList
parallelStream, removeIf, stream
public SortedList(Comparator<? super E> comparator)
public boolean add(E o)
public void add(int index, E element)
public boolean addAll(Collection<? extends E> c)
addAll
in interface Collection<E>
addAll
in interface List<E>
addAll
in class LinkedList<E>
public Comparator<? super E> getComparator()
public void setComparator(Comparator<? super E> comparator)
Copyright © 2007–2019 Inria. All rights reserved.