bsh
Class CollectionManager.BasicBshIterator
java.lang.Object
bsh.CollectionManager.BasicBshIterator
- CollectionManager
- BshIterator
public static class CollectionManager.BasicBshIterator
extends java.lang.Object
An implementation that works with JDK 1.1
protected Enumeration | createEnumeration(Object iterateOverMe) - Create an enumeration over the given object
|
boolean | hasNext() - Returns true if and only if there are more objects available
via the
next() method
|
Object | next() - Fetch the next object in the iteration
|
BasicBshIterator
public BasicBshIterator(Object iterateOverMe)
Construct a basic BasicBshIterator
createEnumeration
protected Enumeration createEnumeration(Object iterateOverMe)
Create an enumeration over the given object
iterateOverMe
- Object of type Enumeration, Vector, String,
StringBuffer or an array
hasNext
public boolean hasNext()
Returns true if and only if there are more objects available
via the next()
method
- hasNext in interface BshIterator
next
public Object next()
Fetch the next object in the iteration
- next in interface BshIterator
B) 2000 pat@pat.net :-)