Package net.sf.basedb.util
Class ArrayIterator<E>
java.lang.Object
net.sf.basedb.util.ArrayIterator<E>
- All Implemented Interfaces:
Iterator<E>
This class implements the
Iterator
interface
for an array of objects.- Version:
- 2.0
- Author:
- Nicklas
-
Field Details
-
array
The array to iterate. -
index
private int indexThe index of the next element to return.
-
-
Constructor Details
-
ArrayIterator
Create a newArrayIterator
object.- Parameters:
array
- Array to set.
-
-
Method Details