| <html devsite> | |
| <head> | |
| <meta name="project_path" value="/_project.yaml"> | |
| <meta name="book_path" value="/versions/6.4.0/_book.yaml"> | |
| </head> | |
| <body> | |
| <h1 class="page-title" id="modules.DottedVersion">DottedVersion</h1> | |
| <!-- {% raw %} --> | |
| A value representing a version with multiple components, separated by periods, such as 1.2.3.4. | |
| <h2>Members</h2> | |
| <ul> | |
| <li> | |
| <a href="#compare_to">compare_to</a> | |
| </li> | |
| </ul> | |
| <h2 id="compare_to">compare_to</h2> | |
| <p><pre class="rule-signature"><a class="anchor" href="int.html">int</a> DottedVersion.compare_to(other)</pre></p> | |
| Compares based on most significant (first) not-matching version component. So, for example, 1.2.3 < 1.2.4 | |
| <!-- hide-from-toc is a class used by DevSite for the public Bazel site | |
| (https://developers.google.com/devsite/reference/styles/headings#hide_headings_from_the_toc) --> | |
| <h3 class="hide-from-toc">Parameters</h3> | |
| <table class="table table-bordered table-condensed table-params"> | |
| <colgroup> | |
| <col class="col-param"> | |
| <col class="param-description"> | |
| </colgroup> | |
| <thead> | |
| <tr> | |
| <th>Parameter</th> | |
| <th>Description</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| <tr> | |
| <td id="compare_to.other"> | |
| <code>other</code> | |
| </td> | |
| <td> | |
| required<br/> | |
| The other dotted version. | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </body> | |
| </html> | |
| <!-- {% endraw %} --> |