|
|||||||||
| 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.SplittedExampleSetReader
public class SplittedExampleSetReader
Returns only a subset of an example set specified by an instance of
Partition.
| Field Summary | |
|---|---|
private int |
current
Index of the current example. |
private Example |
next
The next example that will be returned. |
private Partition |
partition
The partition. |
private java.util.Iterator<Example> |
reader
The underlying reader. |
| Constructor Summary | |
|---|---|
SplittedExampleSetReader(java.util.Iterator<Example> reader,
Partition partition)
|
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
Example |
next()
|
| 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 java.util.Iterator<Example> reader
private int current
private Partition partition
private Example next
| Constructor Detail |
|---|
public SplittedExampleSetReader(java.util.Iterator<Example> reader,
Partition partition)
| Method Detail |
|---|
public boolean hasNext()
public Example next()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||