org.tigris.subversion.javahl.Version.getMinor()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(2.8k)|赞(0)|评价(0)|浏览(89)

本文整理了Java中org.tigris.subversion.javahl.Version.getMinor()方法的一些代码示例,展示了Version.getMinor()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Version.getMinor()方法的具体详情如下:
包路径:org.tigris.subversion.javahl.Version
类名称:Version
方法名:getMinor

Version.getMinor介绍

暂无

代码示例

代码示例来源:origin: org.tigris.subversion/svn-javahl-api

/**
 * @return The full version string for the loaded JavaHL library,
 * as defined by <code>MAJOR.MINOR.PATCH INFO</code>.
 * @since 1.4.0
 */
public String toString()
{
  StringBuffer version = new StringBuffer();
  version.append(getMajor())
    .append('.').append(getMinor())
    .append('.').append(getPatch())
    .append(getNumberTag())
    .append(getTag());
  return version.toString();
}

代码示例来源:origin: com.svnkit/com.springsource.org.tigris.subversion.javahl

/**
 * @return The full version string for the loaded JavaHL library,
 * as defined by <code>MAJOR.MINOR.PATCH INFO</code>.
 * @since 1.4.0
 */
public String toString()
{
  StringBuffer version = new StringBuffer();
  version.append(getMajor())
    .append('.').append(getMinor())
    .append('.').append(getPatch())
    .append(getNumberTag())
    .append(getTag());
  return version.toString();
}

代码示例来源:origin: org.codehaus.jtstand/jtstand-svn-core

/**
 * @return The full version string for the loaded JavaHL library,
 * as defined by <code>MAJOR.MINOR.PATCH INFO</code>.
 * @since 1.4.0
 */
public String toString()
{
  StringBuffer version = new StringBuffer();
  version.append(getMajor())
    .append('.').append(getMinor())
    .append('.').append(getPatch())
    .append(getNumberTag())
    .append(getTag());
  return version.toString();
}

代码示例来源:origin: com.svnkit/com.springsource.org.tigris.subversion.javahl

/**
 * @return Whether the JavaHL native library version is at least
 * of <code>major.minor.patch</code> level.
 * @since 1.5.0
 */
public boolean isAtLeast(int major, int minor, int patch)
{
  int actualMajor = getMajor();
  int actualMinor = getMinor();
  return ((major < actualMajor)
      || (major == actualMajor && minor < actualMinor)
      || (major == actualMajor && minor == actualMinor &&
        patch <= getPatch()));
}

代码示例来源:origin: org.codehaus.jtstand/jtstand-svn-core

/**
 * @return Whether the JavaHL native library version is at least
 * of <code>major.minor.patch</code> level.
 * @since 1.5.0
 */
public boolean isAtLeast(int major, int minor, int patch)
{
  int actualMajor = getMajor();
  int actualMinor = getMinor();
  return ((major < actualMajor)
      || (major == actualMajor && minor < actualMinor)
      || (major == actualMajor && minor == actualMinor &&
        patch <= getPatch()));
}

代码示例来源:origin: org.tigris.subversion/svn-javahl-api

/**
 * @return Whether the JavaHL native library version is at least
 * of <code>major.minor.patch</code> level.
 * @since 1.5.0
 */
public boolean isAtLeast(int major, int minor, int patch)
{
  int actualMajor = getMajor();
  int actualMinor = getMinor();
  return ((major < actualMajor)
      || (major == actualMajor && minor < actualMinor)
      || (major == actualMajor && minor == actualMinor &&
        patch <= getPatch()));
}

相关文章