DottedVersion
Report an issueopen_in_new
View sourceopen_in_new
Nightly
8.1
·
8.0
·
7.5
·
7.4
·
7.3
·
7.2
A value representing a version with multiple components, separated by periods, such as 1.2.3.4.
Members
compare_to
int DottedVersion.compare_to(other)
Compares based on most significant (first) not-matching version component. So, for example, 1.2.3 < 1.2.4
Parameters
Parameter |
Description |
other
|
DottedVersion;
required
The other dotted version.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-13 UTC.
[null,null,["Last updated 2025-02-13 UTC."],[],[]]