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.
-
#isEnd? ⇒ True|False
returns true if the iterator is already reached the end.
-
#isErased? ⇒ True|False
returns true if iterator position is already erased.
-
#item ⇒ Array
dereference the iterator, and returns the key object and the value object.
Instance Method Details
#!= ⇒ Object
compare for unequivalence of positions
576 577 |
# File 'for_yard_product.rb', line 576 def != end |
#==(arg) ⇒ Object
compare for equivalence of positions
571 572 |
# File 'for_yard_product.rb', line 571 def == arg end |
#assign(arg) ⇒ EMMap::Iterator
assign the positions of argument
566 567 |
# File 'for_yard_product.rb', line 566 def assign arg end |
#clone ⇒ EMMap::Iterator
newly construct a clone iterator
540 541 |
# File 'for_yard_product.rb', line 540 def clone end |
#dec ⇒ EMMap::Iterator
decrement the position
552 553 |
# File 'for_yard_product.rb', line 552 def dec end |
#inc ⇒ EMMap::Iterator
increment the position
546 547 |
# File 'for_yard_product.rb', line 546 def inc end |
#isEnd? ⇒ True|False
returns true if the iterator is already reached the end
557 558 |
# File 'for_yard_product.rb', line 557 def isEnd? end |
#isErased? ⇒ True|False
returns true if iterator position is already erased
561 562 |
# File 'for_yard_product.rb', line 561 def isErased? end |
#item ⇒ Array
dereference the iterator, and returns the key object and the value object
580 581 |
# File 'for_yard_product.rb', line 580 def item end |