Packages

  • package root

    ScalaFX is a UI DSL written within the Scala Language that sits on top of JavaFX 2.x and and JavaFX 8.

    ScalaFX is a UI DSL written within the Scala Language that sits on top of JavaFX 2.x and and JavaFX 8. This means that every ScalaFX application is also a valid Scala application. By extension it supports full interoperability with Java and can run anywhere the Java Virtual Machine (JVM) and JavaFX 2.0 or JavaFX 8 are supported.

    Package Structure

    ScalaFX package structure corresponds to JavaFX package structure, for instance scalafx.animation corresponds to javafx.animation.

    Example Usage

    A basic ScalaFX application is created creating an object that is an instance of JFXApp3. Following Java FX theatre metaphor, it contains a stage that contains a scene. A stage roughly corresponds to a window in a typical UI environment. The scene holds UI content presented to the user. In the example below, the content is a pane with a single label component.

    package hello
    
    import scalafx.application.JFXApp3
    import scalafx.geometry.Insets
    import scalafx.scene.Scene
    import scalafx.scene.control.Label
    import scalafx.scene.layout.BorderPane
    
    object HelloWorld extends JFXApp3 {
    
      override def start(): Unit = {
        stage = new JFXApp3.PrimaryStage {
          title = "Hello"
          scene = new Scene {
            root = new BorderPane {
              padding = Insets(75)
              center = new Label("Hello World")
            }
          }
        }
      }
    }
    Definition Classes
    root
  • package scalafx

    Base package for ScalaFX classes.

    Base package for ScalaFX classes.

    Definition Classes
    root
  • package collections

    Wraps javafx.collections package, adding Scala's collections features to original JavaFX collections.

    Wraps javafx.collections package, adding Scala's collections features to original JavaFX collections.

    Definition Classes
    scalafx
  • package transformation
    Definition Classes
    collections
  • CollectionIncludes
  • ObservableArray
  • ObservableBuffer
  • ObservableBufferBase
  • ObservableFloatArray
  • ObservableHashMap
  • ObservableHashSet
  • ObservableIntegerArray
  • ObservableMap
  • ObservableSet
c

scalafx.collections

ObservableHashSet

class ObservableHashSet[T] extends AbstractSet[T] with ObservableSet[T]

scalafx.collections.ObservableSet implementation backed for a HashSet from Java Collection.

