public class ImageDataset
extends java.lang.Object
Constructor and Description |
---|
ImageDataset()
Empty constructor for XML encoding
|
ImageDataset(java.lang.String name,
java.util.List imageDescriptors)
Construct a new ImageDatset with the specified name
and a list of image descriptors.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Check to see if this ImageDataset is equal to the object
in question.
|
java.lang.String |
getDatasetName()
Get the name of this dataset.
|
java.util.List |
getImageDescriptors()
Get the descriptors (locations) of the images
in this dataset.
|
int |
getNumImages()
Get the number of images in the dataset.
|
int |
hashCode()
Get the hashcode for this object
|
void |
setDatasetName(java.lang.String name)
Set the name of this dataset.
|
void |
setImageDescriptors(java.util.List d)
Set the descriptors (locations) of the images
in this dataset.
|
java.lang.String |
toString()
Return a String representation of this object.
|
public ImageDataset()
public ImageDataset(java.lang.String name, java.util.List imageDescriptors)
name
- what is your name?imageDescriptors
- a List of decriptors to locate
the images. These could be filenames,
URLS (ADDE or otherwise)public java.lang.String getDatasetName()
public void setDatasetName(java.lang.String name)
name
- name for this datasetpublic java.util.List getImageDescriptors()
public void setImageDescriptors(java.util.List d)
d
- the list of descriptorspublic int getNumImages()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- object in questionpublic int hashCode()
hashCode
in class java.lang.Object