Class: Searching::SkipList::Node
- Inherits:
-
Object
- Object
- Searching::SkipList::Node
- Defined in:
- lib/searching/skip_list.rb
Instance Attribute Summary collapse
-
#forward ⇒ Object
readonly
Returns the value of attribute forward.
-
#key ⇒ Object
Returns the value of attribute key.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(max_level, key, value) ⇒ Node
constructor
A new instance of Node.
Constructor Details
Instance Attribute Details
#forward ⇒ Object (readonly)
Returns the value of attribute forward.
7 8 9 |
# File 'lib/searching/skip_list.rb', line 7 def forward @forward end |
#key ⇒ Object
Returns the value of attribute key.
5 6 7 |
# File 'lib/searching/skip_list.rb', line 5 def key @key end |
#value ⇒ Object
Returns the value of attribute value.
6 7 8 |
# File 'lib/searching/skip_list.rb', line 6 def value @value end |