This is mostly all I could do in one night (won't be able to do much else for a while do to school 😞)
I made an example of a pretty simple Iterator in examples, with next(), hasNext(), index, and length "members" (if you can even call them that, but whatever).
As a personal concept I implemented a looping function where the iterator resets after passing the backing array's last index.
Aside from the example I also fixed a duplicate static method in the Interpreter module.
This is mostly all I could do in one night (won't be able to do much else for a while do to school 😞)
I made an example of a pretty simple Iterator in
examples
, withnext()
,hasNext()
,index
, andlength
"members" (if you can even call them that, but whatever).As a personal concept I implemented a looping function where the iterator resets after passing the backing array's last index.
Aside from the example I also fixed a duplicate static method in the Interpreter module.
Looking forward to more! 😃 👍