Class: Yk::EMMap::Iterator
- Inherits:
-
Object
- Object
- Yk::EMMap::Iterator
- Defined in:
- for_yard_product.rb
Overview
Iterator class, pointing an element in container
Instance Method Summary collapse
-
#!= ⇒ Object
compare for unequivalence of positions.
-
#==(arg) ⇒ Object
compare for equivalence of positions.
-
#assign(arg) ⇒ EMMap::Iterator
assign the positions of argument.
-
#clone ⇒ EMMap::Iterator
newly construct a clone iterator.
-
#dec ⇒ EMMap::Iterator
decrement the position.
-
#inc ⇒ EMMap::Iterator
increment the position.
-
#item ⇒ Array
dereference the iterator, and returns the key object and the value object.
Instance Method Details
#!= ⇒ Object
compare for unequivalence of positions
464 465 |
# File 'for_yard_product.rb', line 464 def != end |
#==(arg) ⇒ Object
compare for equivalence of positions
459 460 |
# File 'for_yard_product.rb', line 459 def == arg end |
#assign(arg) ⇒ EMMap::Iterator
assign the positions of argument
454 455 |
# File 'for_yard_product.rb', line 454 def assign arg end |
#clone ⇒ EMMap::Iterator
newly construct a clone iterator
439 440 |
# File 'for_yard_product.rb', line 439 def clone end |
#dec ⇒ EMMap::Iterator
decrement the position
449 450 |
# File 'for_yard_product.rb', line 449 def dec end |
#inc ⇒ EMMap::Iterator
increment the position
444 445 |
# File 'for_yard_product.rb', line 444 def inc end |
#item ⇒ Array
dereference the iterator, and returns the key object and the value object
468 469 |
# File 'for_yard_product.rb', line 468 def item end |