LeftistInternal

class LeftistInternal<Value : Comparable<Value>>(    val first: Value,     val left: LeftistHeap<Value>,     val right: LeftistHeap<Value>) : LeftistHeap<Value>

Constructors

Link copied to clipboard
fun <Value : Comparable<Value>> LeftistInternal(    first: Value,     left: LeftistHeap<Value>,     right: LeftistHeap<Value>)

Functions

Link copied to clipboard
open override fun merge(another: LeftistHeap<Value>): LeftistInternal<Value>
Link copied to clipboard
fun toList(): List<Value>
Link copied to clipboard
open override fun with(newValue: Value): LeftistInternal<Value>
Link copied to clipboard
open override fun without(value: Value): LeftistHeap<Value>

Properties

Link copied to clipboard
open override val first: Value
Link copied to clipboard
val isEmpty: Boolean
Link copied to clipboard
val left: LeftistHeap<Value>
Link copied to clipboard
val rank: Int
Link copied to clipboard
val right: LeftistHeap<Value>
Link copied to clipboard
val size: Int
Link copied to clipboard
open override val withoutFirst: LeftistHeap<Value>