Iterable Interface
The Iterable interface is a new interface that has been added in Java 5.0. Similar to the Iterator interface the Iterable interface exposes your data structure to the ‘for each’ command. Thus allowing you to perform not just the standard Iterator syntax on it, but the new collection style traversal. How? Read on.Looking at the [...]
