IMAGE - public class UKBenchListDataset<IMAGE> extends ReadableListDataset<IMAGE,org.apache.commons.vfs2.FileObject> implements Identifiable
readermodCount| Constructor and Description |
|---|
UKBenchListDataset(String path,
ObjectReader<IMAGE,org.apache.commons.vfs2.FileObject> reader,
int object) |
| Modifier and Type | Method and Description |
|---|---|
String |
getID() |
IMAGE |
getInstance(int index)
Returns the instance at the specified position in this dataset.
|
int |
getObject() |
int |
numInstances()
Returns the number of instances in this dataset.
|
get, getID, getRandomInstance, indexOfID, size, toIdentifiableadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitequalsadd, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streampublic UKBenchListDataset(String path, ObjectReader<IMAGE,org.apache.commons.vfs2.FileObject> reader, int object)
path - reader - object - public IMAGE getInstance(int index)
ListDatasetgetInstance in interface ListDataset<IMAGE>index - index of the instance to returnpublic int numInstances()
DatasetnumInstances in interface Dataset<IMAGE>public String getID()
getID in interface Identifiablepublic int getObject()