Package org.teavm.classlib.java.util
Class TTreeSet<E>
java.lang.Object
org.teavm.classlib.java.lang.TObject
org.teavm.classlib.java.util.TAbstractCollection<E>
org.teavm.classlib.java.util.TAbstractSet<E>
org.teavm.classlib.java.util.TTreeSet<E>
- Type Parameters:
E
-
- All Implemented Interfaces:
TIterable<E>
,TCollection<E>
,TNavigableSet<E>
,TSet<E>
,TSortedSet<E>
- Author:
- Alexey Andreev
-
Constructor Summary
ConstructorsConstructorDescriptionTTreeSet()
TTreeSet(TCollection<? extends E> coll)
TTreeSet(TComparator<? super E> comparator)
TTreeSet(TSortedSet<E> s)
-
Method Summary
Methods inherited from class org.teavm.classlib.java.util.TAbstractSet
equals, hashCode, removeAll
Methods inherited from class org.teavm.classlib.java.util.TAbstractCollection
addAll, contains, containsAll, isEmpty, retainAll, toArray, toArray, toString
Methods inherited from class org.teavm.classlib.java.lang.TObject
clone, equals0, finalize, getClass0, notify0, notifyAll0, wait0, wait0, waitImpl
Methods inherited from interface org.teavm.classlib.java.util.TCollection
addAll, contains, containsAll, isEmpty, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArray
-
Constructor Details
-
TTreeSet
public TTreeSet() -
TTreeSet
-
TTreeSet
-
TTreeSet
-
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceTCollection<E>
-
iterator
-
clear
public void clear()- Specified by:
clear
in interfaceTCollection<E>
- Overrides:
clear
in classTAbstractCollection<E>
-
add
- Specified by:
add
in interfaceTCollection<E>
- Overrides:
add
in classTAbstractCollection<E>
-
remove
- Specified by:
remove
in interfaceTCollection<E>
- Overrides:
remove
in classTAbstractCollection<E>
-
comparator
- Specified by:
comparator
in interfaceTSortedSet<E>
-
subSet
- Specified by:
subSet
in interfaceTSortedSet<E>
-
headSet
- Specified by:
headSet
in interfaceTSortedSet<E>
-
tailSet
- Specified by:
tailSet
in interfaceTSortedSet<E>
-
first
- Specified by:
first
in interfaceTSortedSet<E>
-
last
- Specified by:
last
in interfaceTSortedSet<E>
-
lower
- Specified by:
lower
in interfaceTNavigableSet<E>
-
floor
- Specified by:
floor
in interfaceTNavigableSet<E>
-
ceiling
- Specified by:
ceiling
in interfaceTNavigableSet<E>
-
higher
- Specified by:
higher
in interfaceTNavigableSet<E>
-
pollFirst
- Specified by:
pollFirst
in interfaceTNavigableSet<E>
-
pollLast
- Specified by:
pollLast
in interfaceTNavigableSet<E>
-
descendingSet
- Specified by:
descendingSet
in interfaceTNavigableSet<E>
-
descendingIterator
- Specified by:
descendingIterator
in interfaceTNavigableSet<E>
-
subSet
public TNavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)- Specified by:
subSet
in interfaceTNavigableSet<E>
-
headSet
- Specified by:
headSet
in interfaceTNavigableSet<E>
-
tailSet
- Specified by:
tailSet
in interfaceTNavigableSet<E>
-