Constructor and Description |
---|
GPUdbVersion(int major,
int minor,
int revision,
int abiVersion) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getAbiVersion()
Gets the ABI version (fourth) component of the version.
|
int |
getMajor()
Gets the major (first) component of the version.
|
int |
getMinor()
Gets the minor (second) component of the version.
|
int |
getRevision()
Gets the revision (third) component of the version.
|
boolean |
isEqualTo(int major,
int minor,
int revision,
int abiVersion)
Given all four components of a version, check if this version
object is to the given one.
|
boolean |
isNewerThan(int major,
int minor,
int revision,
int abiVersion)
Given all four components of a version, check if this version
object is newer than the given one (not equal to).
|
boolean |
isOlderThan(int major,
int minor,
int revision,
int abiVersion)
Given all four components of a version, check if this version
object is older than the given one (not equal to).
|
String |
toString() |
public GPUdbVersion(int major, int minor, int revision, int abiVersion)
public int getMajor()
public int getMinor()
public int getRevision()
public int getAbiVersion()
public boolean isNewerThan(int major, int minor, int revision, int abiVersion)
public boolean isOlderThan(int major, int minor, int revision, int abiVersion)
public boolean isEqualTo(int major, int minor, int revision, int abiVersion)
Copyright © 2024. All rights reserved.