public class CollectionIterator extends java.lang.Object implements BshIterator
| Constructor and Description | 
|---|
| CollectionIterator(java.lang.Object iterateOverMe)Construct a basic CollectionIterator | 
| Modifier and Type | Method and Description | 
|---|---|
| protected java.util.Iterator | createIterator(java.lang.Object iterateOverMe)Create an iterator over the given object | 
| boolean | hasNext()Returns true if and only if there are more objects available
 via the  next()method | 
| java.lang.Object | next()Fetch the next object in the iteration | 
public CollectionIterator(java.lang.Object iterateOverMe)
iterateOverMe - The object over which we are iteratingjava.lang.IllegalArgumentException - If the argument is not a
 supported (i.e. iterable) type.java.lang.NullPointerException - If the argument is nullprotected java.util.Iterator createIterator(java.lang.Object iterateOverMe)
iterateOverMe - Object of type Iterator, Collection, or types
 supported by CollectionManager.BasicBshIteratorjava.lang.IllegalArgumentException - If the argument is not a
 supported (i.e. iterable) type.java.lang.NullPointerException - If the argument is nullpublic java.lang.Object next()
next in interface BshIteratorpublic boolean hasNext()
next() methodhasNext in interface BshIterator