edu.udo.cs.yale.example
Class SimpleArrayDataRowReader

java.lang.Object
  extended by edu.udo.cs.yale.example.AbstractDataRowReader
      extended by edu.udo.cs.yale.example.SimpleArrayDataRowReader
All Implemented Interfaces:
DataRowReader, java.util.Iterator<DataRow>

public class SimpleArrayDataRowReader
extends AbstractDataRowReader

Creates a data row reader which uses an iterator over SimpleArrayData.

Version:
$Id: SimpleArrayDataRowReader.java,v 2.7 2006/03/21 15:35:39 ingomierswa Exp $
Author:
Simon Fischer, Ingo Mierswa

Field Summary
private  Attribute[] attributes
           
private  java.util.Iterator simpleData
           
 
Constructor Summary
SimpleArrayDataRowReader(DataRowFactory factory, Attribute[] attributes, java.util.Iterator simpleData)
           
 
Method Summary
 boolean hasNext()
           
 DataRow next()
           
 
Methods inherited from class edu.udo.cs.yale.example.AbstractDataRowReader
getFactory, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

simpleData

private java.util.Iterator simpleData

attributes

private Attribute[] attributes
Constructor Detail

SimpleArrayDataRowReader

public SimpleArrayDataRowReader(DataRowFactory factory,
                                Attribute[] attributes,
                                java.util.Iterator simpleData)
Method Detail

hasNext

public boolean hasNext()

next

public DataRow next()


Copyright © 2001-2006