In this sample chapter from <i>Effective Java™ Programming Language Guide: The Java™Series</i>, author Josh Bloch discusses several aspects of method design: how to treat parameters and return values, how to design method signatures, and ...
linking Iterators together in this manner is more efficient (and convenient) than reading out the contents of each Iterator into a List and creating a new Iterator.