コード例 #1
0
ファイル: OSInfo.java プロジェクト: susotajuraj/jdk8u-jdk
    public int compareTo(WindowsVersion o) {
      int result = major - o.getMajor();

      if (result == 0) {
        result = minor - o.getMinor();
      }

      return result;
    }