Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
AbstractSet
edu.emory.mathcs.backport.java.util.TreeSet
Method Summary | |
boolean |
|
boolean |
|
Object |
|
void |
|
Object |
|
Comparator | |
boolean |
|
Iterator | |
NavigableSet | |
Object |
|
Object |
|
SortedSet |
|
NavigableSet |
|
Object |
|
boolean |
|
Iterator |
|
Object |
|
Object |
|
Object | |
Object |
|
boolean |
|
int |
|
SortedSet |
|
NavigableSet |
|
SortedSet |
|
NavigableSet |
|
Object[] |
|
Object[] |
|
public TreeSet()
public TreeSet(Collection c)
public TreeSet(Comparator comparator)
public TreeSet(SortedSet s)
public boolean add(Object o)
public boolean addAll(Collection c)
public void clear()
public Object clone()
public Comparator comparator()
public boolean contains(Object o)
public Iterator descendingIterator()
- Specified by:
- descendingIterator in interface NavigableSet
public NavigableSet descendingSet()
- Specified by:
- descendingSet in interface NavigableSet
public Object first()
public NavigableSet headSet(Object toElement, boolean toInclusive)
- Specified by:
- headSet in interface NavigableSet
public boolean isEmpty()
public Object last()
public boolean remove(Object o)
public int size()
public SortedSet subSet(Object fromElement, Object toElement)
- Specified by:
- subSet in interface NavigableSet
public NavigableSet subSet(Object fromElement, boolean fromInclusive, Object toElement, boolean toInclusive)
- Specified by:
- subSet in interface NavigableSet
public NavigableSet tailSet(Object fromElement, boolean fromInclusive)
- Specified by:
- tailSet in interface NavigableSet
public Object[] toArray()
public Object[] toArray(Object[] a)