public final class SpecificationVersion extends Object implements Comparable
Constructor and Description |
---|
SpecificationVersion(String version)
Parse from string.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o)
Perform a Dewey-decimal comparison.
|
boolean |
equals(Object o)
Overridden to compare contents.
|
int |
hashCode()
Overridden to hash by contents.
|
String |
toString()
String representation (Dewey-decimal).
|
public SpecificationVersion(String version) throws NumberFormatException
NumberFormatException
public int compareTo(Object o)
compareTo
in interface Comparable
public boolean equals(Object o)