Scala Standard Library 2.13.15 - scala.collection.SetOps (original) (raw)

trait SetOps[A, +CC[_], +C <: SetOps[A, CC, C]] extends IterableOps[A, CC, C] with (A) => Boolean

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. SetOps
  2. Function1
  3. IterableOps
  4. IterableOnceOps
  5. IterableOnce
  6. AnyRef
  7. Any

Implicitly

  1. by iterableOnceExtensionMethods

  2. by any2stringadd

  3. by StringFormat

  4. by Ensuring

  5. by ArrowAssoc

  6. Hide All

  7. Show All

Visibility

  1. Public
  2. Protected

Abstract Value Members

  1. abstract def coll: C
  2. abstract def contains(elem: A): Boolean
  3. abstract def diff(that: Set[A]): C
  4. abstract def fromSpecific(coll: IterableOnce[A]): C
  5. abstract def iterableFactory: IterableFactory[CC]
  6. abstract def iterator: Iterator[A]
  7. abstract def newSpecificBuilder: Builder[A, C]
  8. abstract def toIterable: Iterable[A]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##: Int
  3. final def &(that: Set[A]): C
  4. final def &~(that: Set[A]): C
  5. final def ++(that: IterableOnce[A]): C
  6. final def ++[B >: A](suffix: IterableOnce[B]): CC[B]
  7. def ->[B](y: B): (SetOps[A, CC, C], B)
  8. final def ==(arg0: Any): Boolean
  9. final def addString(b: mutable.StringBuilder): b.type
  10. final def addString(b: mutable.StringBuilder, sep: String): b.type
  11. def addString(b: mutable.StringBuilder, start: String, sep: String, end: String): b.type
  12. def andThen[A](g: (Boolean) => A): (A) => A
  13. final def apply(elem: A): Boolean
  14. final def asInstanceOf[T0]: T0
  15. def clone(): AnyRef
  16. def collect[B](pf: PartialFunction[A, B]): CC[B]
  17. def collectFirst[B](pf: PartialFunction[A, B]): Option[B]
  18. def compose[A](g: (A) => A): (A) => Boolean
  19. def concat(that: IterableOnce[A]): C
  20. def concat[B >: A](suffix: IterableOnce[B]): CC[B]
  21. def copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Int
  22. def copyToArray[B >: A](xs: Array[B], start: Int): Int
  23. def copyToArray[B >: A](xs: Array[B]): Int
  24. def corresponds[B](that: IterableOnce[B])(p: (A, B) => Boolean): Boolean
  25. def count(p: (A) => Boolean): Int
  26. def drop(n: Int): C
  27. def dropRight(n: Int): C
  28. def dropWhile(p: (A) => Boolean): C
  29. def empty: C
  30. def ensuring(cond: (SetOps[A, CC, C]) => Boolean, msg: => Any): SetOps[A, CC, C]
  31. def ensuring(cond: (SetOps[A, CC, C]) => Boolean): SetOps[A, CC, C]
  32. def ensuring(cond: Boolean, msg: => Any): SetOps[A, CC, C]
  33. def ensuring(cond: Boolean): SetOps[A, CC, C]
  34. final def eq(arg0: AnyRef): Boolean
  35. def equals(arg0: AnyRef): Boolean
  36. def exists(p: (A) => Boolean): Boolean
  37. def filter(pred: (A) => Boolean): C
  38. def filterNot(pred: (A) => Boolean): C
  39. def finalize(): Unit
  40. def find(p: (A) => Boolean): Option[A]
  41. def flatMap[B](f: (A) => IterableOnce[B]): CC[B]
  42. def flatten[B](implicit asIterable: (A) => IterableOnce[B]): CC[B]
  43. def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
  44. def foldLeft[B](z: B)(op: (B, A) => B): B
  45. def foldRight[B](z: B)(op: (A, B) => B): B
  46. def forall(p: (A) => Boolean): Boolean
  47. def foreach[U](f: (A) => U): Unit
  48. final def getClass(): Class[_ <: AnyRef]
  49. def groupBy[K](f: (A) => K): immutable.Map[K, C]
  50. def groupMap[K, B](key: (A) => K)(f: (A) => B): immutable.Map[K, CC[B]]
  51. def groupMapReduce[K, B](key: (A) => K)(f: (A) => B)(reduce: (B, B) => B): immutable.Map[K, B]
  52. def grouped(size: Int): Iterator[C]
  53. def hashCode(): Int
  54. def head: A
  55. def headOption: Option[A]
  56. def init: C
  57. def inits: Iterator[C]
  58. def intersect(that: Set[A]): C
  59. def isEmpty: Boolean
  60. final def isInstanceOf[T0]: Boolean
  61. def isTraversableAgain: Boolean
  62. def knownSize: Int
  63. def last: A
  64. def lastOption: Option[A]
  65. def map[B](f: (A) => B): CC[B]
  66. def max[B >: A](implicit ord: math.Ordering[B]): A
  67. def maxBy[B](f: (A) => B)(implicit ord: math.Ordering[B]): A
  68. def maxByOption[B](f: (A) => B)(implicit ord: math.Ordering[B]): Option[A]
  69. def maxOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
  70. def min[B >: A](implicit ord: math.Ordering[B]): A
  71. def minBy[B](f: (A) => B)(implicit ord: math.Ordering[B]): A
  72. def minByOption[B](f: (A) => B)(implicit ord: math.Ordering[B]): Option[A]
  73. def minOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
  74. final def mkString: String
  75. final def mkString(sep: String): String
  76. final def mkString(start: String, sep: String, end: String): String
  77. final def ne(arg0: AnyRef): Boolean
  78. def nonEmpty: Boolean
  79. final def notify(): Unit
  80. final def notifyAll(): Unit
  81. def partition(p: (A) => Boolean): (C, C)
  82. def partitionMap[A1, A2](f: (A) => Either[A1, A2]): (CC[A1], CC[A2])
  83. def product[B >: A](implicit num: math.Numeric[B]): B
  84. def reduce[B >: A](op: (B, B) => B): B
  85. def reduceLeft[B >: A](op: (B, A) => B): B
  86. def reduceLeftOption[B >: A](op: (B, A) => B): Option[B]
  87. def reduceOption[B >: A](op: (B, B) => B): Option[B]
  88. def reduceRight[B >: A](op: (A, B) => B): B
  89. def reduceRightOption[B >: A](op: (A, B) => B): Option[B]
  90. def reversed: Iterable[A]
  91. def scan[B >: A](z: B)(op: (B, B) => B): CC[B]
  92. def scanLeft[B](z: B)(op: (B, A) => B): CC[B]
  93. def scanRight[B](z: B)(op: (A, B) => B): CC[B]
  94. def size: Int
  95. def sizeCompare(that: Iterable[_]): Int
  96. def sizeCompare(otherSize: Int): Int
  97. final def sizeIs: SizeCompareOps
  98. def slice(from: Int, until: Int): C
  99. def sliding(size: Int, step: Int): Iterator[C]
  100. def sliding(size: Int): Iterator[C]
  101. def span(p: (A) => Boolean): (C, C)
  102. def splitAt(n: Int): (C, C)
  103. def stepper[S <: Stepper[_]](implicit shape: StepperShape[A, S]): S
  104. def subsetOf(that: Set[A]): Boolean
  105. def subsets(): Iterator[C]
  106. def subsets(len: Int): Iterator[C]
  107. def sum[B >: A](implicit num: math.Numeric[B]): B
  108. final def synchronized[T0](arg0: => T0): T0
  109. def tail: C
  110. def tails: Iterator[C]
  111. def take(n: Int): C
  112. def takeRight(n: Int): C
  113. def takeWhile(p: (A) => Boolean): C
  114. def tapEach[U](f: (A) => U): C
  115. def to[C1](factory: Factory[A, C1]): C1
  116. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
  117. final def toBuffer[B >: A]: Buffer[B]
  118. def toIndexedSeq: immutable.IndexedSeq[A]
  119. def toList: immutable.List[A]
  120. def toMap[K, V](implicit ev: <:<[A, (K, V)]): immutable.Map[K, V]
  121. def toSeq: immutable.Seq[A]
  122. def toSet[B >: A]: immutable.Set[B]
  123. def toString(): String
  124. def toVector: immutable.Vector[A]
  125. def transpose[B](implicit asIterable: (A) => Iterable[B]): CC[CC[B]]
  126. final def union(that: Set[A]): C
  127. def unzip[A1, A2](implicit asPair: (A) => (A1, A2)): (CC[A1], CC[A2])
  128. def unzip3[A1, A2, A3](implicit asTriple: (A) => (A1, A2, A3)): (CC[A1], CC[A2], CC[A3])
  129. def view: View[A]
  130. final def wait(): Unit
  131. final def wait(arg0: Long, arg1: Int): Unit
  132. final def wait(arg0: Long): Unit
  133. def withFilter(p: (A) => Boolean): WithFilter[A, CC]
  134. def zip[B](that: IterableOnce[B]): CC[(A, B)]
  135. def zipAll[A1 >: A, B](that: Iterable[B], thisElem: A1, thatElem: B): CC[(A1, B)]
  136. def zipWithIndex: CC[(A, Int)]
  137. final def |(that: Set[A]): C

