Class: Yk::EMSet::Iterator
- Inherits:
-
Object
- Object
- Yk::EMSet::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) ⇒ EMSet::Iterator
assign the positions of argument.
-
#clone ⇒ EMSet::Iterator
newly construct a clone iterator.
-
#dec ⇒ EMSet::Iterator
decrement the position.
-
#inc ⇒ EMSet::Iterator
increment the position.
-
#item ⇒ Object
dereference the iterator, and returns the pointed object.
Instance Method Details
#!= ⇒ Object
compare for unequivalence of positions
201 202 |
# File 'for_yard_product.rb', line 201 def != end |
#==(arg) ⇒ Object
compare for equivalence of positions
196 197 |
# File 'for_yard_product.rb', line 196 def == arg end |
#assign(arg) ⇒ EMSet::Iterator
assign the positions of argument
191 192 |
# File 'for_yard_product.rb', line 191 def assign arg end |
#clone ⇒ EMSet::Iterator
newly construct a clone iterator
176 177 |
# File 'for_yard_product.rb', line 176 def clone end |
#dec ⇒ EMSet::Iterator
decrement the position
186 187 |
# File 'for_yard_product.rb', line 186 def dec end |
#inc ⇒ EMSet::Iterator
increment the position
181 182 |
# File 'for_yard_product.rb', line 181 def inc end |
#item ⇒ Object
dereference the iterator, and returns the pointed object
205 206 |
# File 'for_yard_product.rb', line 205 def item end |