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
108 109 |
# File 'for_yard_product.rb', line 108 def != end |
#==(arg) ⇒ Object
compare for equivalence of positions
103 104 |
# File 'for_yard_product.rb', line 103 def == arg end |
#assign(arg) ⇒ ESet::Iterator
assign the positions of argument
98 99 |
# File 'for_yard_product.rb', line 98 def assign arg end |
#clone ⇒ ESet::Iterator
newly construct a clone iterator
83 84 |
# File 'for_yard_product.rb', line 83 def clone end |
#dec ⇒ ESet::Iterator
decrement the position
93 94 |
# File 'for_yard_product.rb', line 93 def dec end |
#inc ⇒ ESet::Iterator
increment the position
88 89 |
# File 'for_yard_product.rb', line 88 def inc end |
#item ⇒ Object
dereference the iterator, and returns the pointed object
112 113 |
# File 'for_yard_product.rb', line 112 def item end |