de.unihalle.informatik.Alida.batch.provider.input.swing
Class ALDBatchInputNativeArray1DSwing.ALDBatchIteratorNativeArray1D

java.lang.Object
  extended by de.unihalle.informatik.Alida.batch.provider.input.swing.ALDBatchInputNativeArray1DSwing.ALDBatchIteratorNativeArray1D
All Implemented Interfaces:
java.util.Iterator<java.lang.Object>
Enclosing class:
ALDBatchInputNativeArray1DSwing

 class ALDBatchInputNativeArray1DSwing.ALDBatchIteratorNativeArray1D
extends java.lang.Object
implements java.util.Iterator<java.lang.Object>

Iterates row-wise over a 2D array.

Author:
moeller

Field Summary
private  int arrayRows
          Number of rows in array.
private  int currentIndex
          Index of iterator in set.
private  java.lang.Object dataArray
          Data.
private  java.lang.Class<?> requestedClass
          Class of elements in array.
 
Constructor Summary
ALDBatchInputNativeArray1DSwing.ALDBatchIteratorNativeArray1D(java.lang.Object array2D, java.lang.Class<?> cl)
          Default constructor.
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

arrayRows

private int arrayRows
Number of rows in array.


currentIndex

private int currentIndex
Index of iterator in set.


dataArray

private java.lang.Object dataArray
Data.


requestedClass

private java.lang.Class<?> requestedClass
Class of elements in array.

Constructor Detail

ALDBatchInputNativeArray1DSwing.ALDBatchIteratorNativeArray1D

public ALDBatchInputNativeArray1DSwing.ALDBatchIteratorNativeArray1D(java.lang.Object array2D,
                                                                     java.lang.Class<?> cl)
Default constructor.

Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<java.lang.Object>

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator<java.lang.Object>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<java.lang.Object>