I’ve written a small Eclipse project1 that tries to explain interfaces and their use through commented code examples. It also shows how to make for-each loops support iterating over your classes and how to use the iterator interface to create data to iterate over just in time.

You can find the project here.

Cheers, Andreas


  1. The name is inspired by “Learn Python in 10 Minutes”, which is a very nice tutorial that explains everything through code examples↩︎