class DoubleEnumerationUnit extends Object implements Comparable<DoubleEnumerationUnit>
Modifier and Type | Field and Description |
---|---|
(package private) int |
index
index of the corresponding file/directory
|
(package private) double |
value
double value to be used in sorting
|
Constructor and Description |
---|
DoubleEnumerationUnit(int index,
double value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DoubleEnumerationUnit o)
compare this object to the specified object
|
boolean |
equals(Object o)
indicate if this object is equal to the specified object
|
int |
hashCode()
return a hash code value for this object
|
int index
double value
DoubleEnumerationUnit(int index, double value)
index
- Index of the corresponding file/directoryval
- Double value to be used in sorting.public int compareTo(DoubleEnumerationUnit o)
compareTo
in interface Comparable<DoubleEnumerationUnit>
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses