public class TreeSet extends AbstractSet implements SortedSet, Cloneable, Serializable
Constructor and Description |
---|
TreeSet() |
TreeSet(Collection var0) |
TreeSet(Comparator var0) |
TreeSet(SortedSet var0) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Object var0) |
boolean |
addAll(Collection var0) |
void |
clear() |
Object |
clone() |
Comparator |
comparator() |
boolean |
contains(Object var0) |
Object |
first() |
SortedSet |
headSet(Object var0) |
boolean |
isEmpty() |
Iterator |
iterator() |
Object |
last() |
boolean |
remove(Object var0) |
int |
size() |
SortedSet |
subSet(Object var0,
Object var1) |
SortedSet |
tailSet(Object var0) |
equals, hashCode, removeAll
containsAll, retainAll, toArray, toArray, toString
public TreeSet()
public TreeSet(Collection var0)
public TreeSet(Comparator var0)
public TreeSet(SortedSet var0)
public boolean add(Object var0)
add
in interface Collection
add
in interface Set
add
in class AbstractCollection
public boolean addAll(Collection var0)
addAll
in interface Collection
addAll
in interface Set
addAll
in class AbstractCollection
public void clear()
clear
in interface Collection
clear
in interface Set
clear
in class AbstractCollection
public Comparator comparator()
comparator
in interface SortedSet
public boolean contains(Object var0)
contains
in interface Collection
contains
in interface Set
contains
in class AbstractCollection
public boolean isEmpty()
isEmpty
in interface Collection
isEmpty
in interface Set
isEmpty
in class AbstractCollection
public Iterator iterator()
iterator
in interface Collection
iterator
in interface Set
iterator
in class AbstractCollection
public boolean remove(Object var0)
remove
in interface Collection
remove
in interface Set
remove
in class AbstractCollection
public int size()
size
in interface Collection
size
in interface Set
size
in class AbstractCollection
Copyright © 2006–2013 OSGi Alliance. All rights reserved.