Class: RangeList::AvlTree::AbstractAdapter
- Inherits:
-
Object
- Object
- RangeList::AvlTree::AbstractAdapter
- Defined in:
- lib/range_list/avl_tree/abstract_adapter.rb
Direct Known Subclasses
Instance Method Summary collapse
- #each(&block) ⇒ Object
- #lower_entry(key) ⇒ Object
- #put(key, value) ⇒ Object
- #remove(key) ⇒ Object
- #sub_map(from_key, to_key) ⇒ Object
Instance Method Details
#each(&block) ⇒ Object
23 24 25 |
# File 'lib/range_list/avl_tree/abstract_adapter.rb', line 23 def each(&block) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end |
#lower_entry(key) ⇒ Object
11 12 13 |
# File 'lib/range_list/avl_tree/abstract_adapter.rb', line 11 def lower_entry(key) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end |
#put(key, value) ⇒ Object
7 8 9 |
# File 'lib/range_list/avl_tree/abstract_adapter.rb', line 7 def put(key, value) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end |
#remove(key) ⇒ Object
19 20 21 |
# File 'lib/range_list/avl_tree/abstract_adapter.rb', line 19 def remove(key) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end |
#sub_map(from_key, to_key) ⇒ Object
15 16 17 |
# File 'lib/range_list/avl_tree/abstract_adapter.rb', line 15 def sub_map(from_key, to_key) raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'" end |