class Crystalline::Containers::SplayTreeMap::Node(K, V)
- Crystalline::Containers::SplayTreeMap::Node(K, V)
- Reference
- Object
Overview
private
Defined in:
containers/splay_tree_map.crConstructors
Instance Method Summary
-
#key
TODO "as K" instead of ".not_nil!"
- #key=(key : K)
- #left : Node(K, V) | Nil
- #left=(left : Node(K, V) | Nil)
- #right : Node(K, V) | Nil
- #right=(right : Node(K, V) | Nil)
-
#value
TODO "as V" instead of ".not_nil!"
- #value=(value : V)
Macro Summary
-
node_prop(prop, type)
Enforce type of node properties (key & value)
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)
#