public class EarlyTerminationMultiDataSetIterator extends Object implements MultiDataSetIterator
| Constructor and Description |
|---|
EarlyTerminationMultiDataSetIterator(MultiDataSetIterator underlyingIterator,
int terminationPoint)
Constructor takes the iterator to wrap and the number of minibatches after which the call to hasNext()
will return false
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
asyncSupported() |
MultiDataSetPreProcessor |
getPreProcessor() |
boolean |
hasNext() |
MultiDataSet |
next() |
MultiDataSet |
next(int num) |
void |
remove() |
void |
reset() |
boolean |
resetSupported() |
void |
setPreProcessor(MultiDataSetPreProcessor preProcessor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic EarlyTerminationMultiDataSetIterator(MultiDataSetIterator underlyingIterator, int terminationPoint)
underlyingIterator, - iterator to wrapterminationPoint, - minibatches after which hasNext() will return falsepublic MultiDataSet next(int num)
next in interface MultiDataSetIteratorpublic void setPreProcessor(MultiDataSetPreProcessor preProcessor)
setPreProcessor in interface MultiDataSetIteratorpublic MultiDataSetPreProcessor getPreProcessor()
getPreProcessor in interface MultiDataSetIteratorpublic boolean resetSupported()
resetSupported in interface MultiDataSetIteratorpublic boolean asyncSupported()
asyncSupported in interface MultiDataSetIteratorpublic void reset()
reset in interface MultiDataSetIteratorpublic boolean hasNext()
hasNext in interface Iterator<MultiDataSet>public MultiDataSet next()
next in interface Iterator<MultiDataSet>public void remove()
remove in interface Iterator<MultiDataSet>Copyright © 2021. All rights reserved.