public class Version extends Object implements Comparable<Version>
Constructor and Description |
---|
Version(int majorVersion,
int minorVersion,
String patchVersion) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Version other) |
boolean |
equals(Object o) |
static Version |
fromString(String versionString) |
int |
getMajorVersion() |
int |
getMinorVersion() |
String |
getPatchVersion() |
int |
hashCode() |
String |
toString() |
public Version(int majorVersion, int minorVersion, String patchVersion)
public int getMajorVersion()
public int getMinorVersion()
public String getPatchVersion()
public int compareTo(Version other)
compareTo
in interface Comparable<Version>
Copyright © 2019. All Rights Reserved.