Class: Containers::RubySplayTreeMap::Node

Inherits:
Struct
  • Object
show all
Defined in:
lib/containers/splay_tree_map.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key



19
20
21
# File 'lib/containers/splay_tree_map.rb', line 19

def key
  @key
end

#leftObject

Returns the value of attribute left



19
20
21
# File 'lib/containers/splay_tree_map.rb', line 19

def left
  @left
end

#rightObject

Returns the value of attribute right



19
20
21
# File 'lib/containers/splay_tree_map.rb', line 19

def right
  @right
end

#valueObject

Returns the value of attribute value



19
20
21
# File 'lib/containers/splay_tree_map.rb', line 19

def value
  @value
end