Module: Lite::Containers::Abstract::Deque
- Includes:
- Queue
- Included in:
- Lite::Containers::AvlTree, SortedArray, TopN::Deque
- Defined in:
- lib/lite/containers/abstract/deque.rb
Instance Method Summary collapse
-
#back ⇒ Object
Removes and returns lowest priority element.
-
#pop_back ⇒ Object
Removes and returns lowest priority element.
Methods included from Queue
Instance Method Details
#back ⇒ Object
Removes and returns lowest priority element. Does nothing if empty
12 13 14 |
# File 'lib/lite/containers/abstract/deque.rb', line 12 def back raise NotImplementedError, "#{self.class.name}##{__method__} unimplemented" end |
#pop_back ⇒ Object
Removes and returns lowest priority element. Does nothing if empty
17 18 19 |
# File 'lib/lite/containers/abstract/deque.rb', line 17 def pop_back raise NotImplementedError, "#{self.class.name}##{__method__} unimplemented" end |