Packages

  • package root
    Definition Classes
    root
  • package scala
    Definition Classes
    root
  • package swing

    Scala-swing is a graphical user interface library that will wrap most of Java Swing for Scala in a straightforward manner.

    Scala-swing is a graphical user interface library that will wrap most of Java Swing for Scala in a straightforward manner.

    Overview

    The widget class hierarchy loosely resembles that of Java Swing. The main differences are:

    • In Java Swing all components are containers per default. This does not make much sense for a number of components, like scala.swing.TextField, scala.swing.CheckBox, scala.swing.RadioButton, and so on. Our guess is that this architecture was chosen because Java lacks multiple inheritance. In scala-swing, components that can have child components extend the scala.swing.Container trait.
    • Layout managers and panels are coupled. There is no way to exchange the layout manager of a panel. As a result, the layout constraints for widgets can be typed. (Note that you gain more type-safety and do not loose much flexibility here. Besides being not a common operation, exchanging the layout manager of a panel in Java Swing almost always leads to exchanging the layout constraints for every of the panel's child component. In the end, it is not more work to move all children to a newly created panel.)
    • Widget hierarchies are built by adding children to their parent container's contents collection. The typical usage style is to create anonymous subclasses of the widgets to customize their properties, and nest children and event reactions.
    • The scala-swing event system follows a different approach than the underlying Java system. Instead of adding event listeners with a particular interface (such as java.awt.ActionListener), a scala.swing.Reactor instance announces the interest in receiving events by calling listenTo for a scala.swing.Publisher. Publishers are also reactors and listen to themselves per default as a convenience. A reactor contains an object reactions which serves as a convenient place to register observers by adding partial functions that pattern match for any event that the observer is interested in. This is shown in the examples section below.
    • For more details see SIP-8.

    Scala-swing comprises two main packages:

    • scala.swing: All widget classes and traits.
    • scala.swing.event: The event hierarchy.

    This package object contains useful type aliases that do not have wrappers.

    Examples

    The following example shows how to plug components and containers together and react to a mouse click on a button:

    import scala.swing._
    
    new Frame {
      title = "Hello world"
    
      contents = new FlowPanel {
        contents += new Label("Launch rainbows:")
        contents += new Button("Click me") {
          reactions += {
            case event.ButtonClicked(_) =>
              println("All the colours!")
          }
        }
      }
    
      pack()
      centerOnScreen()
      open()
    }
    Definition Classes
    scala
  • class ListView[A] extends Component

    A component that displays a number of elements in a list.

    A component that displays a number of elements in a list. A list view does not support inline editing of items. If you need it, use a table view instead.

    Named ListView to avoid a clash with the frequently used scala.List

    Definition Classes
    swing
    See also

    javax.swing.JList

  • object selection extends Publisher

    The current item selection.

    The current item selection.

    Definition Classes
    ListView
  • Indices
  • indices

abstract class Indices[B] extends SetWrapper[B]

Attributes
protected
Linear Supertypes
SetWrapper[B], Set[B], SetOps[B, Set, Set[B]], Shrinkable[B], Builder[B, Set[B]], Growable[B], Clearable, collection.mutable.Cloneable[Set[B]], java.lang.Cloneable, Set[B], Equals, SetOps[B, [_]Set[_], Set[B]], (B) => Boolean, collection.mutable.Iterable[B], collection.Iterable[B], IterableFactoryDefaults[B, [x]Set[x]], IterableOps[B, [_]Set[_], Set[B]], IterableOnceOps[B, [_]Set[_], Set[B]], collection.IterableOnce[B], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Indices
  2. SetWrapper
  3. Set
  4. SetOps
  5. Shrinkable
  6. Builder
  7. Growable
  8. Clearable
  9. Cloneable
  10. Cloneable
  11. Set
  12. Equals
  13. SetOps
  14. Function1
  15. Iterable
  16. Iterable
  17. IterableFactoryDefaults
  18. IterableOps
  19. IterableOnceOps
  20. IterableOnce
  21. AnyRef
  22. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Indices(a: => collection.Seq[B])

Type Members

  1. type MoreElem[+B] = collection.IterableOnce[B]

    The collection passed to addAll and subtractAll

    The collection passed to addAll and subtractAll

    Definition Classes
    SetWrapper

Abstract Value Members

  1. abstract def addOne(elem: B): Indices.this.type
    Definition Classes
    Growable
  2. abstract def subtractOne(elem: B): Indices.this.type
    Definition Classes
    Shrinkable

Concrete 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[B]): Set[B]
    Definition Classes
    SetOps
    Annotations
    @inline()
  4. final def &~(that: Set[B]): Set[B]
    Definition Classes
    SetOps
    Annotations
    @inline()
  5. final def ++(that: collection.IterableOnce[B]): Set[B]
    Definition Classes
    SetOps
    Annotations
    @inline()
  6. final def ++[B >: B](suffix: collection.IterableOnce[B]): Set[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  7. final def ++=(xs: collection.IterableOnce[B]): Indices.this.type
    Definition Classes
    Growable
    Annotations
    @inline()
  8. final def +=(elem: B): Indices.this.type
    Definition Classes
    Growable
    Annotations
    @inline()
  9. final def --=(xs: collection.IterableOnce[B]): Indices.this.type
    Definition Classes
    Shrinkable
    Annotations
    @inline()
  10. final def -=(elem: B): Indices.this.type
    Definition Classes
    Shrinkable
    Annotations
    @inline()
  11. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def add(elem: B): Boolean
    Definition Classes
    SetOps
  13. def addAll(xs: collection.IterableOnce[B]): Indices.this.type
    Definition Classes
    Growable
  14. final def addString(b: collection.mutable.StringBuilder): collection.mutable.StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  15. final def addString(b: collection.mutable.StringBuilder, sep: String): collection.mutable.StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  16. def addString(b: collection.mutable.StringBuilder, start: String, sep: String, end: String): collection.mutable.StringBuilder
    Definition Classes
    IterableOnceOps
  17. def andThen[A](g: (Boolean) => A): (B) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  18. final def apply(elem: B): Boolean
    Definition Classes
    SetOps → Function1
    Annotations
    @inline()
  19. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  20. def canEqual(that: Any): Boolean
    Definition Classes
    Set → Equals
  21. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  22. def clear(): Unit
    Definition Classes
    SetWrapper → Builder → Clearable
  23. def clone(): Set[B]
    Definition Classes
    SetOps → Cloneable → AnyRef
  24. final def coll: Indices.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  25. def collect[B](pf: PartialFunction[B, B]): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  26. def collectFirst[B](pf: PartialFunction[B, B]): Option[B]
    Definition Classes
    IterableOnceOps
  27. def compose[A](g: (A) => B): (A) => Boolean
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  28. def concat(that: collection.IterableOnce[B]): Set[B]
    Definition Classes
    SetOps
  29. def concat[B >: B](suffix: collection.IterableOnce[B]): Set[B]
    Definition Classes
    IterableOps
  30. def contains(n: B): Boolean
    Definition Classes
    Indices → SetOps
  31. def copyToArray[B >: B](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  32. def copyToArray[B >: B](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
  33. def copyToArray[B >: B](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
  34. def corresponds[B](that: collection.IterableOnce[B])(p: (B, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  35. def count(p: (B) => Boolean): Int
    Definition Classes
    IterableOnceOps
  36. def diff(that: Set[B]): Set[B]
    Definition Classes
    SetOps → SetOps
  37. def drop(n: Int): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  38. def dropRight(n: Int): Set[B]
    Definition Classes
    IterableOps
  39. def dropWhile(p: (B) => Boolean): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  40. def empty: Set[B]
    Definition Classes
    IterableFactoryDefaults → IterableOps
  41. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. def equals(that: Any): Boolean
    Definition Classes
    Set → Equals → AnyRef → Any
  43. def exists(p: (B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  44. def filter(pred: (B) => Boolean): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  45. def filterInPlace(p: (B) => Boolean): Indices.this.type
    Definition Classes
    SetOps
  46. def filterNot(pred: (B) => Boolean): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  47. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  48. def find(p: (B) => Boolean): Option[B]
    Definition Classes
    IterableOnceOps
  49. def flatMap[B](f: (B) => collection.IterableOnce[B]): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  50. def flatten[B](implicit asIterable: (B) => collection.IterableOnce[B]): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  51. def fold[A1 >: B](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  52. def foldLeft[B](z: B)(op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  53. def foldRight[B](z: B)(op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  54. def forall(p: (B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  55. def foreach[U](f: (B) => U): Unit
    Definition Classes
    IterableOnceOps
  56. def fromSpecific(coll: collection.IterableOnce[B]): Set[B]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  57. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  58. def groupBy[K](f: (B) => K): Map[K, Set[B]]
    Definition Classes
    IterableOps
  59. def groupMap[K, B](key: (B) => K)(f: (B) => B): Map[K, Set[B]]
    Definition Classes
    IterableOps
  60. def groupMapReduce[K, B](key: (B) => K)(f: (B) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  61. def grouped(size: Int): collection.Iterator[Set[B]]
    Definition Classes
    IterableOps
  62. def hashCode(): Int
    Definition Classes
    Set → AnyRef → Any
  63. def head: B
    Definition Classes
    IterableOps
  64. def headOption: Option[B]
    Definition Classes
    IterableOps
  65. def init: Set[B]
    Definition Classes
    IterableOps
  66. def inits: collection.Iterator[Set[B]]
    Definition Classes
    IterableOps
  67. def intersect(that: Set[B]): Set[B]
    Definition Classes
    SetOps
  68. def isEmpty: Boolean
    Definition Classes
    IterableOnceOps
  69. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  70. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  71. def iterableFactory: IterableFactory[Set]
    Definition Classes
    Set → Set → Iterable → Iterable → IterableOps
  72. def iterator: Iterator[B]
    Definition Classes
    Indices → IterableOnce
  73. def knownSize: Int
    Definition Classes
    SetOps → Growable → IterableOnce
  74. def last: B
    Definition Classes
    IterableOps
  75. def lastOption: Option[B]
    Definition Classes
    IterableOps
  76. def lazyZip[B](that: collection.Iterable[B]): LazyZip2[B, B, Indices.this.type]
    Definition Classes
    Iterable
  77. def map[B](f: (B) => B): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  78. def mapResult[NewTo](f: (Set[B]) => NewTo): Builder[B, NewTo]
    Definition Classes
    Builder
  79. def max[B >: B](implicit ord: math.Ordering[B]): B
    Definition Classes
    IterableOnceOps
  80. def maxBy[B](f: (B) => B)(implicit cmp: math.Ordering[B]): B
    Definition Classes
    IterableOnceOps
  81. def maxByOption[B](f: (B) => B)(implicit cmp: math.Ordering[B]): Option[B]
    Definition Classes
    IterableOnceOps
  82. def maxOption[B >: B](implicit ord: math.Ordering[B]): Option[B]
    Definition Classes
    IterableOnceOps
  83. def min[B >: B](implicit ord: math.Ordering[B]): B
    Definition Classes
    IterableOnceOps
  84. def minBy[B](f: (B) => B)(implicit cmp: math.Ordering[B]): B
    Definition Classes
    IterableOnceOps
  85. def minByOption[B](f: (B) => B)(implicit cmp: math.Ordering[B]): Option[B]
    Definition Classes
    IterableOnceOps
  86. def minOption[B >: B](implicit ord: math.Ordering[B]): Option[B]
    Definition Classes
    IterableOnceOps
  87. final def mkIterator[B](xs: MoreElem[B]): Iterator[B]

    Cross-version way for creating an iterator from MoreElem.

    Cross-version way for creating an iterator from MoreElem.

    Attributes
    protected
    Definition Classes
    SetWrapper
  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[B, Set[B]]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  93. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
  94. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  95. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  96. def partition(p: (B) => Boolean): (Set[B], Set[B])
    Definition Classes
    IterableOps
  97. def partitionMap[A1, A2](f: (B) => Either[A1, A2]): (Set[A1], Set[A2])
    Definition Classes
    IterableOps
  98. def product[B >: B](implicit num: math.Numeric[B]): B
    Definition Classes
    IterableOnceOps
  99. def reduce[B >: B](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  100. def reduceLeft[B >: B](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  101. def reduceLeftOption[B >: B](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  102. def reduceOption[B >: B](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  103. def reduceRight[B >: B](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  104. def reduceRightOption[B >: B](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  105. def remove(elem: B): Boolean
    Definition Classes
    SetOps
  106. def result(): Set[B]
    Definition Classes
    SetOps → Builder
  107. def reversed: collection.Iterable[B]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  108. def scan[B >: B](z: B)(op: (B, B) => B): Set[B]
    Definition Classes
    IterableOps
  109. def scanLeft[B](z: B)(op: (B, B) => B): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  110. def scanRight[B](z: B)(op: (B, B) => B): Set[B]
    Definition Classes
    IterableOps
  111. def size: Int
    Definition Classes
    Indices → IterableOnceOps
  112. def sizeCompare(that: collection.Iterable[_]): Int
    Definition Classes
    IterableOps
  113. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  114. final def sizeHint(coll: collection.IterableOnce[_], delta: Int): Unit
    Definition Classes
    Builder
  115. def sizeHint(size: Int): Unit
    Definition Classes
    Builder
  116. final def sizeHintBounded(size: Int, boundingColl: collection.Iterable[_]): Unit
    Definition Classes
    Builder
  117. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  118. def slice(from: Int, until: Int): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  119. def sliding(size: Int, step: Int): collection.Iterator[Set[B]]
    Definition Classes
    IterableOps
  120. def sliding(size: Int): collection.Iterator[Set[B]]
    Definition Classes
    IterableOps
  121. def span(p: (B) => Boolean): (Set[B], Set[B])
    Definition Classes
    IterableOps → IterableOnceOps
  122. def splitAt(n: Int): (Set[B], Set[B])
    Definition Classes
    IterableOps → IterableOnceOps
  123. def stepper[S <: Stepper[_]](implicit shape: StepperShape[B, S]): S
    Definition Classes
    IterableOnce
  124. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Set → Iterable
  125. def subsetOf(that: Set[B]): Boolean
    Definition Classes
    SetOps
  126. def subsets(): collection.Iterator[Set[B]]
    Definition Classes
    SetOps
  127. def subsets(len: Int): collection.Iterator[Set[B]]
    Definition Classes
    SetOps
  128. def subtractAll(xs: collection.IterableOnce[B]): Indices.this.type
    Definition Classes
    Shrinkable
  129. def sum[B >: B](implicit num: math.Numeric[B]): B
    Definition Classes
    IterableOnceOps
  130. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  131. def tail: Set[B]
    Definition Classes
    IterableOps
  132. def tails: collection.Iterator[Set[B]]
    Definition Classes
    IterableOps
  133. def take(n: Int): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  134. def takeRight(n: Int): Set[B]
    Definition Classes
    IterableOps
  135. def takeWhile(p: (B) => Boolean): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  136. def tapEach[U](f: (B) => U): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  137. def to[C1](factory: Factory[B, C1]): C1
    Definition Classes
    IterableOnceOps
  138. def toArray[B >: B](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  139. final def toBuffer[B >: B]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  140. def toIndexedSeq: collection.immutable.IndexedSeq[B]
    Definition Classes
    IterableOnceOps
  141. final def toIterable: Indices.this.type
    Definition Classes
    Iterable → IterableOps
  142. def toList: collection.immutable.List[B]
    Definition Classes
    IterableOnceOps
  143. def toMap[K, V](implicit ev: <:<[B, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  144. def toSeq: collection.immutable.Seq[B]
    Definition Classes
    IterableOnceOps
  145. def toSet[B >: B]: Set[B]
    Definition Classes
    IterableOnceOps
  146. def toString(): String
    Definition Classes
    Set → Function1 → Iterable → AnyRef → Any
  147. def toVector: collection.immutable.Vector[B]
    Definition Classes
    IterableOnceOps
  148. def transpose[B](implicit asIterable: (B) => collection.Iterable[B]): Set[Set[B]]
    Definition Classes
    IterableOps
  149. final def union(that: Set[B]): Set[B]
    Definition Classes
    SetOps
    Annotations
    @inline()
  150. def unzip[A1, A2](implicit asPair: (B) => (A1, A2)): (Set[A1], Set[A2])
    Definition Classes
    IterableOps
  151. def unzip3[A1, A2, A3](implicit asTriple: (B) => (A1, A2, A3)): (Set[A1], Set[A2], Set[A3])
    Definition Classes
    IterableOps
  152. def update(elem: B, included: Boolean): Unit
    Definition Classes
    SetOps
  153. def view: View[B]
    Definition Classes
    IterableOps
  154. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  155. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  156. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  157. def withFilter(p: (B) => Boolean): WithFilter[B, [_]Set[_]]
    Definition Classes
    IterableOps
  158. def zip[B](that: collection.IterableOnce[B]): Set[(B, B)]
    Definition Classes
    IterableOps
  159. def zipAll[A1 >: B, B](that: collection.Iterable[B], thisElem: A1, thatElem: B): Set[(A1, B)]
    Definition Classes
    IterableOps
  160. def zipWithIndex: Set[(B, Int)]
    Definition Classes
    IterableOps → IterableOnceOps
  161. final def |(that: Set[B]): Set[B]
    Definition Classes
    SetOps
    Annotations
    @inline()

Deprecated Value Members

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

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

  2. def +(elem: B): Set[B]
    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 >: B](that: collection.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: B, elem2: B, elems: B*): Indices.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: B, elem2: B, elems: B*): Set[B]
    Definition Classes
    SetOps
    Annotations
    @deprecated
    Deprecated

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

  6. def -(elem: B): Set[B]
    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: collection.IterableOnce[B]): Set[B]
    Definition Classes
    SetOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Consider requiring an immutable Set

  8. def -=(elem1: B, elem2: B, elems: B*): Indices.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, B) => 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: (B, 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, B) => 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("Use iterableFactory instead", "2.13.0") @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

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

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

  14. 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)

  15. final def repr: Set[B]
    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

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

    (Since version 2.13.0) Use filterInPlace instead

  17. def seq: Indices.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

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

  18. final def toIterator: collection.Iterator[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

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

  19. final def toStream: collection.immutable.Stream[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

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

  20. final def toTraversable: collection.Traversable[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use toIterable instead

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

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

Inherited from SetWrapper[B]

Inherited from Set[B]

Inherited from SetOps[B, Set, Set[B]]

Inherited from Shrinkable[B]

Inherited from Builder[B, Set[B]]

Inherited from Growable[B]

Inherited from Clearable

Inherited from collection.mutable.Cloneable[Set[B]]

Inherited from java.lang.Cloneable

Inherited from Set[B]

Inherited from Equals

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

Inherited from (B) => Boolean

Inherited from collection.mutable.Iterable[B]

Inherited from collection.Iterable[B]

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

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

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

Inherited from collection.IterableOnce[B]

Inherited from AnyRef

Inherited from Any

Ungrouped