java.lang.Comparable
public class Version
extends java.lang.Object
implements java.lang.Comparable
For comparison, only A, B and C parts are considered. If C is missing, it is considered equal to zero. For equality, the original version string is used.
Note: this class has a natural ordering that is inconsistent with equals.
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(java.lang.Object o) |
|
boolean |
equals(java.lang.Object o) |
|
int |
hashCode() |
Copyright ? 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.