Class: Yk::ESet::Iterator
- Inherits:
-
Object
- Object
- Yk::ESet::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) ⇒ ESet::Iterator
assign the positions of argument.
-
#clone ⇒ ESet::Iterator
newly construct a clone iterator.
-
#dec ⇒ ESet::Iterator
decrement the position.
-
#inc ⇒ ESet::Iterator
increment the position.
-
#item ⇒ Object
dereference the iterator, and returns the pointed object.
Instance Method Details
#!= ⇒ Object
compare for unequivalence of positions
98 99 |
# File 'for_yard_product.rb', line 98 def != end |
#==(arg) ⇒ Object
compare for equivalence of positions
93 94 |
# File 'for_yard_product.rb', line 93 def == arg end |
#assign(arg) ⇒ ESet::Iterator
assign the positions of argument
88 89 |
# File 'for_yard_product.rb', line 88 def assign arg end |
#clone ⇒ ESet::Iterator
newly construct a clone iterator
73 74 |
# File 'for_yard_product.rb', line 73 def clone end |
#dec ⇒ ESet::Iterator
decrement the position
83 84 |
# File 'for_yard_product.rb', line 83 def dec end |
#inc ⇒ ESet::Iterator
increment the position
78 79 |
# File 'for_yard_product.rb', line 78 def inc end |
#item ⇒ Object
dereference the iterator, and returns the pointed object
102 103 |
# File 'for_yard_product.rb', line 102 def item end |