class RedBlack::Node(V)

Defined in:

rb_tree.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(parent : Node(V) | Leaf, val : V) #

[View source]

Instance Method Detail

def black! #

[View source]
def black?(*args, **options) #

[View source]
def black?(*args, **options, &) #

[View source]
def color #

[View source]
def color=(color : RedBlack::Color) #

[View source]
def left #

[View source]
def left=(left : RedBlack::Leaf | RedBlack::Node(V)) #

[View source]
def parent #

[View source]
def parent=(parent : RedBlack::Leaf | RedBlack::Node(V)) #

[View source]
def red! #

[View source]
def red?(*args, **options) #

[View source]
def red?(*args, **options, &) #

[View source]
def right #

[View source]
def right=(right : RedBlack::Leaf | RedBlack::Node(V)) #

[View source]
def to_s(io) #

[View source]
def val #

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

[View source]