Packages

class Beam[T] extends Iterable[T] with IterableOps[T, Iterable, Beam[T]] with StrictOptimizedIterableOps[T, Iterable, Beam[T]]

Represents a beam, which is essentially a priority queue with a maximum size.

Self Type
Beam[T]
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Beam
  2. StrictOptimizedIterableOps
  3. Iterable
  4. IterableFactoryDefaults
  5. IterableOps
  6. IterableOnceOps
  7. IterableOnce
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Beam(maxSize: Int)(implicit o: Ordering[T])
  2. new Beam(maxSize: Int, xs: T*)(implicit o: Ordering[T])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(x: T): Beam[T]
  4. def ++(that: IterableOnce[T]): Beam[T]
  5. final def ++[B >: T](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. final def addString(b: StringBuilder): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  8. final def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  9. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    IterableOnceOps
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def best: Option[T]
  12. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  14. final def coll: Beam.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  15. def collect[B](pf: PartialFunction[T, B])(implicit ev: Ordering[B]): Beam[B]
  16. def collect[B](pf: PartialFunction[T, B]): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  17. def collectFirst[B](pf: PartialFunction[T, B]): Option[B]
    Definition Classes
    IterableOnceOps
  18. def concat(that: IterableOnce[T]): Beam[T]
  19. def concat[B >: T](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
  20. def copyToArray[B >: T](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  21. def copyToArray[B >: T](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  22. def copyToArray[B >: T](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  23. def corresponds[B](that: IterableOnce[B])(p: (T, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  24. def count(p: (T) => Boolean): Int
    Definition Classes
    IterableOnceOps
  25. def drop(n: Int): Beam[T]
    Definition Classes
    IterableOps → IterableOnceOps
  26. def dropRight(n: Int): Beam[T]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  27. def dropWhile(p: (T) => Boolean): Beam[T]
    Definition Classes
    IterableOps → IterableOnceOps
  28. def empty: Beam[T]
    Definition Classes
    Beam → IterableFactoryDefaults → IterableOps
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(other: Any): Boolean
    Definition Classes
    Beam → AnyRef → Any
  31. def exists(p: (T) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  32. def filter(pred: (T) => Boolean): Beam[T]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  33. def filterImpl(pred: (T) => Boolean, isFlipped: Boolean): Beam[T]
    Attributes
    protected[scala.collection]
    Definition Classes
    StrictOptimizedIterableOps
  34. def filterNot(pred: (T) => Boolean): Beam[T]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  35. def find(p: (T) => Boolean): Option[T]
    Definition Classes
    IterableOnceOps
  36. def flatMap[B](f: (T) => IterableOnce[B])(implicit ev: Ordering[B]): Beam[B]
  37. def flatMap[B](f: (T) => IterableOnce[B]): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  38. def flatten[B](implicit toIterableOnce: (T) => IterableOnce[B]): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  39. def fold[A1 >: T](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  40. def foldLeft[B](z: B)(op: (B, T) => B): B
    Definition Classes
    IterableOnceOps
  41. def foldRight[B](z: B)(op: (T, B) => B): B
    Definition Classes
    IterableOnceOps
  42. def forall(p: (T) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  43. def foreach[U](f: (T) => U): Unit
    Definition Classes
    IterableOnceOps
  44. def fromSpecific(coll: IterableOnce[T]): Beam[T]
    Attributes
    protected
    Definition Classes
    Beam → IterableFactoryDefaults → IterableOps
  45. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  46. def groupBy[K](f: (T) => K): Map[K, Beam[T]]
    Definition Classes
    IterableOps
  47. def groupMap[K, B](key: (T) => K)(f: (T) => B): Map[K, Iterable[B]]
    Definition Classes
    IterableOps
  48. def groupMapReduce[K, B](key: (T) => K)(f: (T) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  49. def grouped(size: Int): Iterator[Beam[T]]
    Definition Classes
    IterableOps
  50. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  51. def head: T
    Definition Classes
    IterableOps
  52. def headOption: Option[T]
    Definition Classes
    IterableOps
  53. val heap: BinomialHeap[T]
  54. def init: Beam[T]
    Definition Classes
    IterableOps
  55. def inits: Iterator[Beam[T]]
    Definition Classes
    IterableOps
  56. def isEmpty: Boolean
    Definition Classes
    IterableOnceOps
  57. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  58. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  59. def iterableFactory: IterableFactory[Iterable]
    Definition Classes
    Iterable → IterableOps
  60. def iterator: Iterator[T]
    Definition Classes
    Beam → IterableOnce
  61. def knownSize: Int
    Definition Classes
    IterableOnce
  62. def last: T
    Definition Classes
    IterableOps
  63. def lastOption: Option[T]
    Definition Classes
    IterableOps
  64. def lazyZip[B](that: Iterable[B]): LazyZip2[T, B, Beam.this.type]
    Definition Classes
    Iterable
  65. def map[B](f: (T) => B)(implicit ev: Ordering[B]): Beam[B]
  66. def map[B](f: (T) => B): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  67. def max[B >: T](implicit ord: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  68. def maxBy[B](f: (T) => B)(implicit cmp: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  69. def maxByOption[B](f: (T) => B)(implicit cmp: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  70. def maxOption[B >: T](implicit ord: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  71. val maxSize: Int
  72. def min: T
  73. def min[B >: T](implicit ord: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  74. def minBy[B](f: (T) => B)(implicit cmp: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  75. def minByOption[B](f: (T) => B)(implicit cmp: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  76. def minOption[B >: T](implicit ord: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  77. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  78. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  79. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  80. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  81. def newBuilder: Builder[T, Beam[T]]
    Attributes
    protected
  82. def newSpecificBuilder: Builder[T, Beam[T]]
    Definition Classes
    Beam → IterableFactoryDefaults → IterableOps
  83. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  84. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  85. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  86. def partition(p: (T) => Boolean): (Beam[T], Beam[T])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  87. def partitionMap[A1, A2](f: (T) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  88. def product[B >: T](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  89. def reduce[B >: T](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  90. def reduceLeft[B >: T](op: (B, T) => B): B
    Definition Classes
    IterableOnceOps
  91. def reduceLeftOption[B >: T](op: (B, T) => B): Option[B]
    Definition Classes
    IterableOnceOps
  92. def reduceOption[B >: T](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  93. def reduceRight[B >: T](op: (T, B) => B): B
    Definition Classes
    IterableOnceOps
  94. def reduceRightOption[B >: T](op: (T, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  95. def reversed: Iterable[T]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  96. def scan[B >: T](z: B)(op: (B, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  97. def scanLeft[B](z: B)(op: (B, T) => B): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  98. def scanRight[B](z: B)(op: (T, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  99. def size: Int
    Definition Classes
    Beam → IterableOnceOps
  100. def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    IterableOps
  101. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  102. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  103. def slice(from: Int, until: Int): Beam[T]
    Definition Classes
    IterableOps → IterableOnceOps
  104. def sliding(size: Int, step: Int): Iterator[Beam[T]]
    Definition Classes
    IterableOps
  105. def sliding(size: Int): Iterator[Beam[T]]
    Definition Classes
    IterableOps
  106. def span(p: (T) => Boolean): (Beam[T], Beam[T])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  107. def splitAt(n: Int): (Beam[T], Beam[T])
    Definition Classes
    IterableOps → IterableOnceOps
  108. def stepper[S <: Stepper[_]](implicit shape: StepperShape[T, S]): S
    Definition Classes
    IterableOnce
  109. final def strictOptimizedCollect[B, C2](b: Builder[B, C2], pf: PartialFunction[T, B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  110. final def strictOptimizedConcat[B >: T, C2](that: IterableOnce[B], b: Builder[B, C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  111. final def strictOptimizedFlatMap[B, C2](b: Builder[B, C2], f: (T) => IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  112. final def strictOptimizedFlatten[B, C2](b: Builder[B, C2])(implicit toIterableOnce: (T) => IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  113. final def strictOptimizedMap[B, C2](b: Builder[B, C2], f: (T) => B): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  114. final def strictOptimizedZip[B, C2](that: IterableOnce[B], b: Builder[(T, B), C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  115. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
    Annotations
    @deprecatedOverriding()
  116. def sum[B >: T](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  117. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  118. def tail: Beam[T]
    Definition Classes
    IterableOps
  119. def tails: Iterator[Beam[T]]
    Definition Classes
    IterableOps
  120. def take(n: Int): Beam[T]
    Definition Classes
    IterableOps → IterableOnceOps
  121. def takeRight(n: Int): Beam[T]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  122. def takeWhile(p: (T) => Boolean): Beam[T]
    Definition Classes
    IterableOps → IterableOnceOps
  123. def tapEach[U](f: (T) => U): Beam[T]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  124. def to[C1](factory: Factory[T, C1]): C1
    Definition Classes
    IterableOnceOps
  125. def toArray[B >: T](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  126. final def toBuffer[B >: T]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  127. def toIndexedSeq: IndexedSeq[T]
    Definition Classes
    IterableOnceOps
  128. def toList: List[T]
    Definition Classes
    IterableOnceOps
  129. def toMap[K, V](implicit ev: <:<[T, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  130. def toSeq: Seq[T]
    Definition Classes
    IterableOnceOps
  131. def toSet[B >: T]: Set[B]
    Definition Classes
    IterableOnceOps
  132. def toString(): String
    Definition Classes
    Beam → Iterable → AnyRef → Any
  133. def toVector: Vector[T]
    Definition Classes
    IterableOnceOps
  134. def transpose[B](implicit asIterable: (T) => Iterable[B]): Iterable[Iterable[B]]
    Definition Classes
    IterableOps
  135. def unzip[A1, A2](implicit asPair: (T) => (A1, A2)): (Iterable[A1], Iterable[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  136. def unzip3[A1, A2, A3](implicit asTriple: (T) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  137. def view: View[T]
    Definition Classes
    IterableOps
  138. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  139. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  140. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  141. def withFilter(p: (T) => Boolean): WithFilter[T, Iterable]
    Definition Classes
    IterableOps
  142. def zip[B](that: IterableOnce[B]): Iterable[(T, B)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  143. def zipAll[A1 >: T, B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
    Definition Classes
    IterableOps
  144. def zipWithIndex: Iterable[(T, Int)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps

Deprecated Value Members

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

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

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

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

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

  5. def companion: IterableFactory[Iterable]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding() @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

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

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

  9. final def repr: Beam[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

  10. def seq: Beam.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

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

  11. final def toIterable: Beam.this.type
    Definition Classes
    Iterable → IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.7) toIterable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

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

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

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

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

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

    (Since version 2.13.0) toTraversable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  15. 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 Iterable[T]

Inherited from IterableOps[T, Iterable, Beam[T]]

Inherited from IterableOnceOps[T, Iterable, Beam[T]]

Inherited from IterableOnce[T]

Inherited from AnyRef

Inherited from Any

Ungrouped