Packages

c

java.util

TreeSet

class TreeSet[E] extends AbstractSet[E] with NavigableSet[E] with Cloneable with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TreeSet
  2. Serializable
  3. Cloneable
  4. NavigableSet
  5. SortedSet
  6. SequencedSet
  7. SequencedCollection
  8. AbstractSet
  9. Set
  10. AbstractCollection
  11. Collection
  12. Iterable
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TreeSet(sortedSet: SortedSet[E])
  2. new TreeSet(collection: Collection[_ <: E])
  3. new TreeSet(comparator: Comparator[_ >: E])
  4. new TreeSet()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(e: E): Boolean
    Definition Classes
    TreeSetSetAbstractCollectionCollection
  5. def addAll(c: Collection[_ <: E]): Boolean
    Definition Classes
    AbstractCollectionCollection
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def ceiling(e: E): E
    Definition Classes
    TreeSetNavigableSet
  8. def clear(): Unit
    Definition Classes
    TreeSetSetAbstractCollectionCollection
  9. def clone(): TreeSet[E]
    Definition Classes
    TreeSet → AnyRef
  10. def comparator(): Comparator[_ >: E]
    Definition Classes
    TreeSetSortedSet
  11. def contains(o: Any): Boolean
    Definition Classes
    TreeSetSetAbstractCollectionCollection
  12. def containsAll(c: Collection[_]): Boolean
    Definition Classes
    AbstractCollectionCollection
  13. def descendingIterator(): Iterator[E]
    Definition Classes
    TreeSetNavigableSet
  14. def descendingSet(): NavigableSet[E]
    Definition Classes
    TreeSetNavigableSet
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(that: Any): Boolean
    Definition Classes
    AbstractSetCollection → AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. def first(): E
    Definition Classes
    TreeSetSortedSet
  19. def floor(e: E): E
    Definition Classes
    TreeSetNavigableSet
  20. def forEach(action: Consumer[_ >: E]): Unit
    Definition Classes
    Iterable
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AbstractSetCollection → AnyRef → Any
  23. def headSet(toElement: E): SortedSet[E]
    Definition Classes
    TreeSetNavigableSetSortedSet
  24. def headSet(toElement: E, inclusive: Boolean): NavigableSet[E]
    Definition Classes
    TreeSetNavigableSet
  25. def higher(e: E): E
    Definition Classes
    TreeSetNavigableSet
  26. def isEmpty(): Boolean
    Definition Classes
    TreeSetSetAbstractCollectionCollection
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def iterator(): Iterator[E]
    Definition Classes
    TreeSetNavigableSetSetAbstractCollectionCollectionIterable
  29. def last(): E
    Definition Classes
    TreeSetSortedSet
  30. def lower(e: E): E
    Definition Classes
    TreeSetNavigableSet
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def parallelStream(): Stream[E]
    Definition Classes
    Collection
  35. def pollFirst(): E
    Definition Classes
    TreeSetNavigableSet
  36. def pollLast(): E
    Definition Classes
    TreeSetNavigableSet
  37. def remove(o: Any): Boolean
    Definition Classes
    TreeSetSetAbstractCollectionCollection
  38. def removeAll(c: Collection[_]): Boolean
    Definition Classes
    AbstractSetSetAbstractCollectionCollection
  39. def removeIf(filter: Predicate[_ >: E]): Boolean
    Definition Classes
    Collection
  40. def retainAll(c: Collection[_]): Boolean
    Definition Classes
    AbstractCollectionCollection
  41. def size(): Int
    Definition Classes
    TreeSetSetAbstractCollectionCollection
  42. def spliterator(): Spliterator[E]

    From the Java 8 documentation: The default implementation should usually be overridden.

    From the Java 8 documentation: The default implementation should usually be overridden. The spliterator returned by the default implementation has poor splitting capabilities, is unsized, and does not report any spliterator characteristics. Implementing classes can nearly always provide a better implementation.

    Definition Classes
    CollectionIterable
  43. def stream(): Stream[E]
    Definition Classes
    Collection
  44. def subSet(fromElement: E, toElement: E): SortedSet[E]
    Definition Classes
    TreeSetNavigableSetSortedSet
  45. def subSet(fromElement: E, fromInclusive: Boolean, toElement: E, toInclusive: Boolean): NavigableSet[E]
    Definition Classes
    TreeSetNavigableSet
  46. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  47. def tailSet(fromElement: E): SortedSet[E]
    Definition Classes
    TreeSetNavigableSetSortedSet
  48. def tailSet(fromElement: E, inclusive: Boolean): NavigableSet[E]
    Definition Classes
    TreeSetNavigableSet
  49. def toArray[T <: AnyRef](a: Array[T]): Array[T]
    Definition Classes
    AbstractCollectionCollection
  50. def toArray(): Array[AnyRef]
    Definition Classes
    AbstractCollectionCollection
  51. def toString(): String
    Definition Classes
    AbstractCollection → AnyRef → Any
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Cloneable

Inherited from NavigableSet[E]

Inherited from SortedSet[E]

Inherited from SequencedSet[E]

Inherited from SequencedCollection[E]

Inherited from AbstractSet[E]

Inherited from Set[E]

Inherited from AbstractCollection[E]

Inherited from Collection[E]

Inherited from Iterable[E]

Inherited from AnyRef

Inherited from Any

Ungrouped