Dotted 版本

回報問題 查看來源 Nightly · 8.3 · 8.2 · 8.1 · 8.0 · 7.6

代表含有多個元件的版本的值,以半形句號分隔,例如 1.2.3.4。

成員

compare_to

int DottedVersion.compare_to(other)

根據最重要 (第一個) 不相符的版本元件進行比較。舉例來說,1.2.3 < 1.2.4

參數

參數 說明
other DottedVersion; required
另一個以點分隔的版本。