public class SimpleVersion extends Object implements Comparable<SimpleVersion>
Constructor and Description |
---|
SimpleVersion(String version) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SimpleVersion o) |
boolean |
equals(Object o) |
int |
getMajor() |
int |
getMinor() |
int |
hashCode() |
String |
toString() |
public SimpleVersion(String version)
public int getMajor()
public int getMinor()
public int compareTo(SimpleVersion o)
compareTo
in interface Comparable<SimpleVersion>
Copyright © 2023 The Apache Software Foundation. All rights reserved.