class StringEnumerationUnit extends Object implements Comparable<StringEnumerationUnit>
Modifier and Type | Field and Description |
---|---|
(package private) int |
index
index of the corresponding file/directory
|
(package private) String |
value
String to be used in sorting
|
Constructor and Description |
---|
StringEnumerationUnit(int index,
String value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(StringEnumerationUnit 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
StringEnumerationUnit(int index, String value)
index
- Index of the corresponding file/directoryval
- String to be used in sorting.public int compareTo(StringEnumerationUnit o)
compareTo
in interface Comparable<StringEnumerationUnit>
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses