Package org.datavec.api.writable.batch
Class AbstractWritableRecordBatch
- java.lang.Object
-
- org.datavec.api.writable.batch.AbstractWritableRecordBatch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractWritableRecordBatch.RecordBatchListIterator
-
Constructor Summary
Constructors Constructor Description AbstractWritableRecordBatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int i, List<Writable> writable)booleanadd(List<Writable> writable)booleanaddAll(int i, Collection<? extends List<Writable>> collection)booleanaddAll(Collection<? extends List<Writable>> collection)voidclear()booleancontains(Object o)booleancontainsAll(Collection<?> collection)intindexOf(Object o)booleanisEmpty()Iterator<List<Writable>>iterator()intlastIndexOf(Object o)ListIterator<List<Writable>>listIterator()ListIterator<List<Writable>>listIterator(int i)List<Writable>remove(int i)booleanremove(Object o)booleanremoveAll(Collection<?> collection)booleanretainAll(Collection<?> collection)List<Writable>set(int i, List<Writable> writable)List<List<Writable>>subList(int i, int i1)Object[]toArray()<T> T[]toArray(T[] ts)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
equals, get, hashCode, replaceAll, size, sort, spliterator
-
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(Object o)
-
listIterator
public ListIterator<List<Writable>> listIterator()
- Specified by:
listIteratorin interfaceList<List<Writable>>
-
toArray
public Object[] toArray()
-
toArray
public <T> T[] toArray(T[] ts)
-
remove
public boolean remove(Object o)
-
containsAll
public boolean containsAll(Collection<?> collection)
- Specified by:
containsAllin interfaceCollection<List<Writable>>- Specified by:
containsAllin interfaceList<List<Writable>>
-
addAll
public boolean addAll(Collection<? extends List<Writable>> collection)
-
addAll
public boolean addAll(int i, Collection<? extends List<Writable>> collection)
-
removeAll
public boolean removeAll(Collection<?> collection)
-
retainAll
public boolean retainAll(Collection<?> collection)
-
clear
public void clear()
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOfin interfaceList<List<Writable>>
-
listIterator
public ListIterator<List<Writable>> listIterator(int i)
- Specified by:
listIteratorin interfaceList<List<Writable>>
-
-