Class ArrayIterator<StructType extends DataType>
java.lang.Object
com.ibm.j9ddr.vm29.j9.walkers.ArrayIterator<StructType>
-
Field Details
-
structType
-
-
Constructor Details
-
ArrayIterator
public ArrayIterator(Class<T> structType, int total, PointerPointer nodes) throws CorruptDataException - Throws:
CorruptDataException
-
-
Method Details
-
iterator
-
hasNext
public boolean hasNext()Description copied from interface:java.util.Iterator
Returnstrue
if the iteration has more elements. (In other words, returnstrue
ifIterator.next()
would return an element rather than throwing an exception.)- Specified by:
hasNext
in interfaceIterator<StructType extends DataType>
- Returns:
true
if the iteration has more elements
-
next
Description copied from interface:java.util.Iterator
Returns the next element in the iteration.- Specified by:
next
in interfaceIterator<StructType extends DataType>
- Returns:
- the next element in the iteration
-