public final class Version extends Object
This class is Thread-Safe.
Modifier and Type | Field and Description |
---|---|
static Version |
DEFAULT
Create the default version (1.0.0).
|
Modifier and Type | Method and Description |
---|---|
static Version |
create(int major,
int minor,
int micro)
Create a new version descriptor.
|
boolean |
equals(Object object) |
int |
getMajor()
Get the major number of the version.
|
int |
getMicro()
Get the micro number of the version.
|
int |
getMinor()
Get the minor number of the version.
|
int |
hashCode() |
String |
toString() |
public static final Version DEFAULT
public static Version create(int major, int minor, int micro)
major
- The major version.minor
- The minor version.micro
- The micro version.public int getMajor()
public int getMinor()
public int getMicro()
Copyright © 2017 Byron 3D Games Studio. All rights reserved.