T - public final class SortedArraySet<T>
extends java.lang.Object
implements java.util.SortedSet<T>
| Constructor and Description |
|---|
SortedArraySet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T o) |
boolean |
addAll(java.util.Collection<? extends T> c) |
void |
clear() |
java.util.Comparator<? super T> |
comparator() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
equals(java.lang.Object o) |
T |
first() |
int |
hashCode() |
java.util.SortedSet<T> |
headSet(T toElement) |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
T |
last() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
java.util.SortedSet<T> |
subSet(T fromElement,
T toElement) |
java.util.SortedSet<T> |
tailSet(T fromElement) |
java.lang.Object[] |
toArray() |
<X> X[] |
toArray(X[] a) |
java.lang.String |
toString() |
public void clear()
public boolean isEmpty()
public java.util.Iterator<T> iterator()
public int size()
public boolean add(T o)
public boolean addAll(java.util.Collection<? extends T> c)
public boolean containsAll(java.util.Collection<?> c)
public boolean contains(java.lang.Object o)
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public boolean remove(java.lang.Object o)
public java.lang.Object[] toArray()
public <X> X[] toArray(X[] a)
public boolean equals(java.lang.Object o)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
public java.util.Comparator<? super T> comparator()
comparator in interface java.util.SortedSet<T>public java.util.SortedSet<T> headSet(T toElement)
headSet in interface java.util.SortedSet<T>public java.util.SortedSet<T> subSet(T fromElement, T toElement)
subSet in interface java.util.SortedSet<T>