Can you rework the logic to work without a currObject?

In `reachedEnd()` you can simply check whether the iterator has no next element ( `boolean readedEnd() { return !it.hasNext(); }`

And in `boolean nextRecord(Record record)`you can directly take the next object from the iterator.