Deprecated Value Members

  1. def +(elem1: A, elem2: A, elems: A*): C
  2. def +(elem: A): C
  3. def ++:[B >: A](that: IterableOnce[B]): CC[B]
  4. def -(elem1: A, elem2: A, elems: A*): C
  5. def -(elem: A): C
  6. def --(that: IterableOnce[A]): C
  7. def /:[B](z: B)(op: (B, A) => B): B
  8. final def /:[B](z: B)(op: (B, A) => B): B
  9. def :\[B](z: B)(op: (A, B) => B): B
  10. final def :\[B](z: B)(op: (A, B) => B): B
  11. def aggregate[B](z: => B)(seqop: (B, A) => B, combop: (B, B) => B): B
  12. def collectFirst[B](f: PartialFunction[A, B]): Option[B]
  13. def companion: IterableFactory[CC]
  14. def copyToBuffer(dest: Buffer[A]): Unit
  15. final def copyToBuffer[B >: A](dest: Buffer[B]): Unit
  16. def count(f: (A) => Boolean): Int
  17. def exists(f: (A) => Boolean): Boolean
  18. def filter(f: (A) => Boolean): Iterator[A]
  19. def find(p: (A) => Boolean): Option[A]
  20. def flatMap[B](f: (A) => IterableOnce[B]): IterableOnce[B]
  21. def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
  22. def foldLeft[B](z: B)(op: (B, A) => B): B
  23. def foldRight[B](z: B)(op: (A, B) => B): B
  24. def forall(f: (A) => Boolean): Boolean
  25. def foreach[U](f: (A) => U): Unit
  26. def formatted(fmtstr: String): String
  27. def hasDefiniteSize: Boolean
  28. def isEmpty: Boolean
  29. def map[B](f: (A) => B): IterableOnce[B]
  30. def max(implicit ord: math.Ordering[A]): A
  31. def maxBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
  32. def min(implicit ord: math.Ordering[A]): A
  33. def minBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
  34. def mkString: String
  35. def mkString(sep: String): String
  36. def mkString(start: String, sep: String, end: String): String
  37. def nonEmpty: Boolean
  38. def product(implicit num: math.Numeric[A]): A
  39. def reduce(f: (A, A) => A): A
  40. def reduceLeft(f: (A, A) => A): A
  41. def reduceLeftOption(f: (A, A) => A): Option[A]
  42. def reduceOption(f: (A, A) => A): Option[A]
  43. def reduceRight(f: (A, A) => A): A
  44. def reduceRightOption(f: (A, A) => A): Option[A]
  45. final def repr: C
  46. def sameElements[B >: A](that: IterableOnce[B]): Boolean
  47. def size: Int
  48. def sum(implicit num: math.Numeric[A]): A
  49. def to[C1](factory: Factory[A, C1]): C1
  50. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
  51. def toBuffer[B >: A]: Buffer[B]
  52. def toIndexedSeq: IndexedSeq[A]
  53. final def toIterable: Iterable[A]
  54. def toIterator: Iterator[A]
  55. final def toIterator: Iterator[A]
  56. def toList: immutable.List[A]
  57. def toMap[K, V](implicit ev: <:<[A, (K, V)]): immutable.Map[K, V]
  58. def toSeq: immutable.Seq[A]
  59. def toSet[B >: A]: immutable.Set[B]
  60. def toStream: immutable.Stream[A]
  61. final def toStream: immutable.Stream[A]
  62. final def toTraversable: Traversable[A]
  63. final def toTraversable: Traversable[A]
  64. def toVector: immutable.Vector[A]
  65. def view(from: Int, until: Int): View[A]
  66. def withFilter(f: (A) => Boolean): Iterator[A]
  67. def →[B](y: B): (SetOps[A, CC, C], B)

Inherited from (A) => Boolean

Inherited from IterableOps[A, CC, C]

Inherited from IterableOnceOps[A, CC, C]

Inherited from IterableOnce[A]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion iterableOnceExtensionMethods fromSetOps[A, CC, C] to IterableOnceExtensionMethods[A]

Inherited by implicit conversion any2stringadd fromSetOps[A, CC, C] to any2stringadd[SetOps[A, CC, C]]

Inherited by implicit conversion StringFormat fromSetOps[A, CC, C] to StringFormat[SetOps[A, CC, C]]

Inherited by implicit conversion Ensuring fromSetOps[A, CC, C] to Ensuring[SetOps[A, CC, C]]

Inherited by implicit conversion ArrowAssoc fromSetOps[A, CC, C] to ArrowAssoc[SetOps[A, CC, C]]

Ungrouped