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

Overview

private

Defined in:

containers/splay_tree_map.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.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) #

[View source]

Instance Method Detail

def key #

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


[View source]
def key=(key : K) #

[View source]
def left : Node(K, V) | Nil #

[View source]
def left=(left : Node(K, V) | Nil) #

[View source]
def right : Node(K, V) | Nil #

[View source]
def right=(right : Node(K, V) | Nil) #

[View source]
def value #

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


[View source]
def value=(value : V) #

[View source]

Macro Detail

macro node_prop(prop, type) #

Enforce type of node properties (key & value)


[View source]