code: https://github.com/a-r-d/java-1-class...
In this video I implement a wrapper over a list which implements the iterable interface and creates a new iterator class. I then show how to use the for loop shorthand to loop over our own custom collection class.