edu.udo.cs.yale.example
Class RandomDataRowReader

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

public class RandomDataRowReader
extends AbstractDataRowReader

Create data rows based on random data in the range of the minimum and maximum values of the attributes.

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

Field Summary
private  Attribute[] attributes
           
private  int counter
           
private  int size
           
 
Constructor Summary
RandomDataRowReader(Attribute[] attributes, int size)
           
 
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

size

private int size

attributes

private Attribute[] attributes

counter

private int counter
Constructor Detail

RandomDataRowReader

public RandomDataRowReader(Attribute[] attributes,
                           int size)
Method Detail

hasNext

public boolean hasNext()

next

public DataRow next()


Copyright © 2001-2006