public class Version extends Object
| Constructor and Description |
|---|
Version() |
Version(int major,
int minor,
int patch) |
Version(String versionsstring) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Version versionzwei)
Nimmt ein Objekt vom Typ Version an und vergleicht ihn mit sich selbst
|
int |
getMajor() |
int |
getMinor() |
int |
getPatch() |
void |
setMajor(int major) |
void |
setMinor(int minor) |
void |
setPatch(int patch) |
int |
toNumber()
Gibt die Version als gewichtete Zahl zurück.
|
String |
toString()
Gibt die Version als String zurück
|
public Version(int major,
int minor,
int patch)
public Version(String versionsstring)
public Version()
public int getMajor()
public void setMajor(int major)
public int getMinor()
public void setMinor(int minor)
public int getPatch()
public void setPatch(int patch)
public int toNumber()
public String toString()
public int compare(Version versionzwei)
versionzwei - Versionsobjekt welches zum vergleich rangezogen werden sollCopyright © 2020. All rights reserved.