public class DynamicSortedSet<E> extends DynamicSet<E> implements SortedSet<E>
DynamicCollection.DynamicIteratoriterators, iteratorsLock, storage| Constructor and Description |
|---|
DynamicSortedSet() |
DynamicSortedSet(Collection<? extends E> c) |
DynamicSortedSet(Comparator<? super E> c) |
DynamicSortedSet(int size) |
DynamicSortedSet(SortedSet<E> ss) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E o) |
Comparator<? super E> |
comparator() |
E |
first() |
SortedSet<E> |
headSet(Object toElement) |
E |
last() |
boolean |
remove(Object o) |
SortedSet<E> |
subSet(Object fromElement,
Object toElement) |
SortedSet<E> |
tailSet(Object fromElement) |
addAlladd, clear, contains, containsAll, indexOf, isEmpty, iterator, remove, size, toArray, toArray, toStringremoveAll, retainAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitspliteratoraddAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, removeAll, retainAll, size, toArray, toArrayparallelStream, removeIf, streampublic DynamicSortedSet()
public DynamicSortedSet(Collection<? extends E> c)
public DynamicSortedSet(int size)
public DynamicSortedSet(Comparator<? super E> c)
public Comparator<? super E> comparator()
comparator in interface SortedSet<E>public boolean add(E o)
add in interface Collection<E>add in interface Set<E>add in class DynamicSet<E>public boolean remove(Object o)
remove in interface Collection<E>remove in interface Set<E>remove in class DynamicCollection<E>Copyright © 2006–2017. All rights reserved.