edu.emory.mathcs.backport.java.util
public class TreeSet extends AbstractSet implements NavigableSet, Cloneable, Serializable
Constructor Summary | |
---|---|
TreeSet() | |
TreeSet(Comparator comparator) | |
TreeSet(Collection c) | |
TreeSet(SortedSet s) |
Method Summary | |
---|---|
boolean | add(Object o) |
boolean | addAll(Collection c) |
Object | ceiling(Object e) |
void | clear() |
Object | clone() |
Comparator | comparator() |
boolean | contains(Object o) |
Iterator | descendingIterator() |
NavigableSet | descendingSet() |
Object | first() |
Object | floor(Object e) |
SortedSet | headSet(Object toElement) |
NavigableSet | headSet(Object toElement, boolean toInclusive) |
Object | higher(Object e) |
boolean | isEmpty() |
Iterator | iterator() |
Object | last() |
Object | lower(Object e) |
Object | pollFirst() |
Object | pollLast() |
boolean | remove(Object o) |
int | size() |
SortedSet | subSet(Object fromElement, Object toElement) |
NavigableSet | subSet(Object fromElement, boolean fromInclusive, Object toElement, boolean toInclusive) |
SortedSet | tailSet(Object fromElement) |
NavigableSet | tailSet(Object fromElement, boolean fromInclusive) |
Object[] | toArray() |
Object[] | toArray(Object[] a) |