java.util
Class TreeSet
java.lang.Object
java.util.AbstractCollection
java.util.AbstractSet
java.util.TreeSet
- All Implemented Interfaces:
- Serializable, Cloneable, Collection, Set, SortedSet
public class TreeSet
- extends AbstractSet
- implements SortedSet, Cloneable, Serializable
- See Also:
- Serialized Form
TreeSet
public TreeSet()
TreeSet
public TreeSet(Collection var0)
TreeSet
public TreeSet(Comparator var0)
TreeSet
public TreeSet(SortedSet var0)
add
public boolean add(Object var0)
- Specified by:
add
in interface Collection
- Specified by:
add
in interface Set
- Overrides:
add
in class AbstractCollection
addAll
public boolean addAll(Collection var0)
- Specified by:
addAll
in interface Collection
- Specified by:
addAll
in interface Set
- Overrides:
addAll
in class AbstractCollection
clear
public void clear()
- Specified by:
clear
in interface Collection
- Specified by:
clear
in interface Set
- Overrides:
clear
in class AbstractCollection
clone
public Object clone()
- Overrides:
clone
in class Object
comparator
public Comparator comparator()
- Specified by:
comparator
in interface SortedSet
contains
public boolean contains(Object var0)
- Specified by:
contains
in interface Collection
- Specified by:
contains
in interface Set
- Overrides:
contains
in class AbstractCollection
first
public Object first()
- Specified by:
first
in interface SortedSet
headSet
public SortedSet headSet(Object var0)
- Specified by:
headSet
in interface SortedSet
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection
- Specified by:
isEmpty
in interface Set
- Overrides:
isEmpty
in class AbstractCollection
iterator
public Iterator iterator()
- Specified by:
iterator
in interface Collection
- Specified by:
iterator
in interface Set
- Specified by:
iterator
in class AbstractCollection
last
public Object last()
- Specified by:
last
in interface SortedSet
remove
public boolean remove(Object var0)
- Specified by:
remove
in interface Collection
- Specified by:
remove
in interface Set
- Overrides:
remove
in class AbstractCollection
size
public int size()
- Specified by:
size
in interface Collection
- Specified by:
size
in interface Set
- Specified by:
size
in class AbstractCollection
subSet
public SortedSet subSet(Object var0,
Object var1)
- Specified by:
subSet
in interface SortedSet
tailSet
public SortedSet tailSet(Object var0)
- Specified by:
tailSet
in interface SortedSet
Copyright © 2006-2010 OSGi Alliance. All Rights Reserved.