| java.lang.Object bsh.collection.CollectionIterator
CollectionIterator | public class CollectionIterator implements bsh.BshIterator(Code) | | This is the implementation of:
BshIterator - a dynamically loaded extension that supports the collections
API supported by JDK1.2 and greater.
author: Daniel Leuck author: Pat Niemeyer |
getIteratorForIterable | Iterator getIteratorForIterable(Object iterateOverMe)(Code) | | Get an Iterator for a Java 5 Iterable object.
Rather than resorting to another loadable module for Java 5 we'll
use reflection here to invoke the Iterable iterator() method.
the Iterator or null if the object is not an Iterable. author: Daniel Leuck |
hasNext | public boolean hasNext()(Code) | | Returns true if and only if there are more objects available
via the next() method
The next object |
next | public Object next()(Code) | | Fetch the next object in the iteration
The next object |
|
|