class

Crystalline::Containers::SplayTreeMap::Node(K, V)

Inherits Reference / Object

private

Constructors

new(key : K | Nil, value : V | Nil, left : Nil | Crystalline::Containers::SplayTreeMap::Node(K, V) = nil, right : Nil | Crystalline::Containers::SplayTreeMap::Node(K, V) = nil)
Source

Instance methods

key

TODO: "as K" instead of ".not_nil!"

Source
key=(key : K)
Source
left
Source
left=(left : Node(K, V) | Nil)
Source
right
Source
right=(right : Node(K, V) | Nil)
Source
value

TODO: "as V" instead of ".not_nil!"

Source
value=(value : V)
Source

Macros

node_prop(prop, type)

Enforce type of node properties (key & value)

Source