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
NumberFormatExceptionpublic int compareTo(Object o)
compareTo in interface Comparablepublic boolean equals(Object o)
Built on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.