| Access | Constructor and Description |
|---|---|
| public | CollectionIterator(Object
object over which we are iterating iterateOverMe)Construct a basic CollectionIterator |
| Modifier and Type | Method and Description |
|---|---|
| protected Iterator | Returns: an IteratorObject of type Iterator, Collection, or types
supported by CollectionManager.BasicBshIterator iterateOverMe)Create an iterator over the given object |
| public boolean | Returns: The next objectImplements bsh. next() method
|
| public Object | Returns: The next objectImplements bsh. |
| iterator | back to summary |
|---|---|
| private Iterator<E> iterator | |
| CollectionIterator | back to summary |
|---|---|
| public CollectionIterator(Object iterateOverMe) Construct a basic CollectionIterator
| |
| createIterator | back to summary |
|---|---|
| protected Iterator Create an iterator over the given object
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements bsh. Returns true if and only if there are more objects available
via the
| |
| next | back to summary |
|---|---|
| public Object next() Implements bsh. Fetch the next object in the iteration
| |