Source
ObservableSet.scala
Linear Supertypes
ObservableSet[T], Observable, SFXDelegate[javafx.collections.ObservableSet[T]], AbstractSet[T], Set[T], SetOps[T, Set, Set[T]], Shrinkable[T], Builder[T, Set[T]], Growable[T], Clearable, Cloneable[Set[T]], Cloneable, Iterable[T], AbstractSet[T], Set[T], Equals, SetOps[T, [_]Set[_], Set[T]], (T) => Boolean, AbstractIterable[T], Iterable[T], IterableFactoryDefaults[T, [x]Set[x]], IterableOps[T, [_]Set[_], Set[T]], IterableOnceOps[T, [_]Set[_], Set[T]], IterableOnce[T], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ObservableHashSet
  2. ObservableSet
  3. Observable
  4. SFXDelegate
  5. AbstractSet
  6. Set
  7. SetOps
  8. Shrinkable
  9. Builder
  10. Growable
  11. Clearable
  12. Cloneable
  13. Cloneable
  14. Iterable
  15. AbstractSet
  16. Set
  17. Equals
  18. SetOps
  19. Function1
  20. AbstractIterable
  21. Iterable
  22. IterableFactoryDefaults
  23. IterableOps
  24. IterableOnceOps
  25. IterableOnce
  26. AnyRef
  27. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ObservableHashSet(delegate: javafx.collections.ObservableSet[T] = jfxc.FXCollections.observableSet(new ju.HashSet[T]))

    delegate

    JavaFX ObservableSet instance to be wrapped by this class. By default it is a HashSet wrapped by observableSet method from FXCollections.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def &(that: Set[T]): Set[T]
    Definition Classes
    SetOps
    Annotations
    @inline()
  4. final def &~(that: Set[T]): Set[T]
    Definition Classes
    SetOps
    Annotations
    @inline()
  5. final def ++(that: IterableOnce[T]): Set[T]
    Definition Classes
    SetOps
    Annotations
    @inline()
  6. final def ++[B >: T](suffix: IterableOnce[B]): Set[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  7. final def ++=(xs: IterableOnce[T]): ObservableHashSet.this.type
    Definition Classes
    Growable
    Annotations
    @inline()
  8. final def +=(elem: T): ObservableHashSet.this.type
    Definition Classes
    Growable
    Annotations
    @inline()
  9. final def --=(xs: IterableOnce[T]): ObservableHashSet.this.type
    Definition Classes
    Shrinkable
    Annotations
    @inline()
  10. final def -=(elem: T): ObservableHashSet.this.type
    Definition Classes
    Shrinkable
    Annotations
    @inline()
  11. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def add(elem: T): Boolean
    Definition Classes
    SetOps
  13. def addAll(xs: IterableOnce[T]): ObservableHashSet.this.type
    Definition Classes
    Growable
  14. def addOne(elem: T): ObservableHashSet.this.type

    Adds a single element to the set.

    Adds a single element to the set.

    elem

    the element to be added.

    returns

    The Set itself

    Definition Classes
    ObservableSet → Growable
  15. final def addString(b: StringBuilder): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  16. final def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  17. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    IterableOnceOps
  18. def andThen[A](g: (Boolean) => A): (T) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  19. final def apply(elem: T): Boolean
    Definition Classes
    SetOps → Function1
    Annotations
    @inline()
  20. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  21. def canEqual(that: Any): Boolean
    Definition Classes
    Set → Equals
  22. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  23. def clear(): Unit

    Removes all elements from the Set.

    Removes all elements from the Set. After this operation has completed, the Set will be empty.

    Definition Classes
    ObservableSet → Builder → Clearable
  24. def clone(): Set[T]
    Definition Classes
    SetOps → Cloneable → AnyRef
  25. final def coll: ObservableHashSet.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  26. def collect[B](pf: PartialFunction[T, B]): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  27. def collectFirst[B](pf: PartialFunction[T, B]): Option[B]
    Definition Classes
    IterableOnceOps
  28. def compose[A](g: (A) => T): (A) => Boolean
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  29. def concat(that: IterableOnce[T]): Set[T]
    Definition Classes
    SetOps
  30. def concat[B >: T](suffix: IterableOnce[B]): Set[B]
    Definition Classes
    IterableOps
  31. def contains(elem: T): Boolean

    Tests if some element is contained in this Set.

    Tests if some element is contained in this Set.

    elem

    the element to test for membership.

    returns

    true if elem is contained in this Set, false otherwise.

    Definition Classes
    ObservableSet → SetOps
  32. def copyToArray[B >: T](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  33. def copyToArray[B >: T](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  34. def copyToArray[B >: T](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  35. def corresponds[B](that: IterableOnce[B])(p: (T, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  36. def count(p: (T) => Boolean): Int
    Definition Classes
    IterableOnceOps
  37. val delegate: javafx.collections.ObservableSet[T]

    JavaFX object to be wrapped.

    JavaFX object to be wrapped.

    Definition Classes
    ObservableHashSetSFXDelegate
  38. def diff(that: Set[T]): Set[T]
    Definition Classes
    SetOps → SetOps
  39. def drop(n: Int): Set[T]
    Definition Classes
    IterableOps → IterableOnceOps
  40. def dropRight(n: Int): Set[T]
    Definition Classes
    IterableOps
  41. def dropWhile(p: (T) => Boolean): Set[T]
    Definition Classes
    IterableOps → IterableOnceOps
  42. def empty: ObservableHashSet[T]

    Generates a empty ObservableSet.

    Generates a empty ObservableSet.

    returns

    A empty scalafx.collections.ObservableHashSet

    Definition Classes
    ObservableSet → IterableFactoryDefaults → IterableOps
  43. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. def equals(ref: Any): Boolean

    Verifies if a object is equals to this delegate.

    Verifies if a object is equals to this delegate.

    ref

    Object to be compared.

    returns

    if the other object is equals to this delegate or not.

    Definition Classes
    SFXDelegate → AnyRef → Any
  45. def exists(p: (T) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  46. def filter(pred: (T) => Boolean): Set[T]
    Definition Classes
    IterableOps → IterableOnceOps
  47. def filterInPlace(p: (T) => Boolean): ObservableHashSet.this.type
    Definition Classes
    SetOps
  48. def filterNot(pred: (T) => Boolean): Set[T]
    Definition Classes
    IterableOps → IterableOnceOps
  49. def find(p: (T) => Boolean): Option[T]
    Definition Classes
    IterableOnceOps
  50. def flatMap[B](f: (T) => IterableOnce[B]): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  51. def flatten[B](implicit asIterable: (T) => IterableOnce[B]): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  52. def fold[A1 >: T](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  53. def foldLeft[B](z: B)(op: (B, T) => B): B
    Definition Classes
    IterableOnceOps
  54. def foldRight[B](z: B)(op: (T, B) => B): B
    Definition Classes
    IterableOnceOps
  55. def forall(p: (T) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  56. def foreach[U](f: (T) => U): Unit
    Definition Classes
    IterableOnceOps
  57. def fromSpecific(coll: IterableOnce[T]): Set[T]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  58. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  59. def groupBy[K](f: (T) => K): Map[K, Set[T]]
    Definition Classes
    IterableOps
  60. def groupMap[K, B](key: (T) => K)(f: (T) => B): Map[K, Set[B]]
    Definition Classes
    IterableOps
  61. def groupMapReduce[K, B](key: (T) => K)(f: (T) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  62. def grouped(size: Int): Iterator[Set[T]]
    Definition Classes
    IterableOps
  63. def hashCode(): Int

    returns

    The delegate hashcode

    Definition Classes
    SFXDelegate → AnyRef → Any
  64. def head: T
    Definition Classes
    IterableOps
  65. def headOption: Option[T]
    Definition Classes
    IterableOps
  66. def init: Set[T]
    Definition Classes
    IterableOps
  67. def inits: Iterator[Set[T]]
    Definition Classes
    IterableOps
  68. def intersect(that: Set[T]): Set[T]
    Definition Classes
    SetOps
  69. def isEmpty: Boolean
    Definition Classes
    IterableOnceOps
  70. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  71. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  72. val iterableFactory: IterableFactory[ObservableSet]
    Definition Classes
    ObservableSet → Set → Iterable → Set → Iterable → IterableOps
  73. def iterator: Iterator[T]

    Creates a new iterator over elements of this set

    Creates a new iterator over elements of this set

    Definition Classes
    ObservableSet → IterableOnce
  74. def knownSize: Int
    Definition Classes
    SetOps → Growable → IterableOnce
  75. def last: T
    Definition Classes
    IterableOps
  76. def lastOption: Option[T]
    Definition Classes
    IterableOps
  77. def lazyZip[B](that: Iterable[B]): LazyZip2[T, B, ObservableHashSet.this.type]
    Definition Classes
    Iterable
  78. def map[B](f: (T) => B): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  79. def mapResult[NewTo](f: (Set[T]) => NewTo): Builder[T, NewTo]
    Definition Classes
    Builder
  80. def max[B >: T](implicit ord: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  81. def maxBy[B](f: (T) => B)(implicit cmp: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  82. def maxByOption[B](f: (T) => B)(implicit cmp: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  83. def maxOption[B >: T](implicit ord: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  84. def min[B >: T](implicit ord: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  85. def minBy[B](f: (T) => B)(implicit cmp: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  86. def minByOption[B](f: (T) => B)(implicit cmp: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  87. def minOption[B >: T](implicit ord: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  88. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  89. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  90. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  91. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  92. def newSpecificBuilder: Builder[T, Set[T]]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  93. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  94. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  95. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  96. def onChange(op: => Unit): Subscription

    Add a listener function to Set's changes.

    Add a listener function to Set's changes. This function will not handle this Set's modifications data.

    op

    No-argument function to be activated when some change in this ObservableSet was made.

    Definition Classes
    ObservableSet
  97. def onChange[J >: T](op: (ObservableSet[T], Change[J]) => Unit): Subscription

    Add a listener function to Set's changes.

    Add a listener function to Set's changes. This function will handle this map's modifications data.

    op

    Function that will handle this ObservableSet's modifications data to be activated when some change was made.

    Definition Classes
    ObservableSet
  98. def onInvalidate(op: => Unit): Subscription

    Adds a no argument function as a JavaFX InvalidationListener.

    Adds a no argument function as a JavaFX InvalidationListener. This function has no arguments because it will not handle invalidated values.

    op

    A Function with no arguments. It will be called when value was invalidated.

    returns

    A new scalafx.event.subscriptions.Subscription to remove JavaFX InvalidationListener.

    Definition Classes
    Observable
  99. def onInvalidate(op: (Observable) => Unit): Subscription

    Adds a function as a JavaFX InvalidationListener.

    Adds a function as a JavaFX InvalidationListener. This function has all arguments from invalidated method from InvalidationListener.

    op

    Function that receives a ScalaFX Observable. It will be called when value was invalidated.

    returns

    A new scalafx.event.subscriptions.Subscription to remove JavaFX InvalidationListener.

    Definition Classes
    Observable
  100. def partition(p: (T) => Boolean): (Set[T], Set[T])
    Definition Classes
    IterableOps
  101. def partitionMap[A1, A2](f: (T) => Either[A1, A2]): (Set[A1], Set[A2])
    Definition Classes
    IterableOps
  102. def product[B >: T](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  103. def reduce[B >: T](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  104. def reduceLeft[B >: T](op: (B, T) => B): B
    Definition Classes
    IterableOnceOps
  105. def reduceLeftOption[B >: T](op: (B, T) => B): Option[B]
    Definition Classes
    IterableOnceOps
  106. def reduceOption[B >: T](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  107. def reduceRight[B >: T](op: (T, B) => B): B
    Definition Classes
    IterableOnceOps
  108. def reduceRightOption[B >: T](op: (T, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  109. def remove(elem: T): Boolean
    Definition Classes
    SetOps
  110. def result(): ObservableSet[T]

    The result when this set is used as a builder

    The result when this set is used as a builder

    Definition Classes
    ObservableSet → SetOps → Builder
  111. def reversed: Iterable[T]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  112. def scan[B >: T](z: B)(op: (B, B) => B): Set[B]
    Definition Classes
    IterableOps
  113. def scanLeft[B](z: B)(op: (B, T) => B): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  114. def scanRight[B](z: B)(op: (T, B) => B): Set[B]
    Definition Classes
    IterableOps
  115. def size: Int

    returns

    This Set's size.

    Definition Classes
    ObservableSet → IterableOnceOps
  116. def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    IterableOps
  117. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  118. final def sizeHint(coll: IterableOnce[_], delta: Int): Unit
    Definition Classes
    Builder
  119. def sizeHint(size: Int): Unit
    Definition Classes
    Builder
  120. final def sizeHintBounded(size: Int, boundingColl: Iterable[_]): Unit
    Definition Classes
    Builder
  121. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  122. def slice(from: Int, until: Int): Set[T]
    Definition Classes
    IterableOps → IterableOnceOps
  123. def sliding(size: Int, step: Int): Iterator[Set[T]]
    Definition Classes
    IterableOps
  124. def sliding(size: Int): Iterator[Set[T]]
    Definition Classes
    IterableOps
  125. def span(p: (T) => Boolean): (Set[T], Set[T])
    Definition Classes
    IterableOps → IterableOnceOps
  126. def splitAt(n: Int): (Set[T], Set[T])
    Definition Classes
    IterableOps → IterableOnceOps
  127. def stepper[S <: Stepper[_]](implicit shape: StepperShape[T, S]): S
    Definition Classes
    IterableOnce
  128. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Set → Iterable
  129. def subsetOf(that: Set[T]): Boolean
    Definition Classes
    SetOps
  130. def subsets(): Iterator[Set[T]]
    Definition Classes
    SetOps
  131. def subsets(len: Int): Iterator[Set[T]]
    Definition Classes
    SetOps
  132. def subtractAll(xs: IterableOnce[T]): ObservableHashSet.this.type
    Definition Classes
    Shrinkable
  133. def subtractOne(elem: T): ObservableHashSet.this.type

    Removes a single element from this mutable set.

    Removes a single element from this mutable set.

    elem

    the element to be removed.

    returns

    The Set itself

    Definition Classes
    ObservableSet → Shrinkable
  134. def sum[B >: T](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  135. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  136. def tail: Set[T]
    Definition Classes
    IterableOps
  137. def tails: Iterator[Set[T]]
    Definition Classes
    IterableOps
  138. def take(n: Int): Set[T]
    Definition Classes
    IterableOps → IterableOnceOps
  139. def takeRight(n: Int): Set[T]
    Definition Classes
    IterableOps
  140. def takeWhile(p: (T) => Boolean): Set[T]
    Definition Classes
    IterableOps → IterableOnceOps
  141. def tapEach[U](f: (T) => U): Set[T]
    Definition Classes
    IterableOps → IterableOnceOps
  142. def to[C1](factory: Factory[T, C1]): C1
    Definition Classes
    IterableOnceOps
  143. def toArray[B >: T](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  144. final def toBuffer[B >: T]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  145. def toIndexedSeq: IndexedSeq[T]
    Definition Classes
    IterableOnceOps
  146. final def toIterable: ObservableHashSet.this.type
    Definition Classes
    Iterable → IterableOps
  147. def toList: List[T]
    Definition Classes
    IterableOnceOps
  148. def toMap[K, V](implicit ev: <:<[T, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  149. def toSeq: Seq[T]
    Definition Classes
    IterableOnceOps
  150. def toSet[B >: T]: Set[B]
    Definition Classes
    IterableOnceOps
  151. def toString(): String

    returns

    Returns the original delegate's toString() adding a [SFX] prefix.

    Definition Classes
    SFXDelegate → AnyRef → Any
  152. def toVector: Vector[T]
    Definition Classes
    IterableOnceOps
  153. def transpose[B](implicit asIterable: (T) => Iterable[B]): Set[Set[B]]
    Definition Classes
    IterableOps
  154. final def union(that: Set[T]): Set[T]
    Definition Classes
    SetOps
    Annotations
    @inline()
  155. def unzip[A1, A2](implicit asPair: (T) => (A1, A2)): (Set[A1], Set[A2])
    Definition Classes
    IterableOps
  156. def unzip3[A1, A2, A3](implicit asTriple: (T) => (A1, A2, A3)): (Set[A1], Set[A2], Set[A3])
    Definition Classes
    IterableOps
  157. def update(elem: T, included: Boolean): Unit
    Definition Classes
    SetOps
  158. def view: View[T]
    Definition Classes
    IterableOps
  159. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  160. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  161. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  162. def withFilter(p: (T) => Boolean): WithFilter[T, [_]Set[_]]
    Definition Classes
    IterableOps
  163. def zip[B](that: IterableOnce[B]): Set[(T, B)]
    Definition Classes
    IterableOps
  164. def zipAll[A1 >: T, B](that: Iterable[B], thisElem: A1, thatElem: B): Set[(A1, B)]
    Definition Classes
    IterableOps
  165. def zipWithIndex: Set[(T, Int)]
    Definition Classes
    IterableOps → IterableOnceOps
  166. final def |(that: Set[T]): Set[T]
    Definition Classes
    SetOps
    Annotations
    @inline()

Deprecated Value Members

  1. def +(elem1: T, elem2: T, elems: T*): Set[T]
    Definition Classes
    SetOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ with an explicit collection argument instead of + with varargs

  2. def +(elem: T): Set[T]
    Definition Classes
    SetOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Consider requiring an immutable Set or fall back to Set.union

  3. def ++:[B >: T](that: IterableOnce[B]): Set[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  4. final def +=(elem1: T, elem2: T, elems: T*): ObservableHashSet.this.type
    Definition Classes
    Growable
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use ++= aka addAll instead of varargs +=; infix operations with an operand of multiple args will be deprecated

  5. def -(elem1: T, elem2: T, elems: T*): Set[T]
    Definition Classes
    SetOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use &- with an explicit collection argument instead of - with varargs

  6. def -(elem: T): Set[T]
    Definition Classes
    SetOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Consider requiring an immutable Set or fall back to Set.diff

  7. def --(that: IterableOnce[T]): Set[T]
    Definition Classes
    SetOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Consider requiring an immutable Set

  8. def -=(elem1: T, elem2: T, elems: T*): ObservableHashSet.this.type
    Definition Classes
    Shrinkable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.3) Use --= aka subtractAll instead of varargs -=; infix operations with an operand of multiple args will be deprecated

  9. final def /:[B](z: B)(op: (B, T) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  10. final def :\[B](z: B)(op: (T, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  11. def aggregate[B](z: => B)(seqop: (B, T) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) aggregate is not relevant for sequential collections. Use foldLeft(z)(seqop) instead.

  12. def companion: IterableFactory[[_]Set[_]]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding() @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  13. final def copyToBuffer[B >: T](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  15. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  16. final def repr: Set[T]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  17. final def retain(p: (T) => Boolean): Unit
    Definition Classes
    SetOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use filterInPlace instead

  18. def seq: ObservableHashSet.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  19. final def toIterator: Iterator[T]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  20. final def toStream: Stream[T]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  21. final def toTraversable: Traversable[T]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use toIterable instead

  22. def view(from: Int, until: Int): View[T]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)

Inherited from ObservableSet[T]

Inherited from Observable

Inherited from SFXDelegate[javafx.collections.ObservableSet[T]]

Inherited from AbstractSet[T]

Inherited from Set[T]

Inherited from SetOps[T, Set, Set[T]]

Inherited from Shrinkable[T]

Inherited from Builder[T, Set[T]]

Inherited from Growable[T]

Inherited from Clearable

Inherited from Cloneable[Set[T]]

Inherited from Cloneable

Inherited from Iterable[T]

Inherited from AbstractSet[T]

Inherited from Set[T]

Inherited from Equals

Inherited from SetOps[T, [_]Set[_], Set[T]]

Inherited from (T) => Boolean

Inherited from AbstractIterable[T]

Inherited from Iterable[T]

Inherited from IterableFactoryDefaults[T, [x]Set[x]]

Inherited from IterableOps[T, [_]Set[_], Set[T]]

Inherited from IterableOnceOps[T, [_]Set[_], Set[T]]

Inherited from IterableOnce[T]

Inherited from AnyRef

Inherited from Any

Ungrouped