Packages

class MultiSet[T] extends ListBuffer[T]

The MultiSet class provides an implementation for Union, Intersection and Subset for the generic MultiSet data type that extends ListBuffer.

Linear Supertypes
ListBuffer[T], DefaultSerializable, Serializable, ReusableBuilder[T, List[T]], Builder[T, List[T]], StrictOptimizedSeqOps[T, ListBuffer, ListBuffer[T]], StrictOptimizedIterableOps[T, ListBuffer, ListBuffer[T]], AbstractBuffer[T], Buffer[T], Shrinkable[T], Growable[T], Clearable, AbstractSeq[T], Seq[T], SeqOps[T, [_]ListBuffer[_], ListBuffer[T]], Cloneable[ListBuffer[T]], Cloneable, Iterable[T], AbstractSeq[T], Seq[T], Equals, SeqOps[T, [_]ListBuffer[_], ListBuffer[T]], PartialFunction[Int, T], (Int) => T, AbstractIterable[T], Iterable[T], IterableFactoryDefaults[T, [x]ListBuffer[x]], IterableOps[T, [_]ListBuffer[_], ListBuffer[T]], IterableOnceOps[T, [_]ListBuffer[_], ListBuffer[T]], IterableOnce[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultiSet
  2. ListBuffer
  3. DefaultSerializable
  4. Serializable
  5. ReusableBuilder
  6. Builder
  7. StrictOptimizedSeqOps
  8. StrictOptimizedIterableOps
  9. AbstractBuffer
  10. Buffer
  11. Shrinkable
  12. Growable
  13. Clearable
  14. AbstractSeq
  15. Seq
  16. SeqOps
  17. Cloneable
  18. Cloneable
  19. Iterable
  20. AbstractSeq
  21. Seq
  22. Equals
  23. SeqOps
  24. PartialFunction
  25. Function1
  26. AbstractIterable
  27. Iterable
  28. IterableFactoryDefaults
  29. IterableOps
  30. IterableOnceOps
  31. IterableOnce
  32. AnyRef
  33. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MultiSet()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ++[B >: T](suffix: IterableOnce[B]): ListBuffer[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  4. final def ++:[B >: T](prefix: IterableOnce[B]): ListBuffer[B]
    Definition Classes
    SeqOps → IterableOps
    Annotations
    @inline()
  5. final def ++=(xs: IterableOnce[T]): MultiSet.this.type
    Definition Classes
    Growable
    Annotations
    @inline()
  6. final def ++=:(elems: IterableOnce[T]): MultiSet.this.type
    Definition Classes
    Buffer
    Annotations
    @inline()
  7. final def +:[B >: T](elem: B): ListBuffer[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  8. final def +=(elem: T): MultiSet.this.type
    Definition Classes
    Growable
    Annotations
    @inline()
  9. final def +=:(elem: T): MultiSet.this.type
    Definition Classes
    Buffer
    Annotations
    @inline()
  10. final def --=(xs: IterableOnce[T]): MultiSet.this.type
    Definition Classes
    Shrinkable
    Annotations
    @inline()
  11. final def -=(elem: T): MultiSet.this.type
    Definition Classes
    Shrinkable
    Annotations
    @inline()
  12. final def :+[B >: T](elem: B): ListBuffer[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  13. final def :++[B >: T](suffix: IterableOnce[B]): ListBuffer[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  14. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. final def addAll(xs: IterableOnce[T]): MultiSet.this.type
    Definition Classes
    ListBuffer → Growable
  16. final def addOne(elem: T): MultiSet.this.type
    Definition Classes
    ListBuffer → Growable
  17. final def addString(b: StringBuilder): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  18. final def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  19. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    IterableOnceOps
  20. def andThen[C](k: PartialFunction[T, C]): PartialFunction[Int, C]
    Definition Classes
    PartialFunction
  21. def andThen[C](k: (T) => C): PartialFunction[Int, C]
    Definition Classes
    PartialFunction → Function1
  22. final def append(elem: T): MultiSet.this.type
    Definition Classes
    Buffer
    Annotations
    @inline()
  23. final def appendAll(xs: IterableOnce[T]): MultiSet.this.type
    Definition Classes
    Buffer
    Annotations
    @inline()
  24. def appended[B >: T](elem: B): ListBuffer[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  25. def appendedAll[B >: T](suffix: IterableOnce[B]): ListBuffer[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  26. def apply(i: Int): T
    Definition Classes
    ListBuffer → SeqOps → Function1
    Annotations
    @throws(scala.this.throws.<init>$default$1[IndexOutOfBoundsException])
  27. def applyOrElse[A1 <: Int, B1 >: T](x: A1, default: (A1) => B1): B1
    Definition Classes
    PartialFunction
  28. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  29. def canEqual(that: Any): Boolean
    Definition Classes
    Seq → Equals
  30. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  31. def clear(): Unit
    Definition Classes
    ListBuffer → ReusableBuilder → Builder → Clearable
  32. def clone(): ListBuffer[T]
    Definition Classes
    SeqOps → Cloneable → AnyRef
  33. final def coll: MultiSet.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  34. def collect[B](pf: PartialFunction[T, B]): ListBuffer[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  35. def collectFirst[B](pf: PartialFunction[T, B]): Option[B]
    Definition Classes
    IterableOnceOps
  36. def combinations(n: Int): Iterator[ListBuffer[T]]
    Definition Classes
    SeqOps
  37. def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, T]
    Definition Classes
    PartialFunction
  38. def compose[A](g: (A) => Int): (A) => T
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  39. final def concat[B >: T](suffix: IterableOnce[B]): ListBuffer[B]
    Definition Classes
    SeqOps → IterableOps
    Annotations
    @inline()
  40. def contains[A1 >: T](elem: A1): Boolean
    Definition Classes
    SeqOps
  41. def containsSlice[B >: T](that: Seq[B]): Boolean
    Definition Classes
    SeqOps
  42. def copyToArray[B >: T](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  43. def copyToArray[B >: T](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  44. def copyToArray[B >: T](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  45. def corresponds[B](that: Seq[B])(p: (T, B) => Boolean): Boolean
    Definition Classes
    SeqOps
  46. def corresponds[B](that: IterableOnce[B])(p: (T, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  47. def count(p: (T) => Boolean): Int
    Definition Classes
    IterableOnceOps
  48. def diff[B >: T](that: Seq[B]): ListBuffer[T]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  49. def distinct: ListBuffer[T]
    Definition Classes
    SeqOps
  50. def distinctBy[B](f: (T) => B): ListBuffer[T]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  51. def drop(n: Int): ListBuffer[T]
    Definition Classes
    IterableOps → IterableOnceOps
  52. def dropInPlace(n: Int): MultiSet.this.type
    Definition Classes
    Buffer
  53. def dropRight(n: Int): ListBuffer[T]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  54. def dropRightInPlace(n: Int): MultiSet.this.type
    Definition Classes
    Buffer
  55. def dropWhile(p: (T) => Boolean): ListBuffer[T]
    Definition Classes
    IterableOps → IterableOnceOps
  56. def dropWhileInPlace(p: (T) => Boolean): MultiSet.this.type
    Definition Classes
    Buffer
  57. def elementWise: ElementWiseExtractor[Int, T]
    Definition Classes
    PartialFunction
  58. def empty: ListBuffer[T]
    Definition Classes
    IterableFactoryDefaults → IterableOps
  59. def endsWith[B >: T](that: Iterable[B]): Boolean
    Definition Classes
    SeqOps
  60. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  61. def equals(o: Any): Boolean
    Definition Classes
    Seq → Equals → AnyRef → Any
  62. def exists(p: (T) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  63. def filter(pred: (T) => Boolean): ListBuffer[T]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  64. def filterImpl(pred: (T) => Boolean, isFlipped: Boolean): ListBuffer[T]
    Attributes
    protected[collection]
    Definition Classes
    StrictOptimizedIterableOps
  65. def filterInPlace(p: (T) => Boolean): MultiSet.this.type
    Definition Classes
    ListBuffer
  66. def filterNot(pred: (T) => Boolean): ListBuffer[T]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  67. def find(p: (T) => Boolean): Option[T]
    Definition Classes
    IterableOnceOps
  68. def findLast(p: (T) => Boolean): Option[T]
    Definition Classes
    SeqOps
  69. def flatMap[B](f: (T) => IterableOnce[B]): ListBuffer[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  70. def flatMapInPlace(f: (T) => IterableOnce[T]): MultiSet.this.type
    Definition Classes
    ListBuffer
  71. def flatten[B](implicit toIterableOnce: (T) => IterableOnce[B]): ListBuffer[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  72. def fold[A1 >: T](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  73. def foldLeft[B](z: B)(op: (B, T) => B): B
    Definition Classes
    IterableOnceOps
  74. def foldRight[B](z: B)(op: (T, B) => B): B
    Definition Classes
    IterableOnceOps
  75. def forall(p: (T) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  76. def foreach[U](f: (T) => U): Unit
    Definition Classes
    IterableOnceOps
  77. def fromSpecific(coll: IterableOnce[T]): ListBuffer[T]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  78. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  79. def groupBy[K](f: (T) => K): Map[K, ListBuffer[T]]
    Definition Classes
    IterableOps
  80. def groupMap[K, B](key: (T) => K)(f: (T) => B): Map[K, ListBuffer[B]]
    Definition Classes
    IterableOps
  81. def groupMapReduce[K, B](key: (T) => K)(f: (T) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  82. def grouped(size: Int): Iterator[ListBuffer[T]]
    Definition Classes
    IterableOps
  83. def hashCode(): Int
    Definition Classes
    Seq → AnyRef → Any
  84. def head: T
    Definition Classes
    IterableOps
  85. def headOption: Option[T]
    Definition Classes
    IterableOps
  86. def indexOf[B >: T](elem: B): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  87. def indexOf[B >: T](elem: B, from: Int): Int
    Definition Classes
    SeqOps
  88. def indexOfSlice[B >: T](that: Seq[B]): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  89. def indexOfSlice[B >: T](that: Seq[B], from: Int): Int
    Definition Classes
    SeqOps
  90. def indexWhere(p: (T) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  91. def indexWhere(p: (T) => Boolean, from: Int): Int
    Definition Classes
    SeqOps
  92. def indices: Range
    Definition Classes
    SeqOps
  93. def init: ListBuffer[T]
    Definition Classes
    IterableOps
  94. def inits: Iterator[ListBuffer[T]]
    Definition Classes
    IterableOps
  95. def insert(idx: Int, elem: T): Unit
    Definition Classes
    ListBuffer → Buffer
  96. def insertAll(idx: Int, elems: IterableOnce[T]): Unit
    Definition Classes
    ListBuffer → Buffer
  97. def intersect(b: MultiSet[T]): MultiSet[T]

    Return a new MultiSet that is the intersection of 'this' and 'b'.

    Return a new MultiSet that is the intersection of 'this' and 'b'.

    b

    the other MultiSet

  98. def intersect[B >: T](that: Seq[B]): ListBuffer[T]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  99. def isDefinedAt(idx: Int): Boolean
    Definition Classes
    SeqOps
  100. def isEmpty: Boolean
    Definition Classes
    ListBuffer → SeqOps → IterableOnceOps
  101. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  102. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  103. def iterableFactory: SeqFactory[ListBuffer]
    Definition Classes
    ListBuffer → Buffer → Seq → Iterable → Seq → Iterable → IterableOps
  104. def iterator: Iterator[T]
    Definition Classes
    ListBuffer → IterableOnce
  105. def knownSize: Int
    Definition Classes
    ListBuffer → Buffer → Growable → IterableOnce
  106. def last: T
    Definition Classes
    ListBuffer → IterableOps
  107. def lastIndexOf[B >: T](elem: B, end: Int): Int
    Definition Classes
    SeqOps
  108. def lastIndexOfSlice[B >: T](that: Seq[B]): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  109. def lastIndexOfSlice[B >: T](that: Seq[B], end: Int): Int
    Definition Classes
    SeqOps
  110. def lastIndexWhere(p: (T) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  111. def lastIndexWhere(p: (T) => Boolean, end: Int): Int
    Definition Classes
    SeqOps
  112. def lastOption: Option[T]
    Definition Classes
    ListBuffer → IterableOps
  113. def lazyZip[B](that: Iterable[B]): LazyZip2[T, B, MultiSet.this.type]
    Definition Classes
    Iterable
  114. def length: Int
    Definition Classes
    ListBuffer → SeqOps
  115. def lengthCompare(that: Iterable[_]): Int
    Definition Classes
    SeqOps
  116. def lengthCompare(len: Int): Int
    Definition Classes
    SeqOps
  117. final def lengthIs: SizeCompareOps
    Definition Classes
    SeqOps
    Annotations
    @inline()
  118. def lift: (Int) => Option[T]
    Definition Classes
    PartialFunction
  119. def map[B](f: (T) => B): ListBuffer[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  120. def mapInPlace(f: (T) => T): MultiSet.this.type
    Definition Classes
    ListBuffer
  121. def mapResult[NewTo](f: (List[T]) => NewTo): Builder[T, NewTo]
    Definition Classes
    Builder
  122. def max[B >: T](implicit ord: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  123. def maxBy[B](f: (T) => B)(implicit cmp: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  124. def maxByOption[B](f: (T) => B)(implicit cmp: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  125. def maxOption[B >: T](implicit ord: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  126. def min[B >: T](implicit ord: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  127. def minBy[B](f: (T) => B)(implicit cmp: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  128. def minByOption[B](f: (T) => B)(implicit cmp: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  129. def minOption[B >: T](implicit ord: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  130. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  131. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  132. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  133. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  134. def newSpecificBuilder: Builder[T, ListBuffer[T]]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  135. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  136. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  137. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  138. def occCounts[B](sq: Seq[B]): Map[B, Int]
    Attributes
    protected[collection]
    Definition Classes
    SeqOps
  139. def orElse[A1 <: Int, B1 >: T](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  140. def padTo[B >: T](len: Int, elem: B): ListBuffer[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  141. def padToInPlace(len: Int, elem: T): MultiSet.this.type
    Definition Classes
    Buffer
  142. def partition(p: (T) => Boolean): (ListBuffer[T], ListBuffer[T])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  143. def partitionMap[A1, A2](f: (T) => Either[A1, A2]): (ListBuffer[A1], ListBuffer[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  144. def patch[B >: T](from: Int, other: IterableOnce[B], replaced: Int): ListBuffer[B]
    Definition Classes
    SeqOps
  145. def patchInPlace(from: Int, patch: IterableOnce[T], replaced: Int): MultiSet.this.type
    Definition Classes
    ListBuffer → Buffer
  146. def permutations: Iterator[ListBuffer[T]]
    Definition Classes
    SeqOps
  147. def prepend(elem: T): MultiSet.this.type
    Definition Classes
    ListBuffer → Buffer
  148. def prependAll(elems: IterableOnce[T]): MultiSet.this.type
    Definition Classes
    Buffer
  149. def prependToList(xs: List[T]): List[T]
    Definition Classes
    ListBuffer
  150. def prepended[B >: T](elem: B): ListBuffer[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  151. def prependedAll[B >: T](prefix: IterableOnce[B]): ListBuffer[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  152. def product[B >: T](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  153. def reduce[B >: T](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  154. def reduceLeft[B >: T](op: (B, T) => B): B
    Definition Classes
    IterableOnceOps
  155. def reduceLeftOption[B >: T](op: (B, T) => B): Option[B]
    Definition Classes
    IterableOnceOps
  156. def reduceOption[B >: T](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  157. def reduceRight[B >: T](op: (T, B) => B): B
    Definition Classes
    IterableOnceOps
  158. def reduceRightOption[B >: T](op: (T, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  159. def remove(idx: Int, count: Int): Unit
    Definition Classes
    ListBuffer → Buffer
  160. def remove(idx: Int): T
    Definition Classes
    ListBuffer → Buffer
  161. def result(): List[T]
    Definition Classes
    ListBuffer → ReusableBuilder → Builder
  162. def reverse: ListBuffer[T]
    Definition Classes
    SeqOps
  163. def reverseIterator: Iterator[T]
    Definition Classes
    SeqOps
  164. def reversed: Iterable[T]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  165. def runWith[U](action: (T) => U): (Int) => Boolean
    Definition Classes
    PartialFunction
  166. def sameElements[B >: T](that: IterableOnce[B]): Boolean
    Definition Classes
    SeqOps
  167. def scan[B >: T](z: B)(op: (B, B) => B): ListBuffer[B]
    Definition Classes
    IterableOps
  168. def scanLeft[B](z: B)(op: (B, T) => B): ListBuffer[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  169. def scanRight[B](z: B)(op: (T, B) => B): ListBuffer[B]
    Definition Classes
    IterableOps
  170. def search[B >: T](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    SeqOps
  171. def search[B >: T](elem: B)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    SeqOps
  172. def segmentLength(p: (T) => Boolean, from: Int): Int
    Definition Classes
    SeqOps
  173. final def segmentLength(p: (T) => Boolean): Int
    Definition Classes
    SeqOps
  174. final def size: Int
    Definition Classes
    SeqOps → IterableOnceOps
  175. final def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    SeqOps → IterableOps
  176. final def sizeCompare(otherSize: Int): Int
    Definition Classes
    SeqOps → IterableOps
  177. final def sizeHint(coll: IterableOnce[_], delta: Int): Unit
    Definition Classes
    Builder
  178. def sizeHint(size: Int): Unit
    Definition Classes
    Builder
  179. final def sizeHintBounded(size: Int, boundingColl: Iterable[_]): Unit
    Definition Classes
    Builder
  180. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  181. def slice(from: Int, until: Int): ListBuffer[T]
    Definition Classes
    IterableOps → IterableOnceOps
  182. def sliceInPlace(start: Int, end: Int): MultiSet.this.type
    Definition Classes
    Buffer
  183. def sliding(size: Int, step: Int): Iterator[ListBuffer[T]]
    Definition Classes
    IterableOps
  184. def sliding(size: Int): Iterator[ListBuffer[T]]
    Definition Classes
    IterableOps
  185. def sortBy[B](f: (T) => B)(implicit ord: Ordering[B]): ListBuffer[T]
    Definition Classes
    SeqOps
  186. def sortWith(lt: (T, T) => Boolean): ListBuffer[T]
    Definition Classes
    SeqOps
  187. def sorted[B >: T](implicit ord: Ordering[B]): ListBuffer[T]
    Definition Classes
    SeqOps
  188. def span(p: (T) => Boolean): (ListBuffer[T], ListBuffer[T])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  189. def splitAt(n: Int): (ListBuffer[T], ListBuffer[T])
    Definition Classes
    IterableOps → IterableOnceOps
  190. def startsWith[B >: T](that: IterableOnce[B], offset: Int): Boolean
    Definition Classes
    SeqOps
  191. def stepper[S <: Stepper[_]](implicit shape: StepperShape[T, S]): S
    Definition Classes
    IterableOnce
  192. final def strictOptimizedCollect[B, C2](b: Builder[B, C2], pf: PartialFunction[T, B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  193. final def strictOptimizedConcat[B >: T, C2](that: IterableOnce[B], b: Builder[B, C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  194. final def strictOptimizedFlatMap[B, C2](b: Builder[B, C2], f: (T) => IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  195. final def strictOptimizedFlatten[B, C2](b: Builder[B, C2])(implicit toIterableOnce: (T) => IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  196. final def strictOptimizedMap[B, C2](b: Builder[B, C2], f: (T) => B): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  197. final def strictOptimizedZip[B, C2](that: IterableOnce[B], b: Builder[(T, B), C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  198. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    ListBuffer → Buffer → Seq → Iterable
  199. def subsetOf(b: MultiSet[T]): Boolean

    Determine whether 'b' is a subset of 'this' MultiSet.

    Determine whether 'b' is a subset of 'this' MultiSet.

    b

    the other MultiSet

  200. def subtractAll(xs: IterableOnce[T]): MultiSet.this.type
    Definition Classes
    Shrinkable
  201. def subtractOne(elem: T): MultiSet.this.type
    Definition Classes
    ListBuffer → Buffer → Shrinkable
  202. def sum[B >: T](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  203. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  204. def tail: ListBuffer[T]
    Definition Classes
    IterableOps
  205. def tails: Iterator[ListBuffer[T]]
    Definition Classes
    IterableOps
  206. def take(n: Int): ListBuffer[T]
    Definition Classes
    IterableOps → IterableOnceOps
  207. def takeInPlace(n: Int): MultiSet.this.type
    Definition Classes
    Buffer
  208. def takeRight(n: Int): ListBuffer[T]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  209. def takeRightInPlace(n: Int): MultiSet.this.type
    Definition Classes
    Buffer
  210. def takeWhile(p: (T) => Boolean): ListBuffer[T]
    Definition Classes
    IterableOps → IterableOnceOps
  211. def takeWhileInPlace(p: (T) => Boolean): MultiSet.this.type
    Definition Classes
    Buffer
  212. def tapEach[U](f: (T) => U): ListBuffer[T]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  213. def to[C1](factory: Factory[T, C1]): C1
    Definition Classes
    IterableOnceOps
  214. def toArray[B >: T](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  215. final def toBuffer[B >: T]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  216. def toIndexedSeq: IndexedSeq[T]
    Definition Classes
    IterableOnceOps
  217. final def toIterable: MultiSet.this.type
    Definition Classes
    Iterable → IterableOps
  218. def toList: List[T]
    Definition Classes
    ListBuffer → IterableOnceOps
  219. def toMap[K, V](implicit ev: <:<[T, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  220. def toSeq: Seq[T]
    Definition Classes
    IterableOnceOps
  221. def toSet[B >: T]: Set[B]
    Definition Classes
    IterableOnceOps
  222. def toString(): String
    Definition Classes
    Seq → Function1 → Iterable → AnyRef → Any
  223. def toVector: Vector[T]
    Definition Classes
    IterableOnceOps
  224. def transpose[B](implicit asIterable: (T) => Iterable[B]): ListBuffer[ListBuffer[B]]
    Definition Classes
    IterableOps
  225. def unapply(a: Int): Option[T]
    Definition Classes
    PartialFunction
  226. def union(b: MultiSet[T]): MultiSet[T]

    Return a new MultiSet that is the union of 'this' and 'b'.

    Return a new MultiSet that is the union of 'this' and 'b'.

    b

    the other MultiSet

  227. def unzip[A1, A2](implicit asPair: (T) => (A1, A2)): (ListBuffer[A1], ListBuffer[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  228. def unzip3[A1, A2, A3](implicit asTriple: (T) => (A1, A2, A3)): (ListBuffer[A1], ListBuffer[A2], ListBuffer[A3])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  229. def update(idx: Int, elem: T): Unit
    Definition Classes
    ListBuffer → SeqOps
  230. def updated[B >: T](index: Int, elem: B): ListBuffer[B]
    Definition Classes
    SeqOps
  231. def view: SeqView[T]
    Definition Classes
    SeqOps → IterableOps
  232. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  233. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  234. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  235. def withFilter(p: (T) => Boolean): WithFilter[T, [_]ListBuffer[_]]
    Definition Classes
    IterableOps
  236. def writeReplace(): AnyRef
    Attributes
    protected[this]
    Definition Classes
    DefaultSerializable
  237. def zip[B](that: IterableOnce[B]): ListBuffer[(T, B)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  238. def zipAll[A1 >: T, B](that: Iterable[B], thisElem: A1, thatElem: B): ListBuffer[(A1, B)]
    Definition Classes
    IterableOps
  239. def zipWithIndex: ListBuffer[(T, Int)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  240. def (b: MultiSet[T]): Boolean

    Determine whether 'b' is a subset of 'this' MultiSet.

    Determine whether 'b' is a subset of 'this' MultiSet.

    b

    the other MultiSet

  241. def (b: MultiSet[T]): ListBuffer[T]

    Return a new ListBuffer that is the intersection of 'b' and 'this'.

    Return a new ListBuffer that is the intersection of 'b' and 'this'. More efficient since it does not create a new MultiSet.

    b

    the other MultiSet

  242. def (b: MultiSet[T]): ListBuffer[T]

    Return a new ListBuffer that is the union of 'b' and 'this'.

    Return a new ListBuffer that is the union of 'b' and 'this'. More efficient since it does not create a new MultiSet.

    b

    the other MultiSet

Deprecated Value Members

  1. final def +=(elem1: T, elem2: T, elems: T*): MultiSet.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

  2. def -=(elem1: T, elem2: T, elems: T*): MultiSet.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

  3. 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 /:

  4. 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 :\

  5. 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.

  6. final def append(elems: T*): MultiSet.this.type
    Definition Classes
    Buffer
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use appendAll instead

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

    (Since version 2.13.0) Use iterableFactory instead

  8. 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

  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  10. 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)

  11. final def prefixLength(p: (T) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use segmentLength instead of prefixLength

  12. final def prepend(elems: T*): MultiSet.this.type
    Definition Classes
    Buffer
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use prependAll instead

  13. final def repr: ListBuffer[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

  14. def reverseMap[B](f: (T) => B): ListBuffer[B]
    Definition Classes
    SeqOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)

  15. def seq: MultiSet.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

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

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

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

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

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

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

    (Since version 2.13.0) Use toIterable instead

  19. final def transform(f: (T) => T): MultiSet.this.type
    Definition Classes
    SeqOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use mapInPlace on an IndexedSeq instead

  20. def trimEnd(n: Int): Unit
    Definition Classes
    Buffer
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.4) use dropRightInPlace instead

  21. def trimStart(n: Int): Unit
    Definition Classes
    Buffer
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.4) use dropInPlace instead

  22. final def union[B >: T](that: Seq[B]): ListBuffer[B]
    Definition Classes
    SeqOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use concat instead

  23. 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 ListBuffer[T]

Inherited from DefaultSerializable

Inherited from Serializable

Inherited from ReusableBuilder[T, List[T]]

Inherited from Builder[T, List[T]]

Inherited from StrictOptimizedSeqOps[T, ListBuffer, ListBuffer[T]]

Inherited from StrictOptimizedIterableOps[T, ListBuffer, ListBuffer[T]]

Inherited from AbstractBuffer[T]

Inherited from Buffer[T]

Inherited from Shrinkable[T]

Inherited from Growable[T]

Inherited from Clearable

Inherited from AbstractSeq[T]

Inherited from Seq[T]

Inherited from SeqOps[T, [_]ListBuffer[_], ListBuffer[T]]

Inherited from Cloneable[ListBuffer[T]]

Inherited from Cloneable

Inherited from Iterable[T]

Inherited from AbstractSeq[T]

Inherited from Seq[T]

Inherited from Equals

Inherited from SeqOps[T, [_]ListBuffer[_], ListBuffer[T]]

Inherited from PartialFunction[Int, T]

Inherited from (Int) => T

Inherited from AbstractIterable[T]

Inherited from Iterable[T]

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

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

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

Inherited from IterableOnce[T]

Inherited from AnyRef

Inherited from Any

Ungrouped