public class SortedList<T> extends LinkedList<T>
modCount| Constructor and Description |
|---|
SortedList(Comparator<T> comparator)
Creates a new SortedList object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element) |
boolean |
add(T e) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAll(int index,
Collection<? extends T> c) |
T |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
T |
set(int index,
T element) |
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, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, size, spliterator, toArray, toArrayiteratorequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, retainAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCode, isEmpty, iterator, listIterator, replaceAll, retainAll, sort, subListparallelStream, removeIf, streampublic SortedList(Comparator<T> comparator)
comparator - DOCUMENT ME!public boolean add(T e)
public void add(int index,
T element)
public boolean addAll(Collection<? extends T> c)
addAll in interface Collection<T>addAll in interface List<T>addAll in class LinkedList<T>public boolean addAll(int index,
Collection<? extends T> c)
public T remove(int index)
public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
removeAll in interface Collection<T>removeAll in interface List<T>removeAll in class AbstractCollection<T>Copyright © 2012–2025 cismet GmbH. All rights reserved.