Version
Overview
Version is a class in Aspose.3D FOSS for Java.
Inherits from: Serializable, Cloneable.
Version.Version(major:int, minor:int) creates a version with specified major and minor numbers.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
major | int | Read | Property holds the major version number |
minor | int | Read | |
build | int | Read | Property holds the build number of the version |
Methods
| Signature | Description |
|---|---|
Version(major: int, minor: int) | Parses the string to set major, minor, and optional build |
Version(versionString: String) | |
Version(major: int, minor: int, build: int) | |
getMajor() → int | Returns the major component of the version |
getMinor() → int | Returns the minor component of the version |
getBuild() → int | Returns the build component of the version |
equals(obj: Object) → boolean | Checks if the given object represents the same version |
hashCode() → int | Returns a hash code based on major, minor, and build values |
toString() → String | Returns the version formatted as a string |
clone() → Version | Creates a copy of this Version instance |