|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.example.AbstractExampleReader
edu.udo.cs.yale.example.SimpleExampleReader
public class SimpleExampleReader
This reader simply uses all examples from an example table.
| Field Summary | |
|---|---|
private DataRowReader |
dataRowReader
The parent example reader. |
private Attribute[] |
selectedAttributes
The selection of the attributes. |
private java.util.Map<java.lang.String,Attribute> |
specialAttributes
The special attributes of the example set. |
| Constructor Summary | |
|---|---|
SimpleExampleReader(DataRowReader drr,
ExampleSet exampleSet)
Creates a simple example reader. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Returns true if there are more data rows. |
Example |
next()
Returns a new example based on the current data row. |
| Methods inherited from class edu.udo.cs.yale.example.AbstractExampleReader |
|---|
remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private DataRowReader dataRowReader
private Attribute[] selectedAttributes
private java.util.Map<java.lang.String,Attribute> specialAttributes
| Constructor Detail |
|---|
public SimpleExampleReader(DataRowReader drr,
ExampleSet exampleSet)
| Method Detail |
|---|
public boolean hasNext()
public Example next()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||