Class

ap.basetypes

Node

Related Doc: package basetypes

Permalink

case class Node[T, HC <: HeapCollector[T, HC]](data: T, left: LeftistHeap[T, HC], right: LeftistHeap[T, HC], emptyHeap: LeftistHeap[T, HC])(implicit ord: Ordering[T]) extends LeftistHeap[T, HC] with Product with Serializable

Class for non-empty heaps. We also keep a reference to the empty heap to avoid creating new objects (ugly ... there should really be explicit Node-classes for nodes with no or only one child)

Linear Supertypes
Serializable, Serializable, Product, LeftistHeap[T, HC], Iterable[T], IterableLike[T, LeftistHeap[T, HC]], Equals, GenIterable[T], GenIterableLike[T, LeftistHeap[T, HC]], Traversable[T], GenTraversable[T], GenericTraversableTemplate[T, Iterable], TraversableLike[T, LeftistHeap[T, HC]], GenTraversableLike[T, LeftistHeap[T, HC]], Parallelizable[T, ParIterable[T]], TraversableOnce[T], GenTraversableOnce[T], FilterMonadic[T, LeftistHeap[T, HC]], HasNewBuilder[T, LeftistHeap[T, HC]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Node
  2. Serializable
  3. Serializable
  4. Product
  5. LeftistHeap
  6. Iterable
  7. IterableLike
  8. Equals
  9. GenIterable
  10. GenIterableLike
  11. Traversable
  12. GenTraversable
  13. GenericTraversableTemplate
  14. TraversableLike
  15. GenTraversableLike
  16. Parallelizable
  17. TraversableOnce
  18. GenTraversableOnce
  19. FilterMonadic
  20. HasNewBuilder
  21. AnyRef
  22. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Node(data: T, left: LeftistHeap[T, HC], right: LeftistHeap[T, HC], emptyHeap: LeftistHeap[T, HC])(implicit ord: Ordering[T])

    Permalink

Type Members

  1. type Self = LeftistHeap[T, HC]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  2. class WithFilter extends FilterMonadic[A, Repr]

    Permalink
    Definition Classes
    TraversableLike

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(el: T): LeftistHeap[T, HC]

    Permalink
    Definition Classes
    LeftistHeap
  4. def ++(els: Iterable[T]): LeftistHeap[T, HC]

    Permalink
    Definition Classes
    LeftistHeap
  5. def ++(els: Iterator[T]): LeftistHeap[T, HC]

    Permalink
    Definition Classes
    LeftistHeap
  6. def ++[B >: T, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[LeftistHeap[T, HC], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  7. def ++:[B >: T, That](that: Traversable[B])(implicit bf: CanBuildFrom[LeftistHeap[T, HC], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  8. def ++:[B >: T, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[LeftistHeap[T, HC], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  9. def /:[B](z: B)(op: (B, T) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  10. def :\[B](z: B)(op: (T, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  11. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def addString(b: StringBuilder): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  13. def addString(b: StringBuilder, sep: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  14. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  15. def aggregate[B](z: ⇒ B)(seqop: (B, T) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  16. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  17. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    IterableLike → Equals
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  19. def collect[B, That](pf: PartialFunction[T, B])(implicit bf: CanBuildFrom[LeftistHeap[T, HC], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  20. def collectFirst[B](pf: PartialFunction[T, B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  21. lazy val collector: HC

    Permalink

    Interface for collecting information about the elements stored in the heap

    Interface for collecting information about the elements stored in the heap

    Definition Classes
    NodeLeftistHeap
  22. def companion: GenericCompanion[Iterable]

    Permalink
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  23. def copyToArray[B >: T](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  24. def copyToArray[B >: T](xs: Array[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  25. def copyToArray[B >: T](xs: Array[B], start: Int): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  26. def copyToBuffer[B >: T](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  27. def count(p: (T) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  28. val data: T

    Permalink
  29. def deleteMin: LeftistHeap[T, HC]

    Permalink

    Remove the minimum element from this heap

    Remove the minimum element from this heap

    returns

    a heap that contains all elements of this heap except for the minimum element

    Definition Classes
    NodeLeftistHeap
  30. def drop(n: Int): LeftistHeap[T, HC]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  31. def dropRight(n: Int): LeftistHeap[T, HC]

    Permalink
    Definition Classes
    IterableLike
  32. def dropWhile(p: (T) ⇒ Boolean): LeftistHeap[T, HC]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  33. def empty: LeftistHeap[T, HC]

    Permalink

    Construct an empty heap

    Construct an empty heap

    Attributes
    protected
    Definition Classes
    NodeLeftistHeap
  34. val emptyHeap: LeftistHeap[T, HC]

    Permalink
  35. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. def exists(p: (T) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  37. def filter(p: (T) ⇒ Boolean): LeftistHeap[T, HC]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  38. def filterNot(p: (T) ⇒ Boolean): LeftistHeap[T, HC]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  39. def find(p: (T) ⇒ Boolean): Option[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  40. def findMin: T

    Permalink

    returns

    the minimum element of this heap, or null iff this heap is empty (isEmpty()==true)

    Definition Classes
    NodeLeftistHeap
  41. def findMinOption: Option[T]

    Permalink

    returns

    the minimum element of this heap, or None> iff this heap is empty (isEmpty()==true)

    Definition Classes
    LeftistHeap
  42. def flatItMap(f: (T) ⇒ Iterator[T], stop: (LeftistHeap[T, HC]) ⇒ Boolean): LeftistHeap[T, HC]

    Permalink

    Apply a function f to all elements in this heap.

    Apply a function f to all elements in this heap. The heap traversal is skipped for a subheap if the function stop applied to this subheap returns true. The function f can return null to signal that a data element has not changed.

    Definition Classes
    LeftistHeap
  43. def flatItMapIter(f: (T) ⇒ Iterator[T], stop: (LeftistHeap[T, HC]) ⇒ Boolean): LeftistHeap[T, HC]

    Permalink

    Apply a function f to all elements in this heap.

    Apply a function f to all elements in this heap. The heap traversal is skipped for a subheap if the function stop applied to this subheap returns true. The function f can return null to signal that a data element has not changed.

    Definition Classes
    LeftistHeap
  44. def flatItMapRec(f: (T) ⇒ Iterator[T], stop: (LeftistHeap[T, HC]) ⇒ Boolean): LeftistHeap[T, HC]

    Permalink

    Apply a function f to all elements in this heap.

    Apply a function f to all elements in this heap. The heap traversal is skipped for a subheap if the function stop applied to this subheap returns true. The function f can return null to signal that a data element has not changed.

    Definition Classes
    NodeLeftistHeap
  45. def flatMap[B, That](f: (T) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[LeftistHeap[T, HC], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  46. def flatten[B](implicit asTraversable: (T) ⇒ GenTraversableOnce[B]): Iterable[B]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  47. def fold[A1 >: T](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  48. def foldLeft[B](z: B)(op: (B, T) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  49. def foldRight[B](z: B)(op: (T, B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  50. def forall(p: (T) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  51. def foreach[U](f: (T) ⇒ U): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  52. def genericBuilder[B]: Builder[B, Iterable[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  53. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  54. def groupBy[K](f: (T) ⇒ K): Map[K, LeftistHeap[T, HC]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  55. def grouped(size: Int): Iterator[LeftistHeap[T, HC]]

    Permalink
    Definition Classes
    IterableLike
  56. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  57. def head: T

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  58. def headOption: Option[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  59. def init: LeftistHeap[T, HC]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  60. def inits: Iterator[LeftistHeap[T, HC]]

    Permalink
    Definition Classes
    TraversableLike
  61. def insert(element: T): LeftistHeap[T, HC]

    Permalink

    Add an element to this heap object

    Add an element to this heap object

    element

    the element to be added

    returns

    a heap that contains all elements of this heap, and additionally element

    Definition Classes
    NodeLeftistHeap
  62. def insertHeap(h: LeftistHeap[T, HC]): LeftistHeap[T, HC]

    Permalink

    Add multiple elements to this heap object

    Add multiple elements to this heap object

    h

    a heap containing the elements to be added

    returns

    a heap that contains all elements of this heap, and additionally all objects from h

    Attributes
    protected[ap.basetypes]
    Definition Classes
    NodeLeftistHeap
  63. def insertIt(elements: Iterator[T]): LeftistHeap[T, HC]

    Permalink

    Add multiple elements to this heap object

    Add multiple elements to this heap object

    elements

    the elements to be added

    returns

    a heap that contains all elements of this heap, and additionally all objects from elements

    Definition Classes
    LeftistHeap
  64. def isEmpty: Boolean

    Permalink

    returns

    true iff this heap is empty

    Definition Classes
    NodeLeftistHeap → IterableLike → GenericTraversableTemplate → TraversableLike → TraversableOnce → GenTraversableOnce
  65. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  66. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  67. def iterator: Iterator[T]

    Permalink
    Definition Classes
    LeftistHeap → IterableLike → GenIterableLike
  68. def last: T

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  69. def lastOption: Option[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  70. val left: LeftistHeap[T, HC]

    Permalink
  71. def map[B, That](f: (T) ⇒ B)(implicit bf: CanBuildFrom[LeftistHeap[T, HC], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  72. def max[B >: T](implicit cmp: Ordering[B]): T

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  73. def maxBy[B](f: (T) ⇒ B)(implicit cmp: Ordering[B]): T

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  74. def min[B >: T](implicit cmp: Ordering[B]): T

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  75. def minBy[B](f: (T) ⇒ B)(implicit cmp: Ordering[B]): T

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  76. def mkString: String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  77. def mkString(sep: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def mkString(start: String, sep: String, end: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  79. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  80. def newBuilder: Builder[T, LeftistHeap[T, HC]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LeftistHeap → GenericTraversableTemplate → TraversableLike → HasNewBuilder
  81. def nonEmpty: Boolean

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  83. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  84. def par: ParIterable[T]

    Permalink
    Definition Classes
    Parallelizable
  85. def parCombiner: Combiner[T, ParIterable[T]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  86. def partition(p: (T) ⇒ Boolean): (LeftistHeap[T, HC], LeftistHeap[T, HC])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  87. def product[B >: T](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  88. def reduce[A1 >: T](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. def reduceLeft[B >: T](op: (B, T) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  90. def reduceLeftOption[B >: T](op: (B, T) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  91. def reduceOption[A1 >: T](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def reduceRight[B >: T](op: (T, B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  93. def reduceRightOption[B >: T](op: (T, B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. def removeAll(element: T): LeftistHeap[T, HC]

    Permalink

    Remove all elements of this heap which are equal to element.

    Remove all elements of this heap which are equal to element.

    returns

    heap that has all occurrences of element removed

    Definition Classes
    NodeLeftistHeap
  95. def repr: LeftistHeap[T, HC]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  96. def reversed: List[T]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  97. val right: LeftistHeap[T, HC]

    Permalink
  98. val rightHeight: Int

    Permalink

    Length of the right spine, i.e.

    Length of the right spine, i.e. the length of the path from the root to rightmost leaf

    Definition Classes
    NodeLeftistHeap
  99. def sameElements[B >: T](that: GenIterable[B]): Boolean

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  100. def scan[B >: T, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[LeftistHeap[T, HC], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  101. def scanLeft[B, That](z: B)(op: (B, T) ⇒ B)(implicit bf: CanBuildFrom[LeftistHeap[T, HC], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  102. def scanRight[B, That](z: B)(op: (T, B) ⇒ B)(implicit bf: CanBuildFrom[LeftistHeap[T, HC], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  103. def seq: Iterable[T]

    Permalink
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  104. val size: Int

    Permalink
    Definition Classes
    Node → GenTraversableLike → TraversableOnce → GenTraversableOnce
  105. def slice(from: Int, until: Int): LeftistHeap[T, HC]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  106. def sliding(size: Int, step: Int): Iterator[LeftistHeap[T, HC]]

    Permalink
    Definition Classes
    IterableLike
  107. def sliding(size: Int): Iterator[LeftistHeap[T, HC]]

    Permalink
    Definition Classes
    IterableLike
  108. def sortedIterator: Iterator[T]

    Permalink

    returns

    an iterator that returns all elements of this heap in increasing order

    Definition Classes
    LeftistHeap
  109. def span(p: (T) ⇒ Boolean): (LeftistHeap[T, HC], LeftistHeap[T, HC])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  110. def splitAt(n: Int): (LeftistHeap[T, HC], LeftistHeap[T, HC])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  111. def stringPrefix: String

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  112. def sum[B >: T](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  113. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  114. def tail: LeftistHeap[T, HC]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  115. def tails: Iterator[LeftistHeap[T, HC]]

    Permalink
    Definition Classes
    TraversableLike
  116. def take(n: Int): LeftistHeap[T, HC]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  117. def takeRight(n: Int): LeftistHeap[T, HC]

    Permalink
    Definition Classes
    IterableLike
  118. def takeWhile(p: (T) ⇒ Boolean): LeftistHeap[T, HC]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  119. def thisCollection: Iterable[T]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  120. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, T, Col[T]]): Col[T]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  121. def toArray[B >: T](implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  122. def toBuffer[B >: T]: Buffer[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  123. def toCollection(repr: LeftistHeap[T, HC]): Iterable[T]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  124. def toIndexedSeq: IndexedSeq[T]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  125. def toIterable: Iterable[T]

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  126. def toIterator: Iterator[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  127. def toList: List[T]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  128. def toMap[T, U](implicit ev: <:<[T, (T, U)]): Map[T, U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  129. def toSeq: Seq[T]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  130. def toSet[B >: T]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  131. def toStream: Stream[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  132. def toString(): String

    Permalink
    Definition Classes
    LeftistHeap → TraversableLike → AnyRef → Any
  133. def toTraversable: Traversable[T]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  134. def toVector: Vector[T]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  135. def transpose[B](implicit asTraversable: (T) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  136. def unsortedIterator: Iterator[T]

    Permalink

    returns

    an iterator that returns all elements of this heap

    Definition Classes
    LeftistHeap
  137. def unzip[A1, A2](implicit asPair: (T) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  138. def unzip3[A1, A2, A3](implicit asTriple: (T) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  139. def view(from: Int, until: Int): IterableView[T, LeftistHeap[T, HC]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike
  140. def view: IterableView[T, LeftistHeap[T, HC]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike
  141. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  142. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  143. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  144. def withFilter(p: (T) ⇒ Boolean): FilterMonadic[T, LeftistHeap[T, HC]]

    Permalink
    Definition Classes
    TraversableLike → FilterMonadic
  145. def zip[A1 >: T, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[LeftistHeap[T, HC], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  146. def zipAll[B, A1 >: T, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[LeftistHeap[T, HC], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  147. def zipWithIndex[A1 >: T, That](implicit bf: CanBuildFrom[LeftistHeap[T, HC], (A1, Int), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from LeftistHeap[T, HC]

Inherited from Iterable[T]

Inherited from IterableLike[T, LeftistHeap[T, HC]]

Inherited from Equals

Inherited from GenIterable[T]

Inherited from GenIterableLike[T, LeftistHeap[T, HC]]

Inherited from Traversable[T]

Inherited from GenTraversable[T]

Inherited from GenericTraversableTemplate[T, Iterable]

Inherited from TraversableLike[T, LeftistHeap[T, HC]]

Inherited from GenTraversableLike[T, LeftistHeap[T, HC]]

Inherited from Parallelizable[T, ParIterable[T]]

Inherited from TraversableOnce[T]

Inherited from GenTraversableOnce[T]

Inherited from FilterMonadic[T, LeftistHeap[T, HC]]

Inherited from HasNewBuilder[T, LeftistHeap[T, HC]]

Inherited from AnyRef

Inherited from Any

Ungrouped