Package org.datavec.api.writable.batch
Class AbstractWritableRecordBatch.RecordBatchListIterator
- java.lang.Object
-
- org.datavec.api.writable.batch.AbstractWritableRecordBatch.RecordBatchListIterator
-
- Enclosing class:
- AbstractWritableRecordBatch
public static class AbstractWritableRecordBatch.RecordBatchListIterator extends Object implements ListIterator<List<Writable>>
-
-
Constructor Summary
Constructors Constructor Description RecordBatchListIterator(AbstractWritableRecordBatch underlying)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(List<Writable> writables)booleanhasNext()booleanhasPrevious()List<Writable>next()intnextIndex()List<Writable>previous()intpreviousIndex()voidremove()voidset(List<Writable> writables)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
RecordBatchListIterator
public RecordBatchListIterator(AbstractWritableRecordBatch underlying)
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfaceListIterator<List<Writable>>
-
previous
public List<Writable> previous()
- Specified by:
previousin interfaceListIterator<List<Writable>>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfaceListIterator<List<Writable>>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfaceListIterator<List<Writable>>
-
remove
public void remove()
-
set
public void set(List<Writable> writables)
- Specified by:
setin interfaceListIterator<List<Writable>>
-
-