Comparable
public final class SpecificationVersion extends Object implements Comparable
Constructor | Description |
---|---|
SpecificationVersion(String version) |
Parse from string.
|
Modifier and Type | Method | 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)
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.