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.
-
#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
135 136 |
# File 'for_yard_product.rb', line 135 def != end |
#==(arg) ⇒ Object
compare for equivalence of positions
130 131 |
# File 'for_yard_product.rb', line 130 def == arg end |
#assign(arg) ⇒ ESet::Iterator
assign the positions of argument
125 126 |
# File 'for_yard_product.rb', line 125 def assign arg end |
#clone ⇒ ESet::Iterator
newly construct a clone iterator
99 100 |
# File 'for_yard_product.rb', line 99 def clone end |
#dec ⇒ ESet::Iterator
decrement the position
111 112 |
# File 'for_yard_product.rb', line 111 def dec end |
#inc ⇒ ESet::Iterator
increment the position
105 106 |
# File 'for_yard_product.rb', line 105 def inc end |
#isEnd? ⇒ True|False
returns true if the iterator is already reached the end
116 117 |
# File 'for_yard_product.rb', line 116 def isEnd? end |
#isErased? ⇒ True|False
returns true if iterator position is already erased
120 121 |
# File 'for_yard_product.rb', line 120 def isErased? end |
#item ⇒ Object
dereference the iterator, and returns the pointed object
139 140 |
# File 'for_yard_product.rb', line 139 def item end |