finalize abstract method
void
finalize()
Aborts this iterator and frees internal resources.
This is also called automatically when moveNext returns false, but needs to be called manually if the iterator is not completed.
Implementation
void finalize();