public class CollectionIterator implements Iterator(Code)
A wrapper for
Iterator which adds an
CollectionIterator.iterator method. This
is basically a hack so methods that return an Iterator can be be used in a
foreach style for loop.
author: Rob Clark (rob@ti.com) version: 1