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.
-
#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 ⇒ Object
dereference the iterator, and returns the pointed object.
Instance Method Details
#!= ⇒ Object
compare for unequivalence of positions
275 276 |
# File 'for_yard_product.rb', line 275 def != end |
#==(arg) ⇒ Object
compare for equivalence of positions
270 271 |
# File 'for_yard_product.rb', line 270 def == arg end |
#assign(arg) ⇒ EMSet::Iterator
assign the positions of argument
265 266 |
# File 'for_yard_product.rb', line 265 def assign arg end |
#clone ⇒ EMSet::Iterator
newly construct a clone iterator
239 240 |
# File 'for_yard_product.rb', line 239 def clone end |
#dec ⇒ EMSet::Iterator
decrement the position
251 252 |
# File 'for_yard_product.rb', line 251 def dec end |
#inc ⇒ EMSet::Iterator
increment the position
245 246 |
# File 'for_yard_product.rb', line 245 def inc end |
#isEnd? ⇒ True|False
returns true if the iterator is already reached the end
256 257 |
# File 'for_yard_product.rb', line 256 def isEnd? end |
#isErased? ⇒ True|False
returns true if iterator position is already erased
260 261 |
# File 'for_yard_product.rb', line 260 def isErased? end |
#item ⇒ Object
dereference the iterator, and returns the pointed object
279 280 |
# File 'for_yard_product.rb', line 279 def item end |