|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.data.RowIterator
org.knime.base.node.mine.bfn.BasisFunctionIterator
public final class BasisFunctionIterator
Iterator over all
BasisFunctionLearnerRow
s within the
model.
Supports to skip certain classes.
Constructor Summary | |
---|---|
BasisFunctionIterator(BasisFunctionLearnerTable table)
Creates a new basisfunction iterator. |
Method Summary | |
---|---|
boolean |
hasNext()
Checks if the iterator already reached the end of the iteration. |
DataRow |
next()
Returns the next DataRow . |
BasisFunctionLearnerRow |
nextBasisFunction()
Returns the next row in the iteration. |
void |
skipClass()
Skips the current class, next() will then return the first basis
function of the next class. |
Methods inherited from class org.knime.core.data.RowIterator |
---|
remove |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasisFunctionIterator(BasisFunctionLearnerTable table)
table
- the underlying learner table
NullPointerException
- if the table is null
Method Detail |
---|
public boolean hasNext()
hasNext
in interface Iterator<DataRow>
hasNext
in class RowIterator
true
if the end has been reached otherwise.RowIterator.next()
public BasisFunctionLearnerRow nextBasisFunction()
NoSuchElementException
- if there are no more rowspublic DataRow next()
DataRow
.
next
in interface Iterator<DataRow>
next
in class RowIterator
DataTable
public void skipClass()
next()
will then return the first basis
function of the next class. If the current class is the last, the
basisfunction index is set to the last element +1
and
hasNext()
will return false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |