class SMultiSet::RedBlackTree::Node(T)
- SMultiSet::RedBlackTree::Node(T)
- Reference
- Object
Included Modules
Direct Known Subclasses
Defined in:
datastructure/smultiset/red_black_tree.crConstructors
Instance Method Summary
- #black?
- #color : Color
- #color=(color : Color)
- #key : T
- #key=(key : T)
- #left : SMultiSet::RedBlackTree::Node(T)
- #left=(left : SMultiSet::RedBlackTree::Node(T))
- #left? : SMultiSet::RedBlackTree::Node(T)?
- #parent : SMultiSet::RedBlackTree::Node(T)
- #parent=(parent : SMultiSet::RedBlackTree::Node(T))
- #parent? : SMultiSet::RedBlackTree::Node(T)?
- #red?
- #right : SMultiSet::RedBlackTree::Node(T)
- #right=(right : SMultiSet::RedBlackTree::Node(T))
- #right? : SMultiSet::RedBlackTree::Node(T)?
- #split(split_key : T) : Tuple(SMultiSet::RedBlackTree::Node(T), SMultiSet::RedBlackTree::Node(T))
Instance methods inherited from module TreeNode(T)
inspect(io : IO)
inspect,
key : T
key,
key! : T
key!,
key? : T?
key?,
left
left,
max_node : self
max_node,
min_node : self
min_node,
nil_node?
nil_node?,
node?
node?,
parent
parent,
pred : self
pred,
right
right,
succ : self
succ,
to_s(io : IO)
to_s
Constructor Detail
Instance Method Detail
def split(split_key : T) : Tuple(SMultiSet::RedBlackTree::Node(T), SMultiSet::RedBlackTree::Node(T))
#