Reset allows for the iteration process over a sequence to be restarted from the beginning. It enables reusing the iterator for multiple traversals without needing to recreate it.
()
| 33 | // Reset allows for the iteration process over a sequence to be restarted from the beginning. |
| 34 | // It enables reusing the iterator for multiple traversals without needing to recreate it. |
| 35 | Reset() |
| 36 | } |
| 37 | |
| 38 | // StopIterator is an interface for stopping Iterator. |
no outgoing calls