class SSet::Treap::NilNode(T)

Included Modules

Defined in:

datastructure/sset/treap.cr

Constructors

Instance methods inherited from module TreeNilNode(T)

inspect(io : IO) inspect, key! key!, key? : T? key?, nil_node? nil_node?, node? node?, to_s(io : IO) to_s

Instance methods inherited from class SSet::Treap::Node(T)

key : T key, left : SSet::Treap::Node(T) left, left=(left : SSet::Treap::Node(T)) left=, left? : SSet::Treap::Node(T)? left?, parent : SSet::Treap::Node(T) parent, parent=(parent : SSet::Treap::Node(T)) parent=, parent? : SSet::Treap::Node(T)? parent?, priority : Int32 priority, right : SSet::Treap::Node(T) right, right=(right : SSet::Treap::Node(T)) right=, right? : SSet::Treap::Node(T)? right?, split(split_key : T) : Tuple(SSet::Treap::Node(T), SSet::Treap::Node(T)) split, to_s(io : IO) to_s

Constructor methods inherited from class SSet::Treap::Node(T)

new(key : T, priority : Int32) new

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

def self.new #

[View source]