T
- public final class SortedArraySet<T> extends Object implements SortedSet<T>
Constructor and Description |
---|
SortedArraySet() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T o) |
boolean |
addAll(Collection<? extends T> c) |
void |
clear() |
Comparator<? super T> |
comparator() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
T |
first() |
int |
hashCode() |
SortedSet<T> |
headSet(T toElement) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
T |
last() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
SortedSet<T> |
subSet(T fromElement,
T toElement) |
SortedSet<T> |
tailSet(T fromElement) |
Object[] |
toArray() |
<X> X[] |
toArray(X[] a) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
spliterator
parallelStream, removeIf, stream
public void clear()
public boolean isEmpty()
public int size()
public boolean add(T o)
public boolean addAll(Collection<? extends T> c)
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<T>
containsAll
in interface Set<T>
public boolean contains(Object o)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public boolean remove(Object o)
public Object[] toArray()
public <X> X[] toArray(X[] a)
public boolean equals(Object o)
public int hashCode()
public Comparator<? super T> comparator()
comparator
in interface SortedSet<T>
Apache CXF