IMAGE
- public class UKBenchListDataset<IMAGE> extends ReadableListDataset<IMAGE,org.apache.commons.vfs2.FileObject> implements Identifiable
reader
modCount
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, toIdentifiable
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public UKBenchListDataset(String path, ObjectReader<IMAGE,org.apache.commons.vfs2.FileObject> reader, int object)
path
- reader
- object
- public IMAGE getInstance(int index)
ListDataset
getInstance
in interface ListDataset<IMAGE>
index
- index of the instance to returnpublic int numInstances()
Dataset
numInstances
in interface Dataset<IMAGE>
public String getID()
getID
in interface Identifiable
public int getObject()