本文整理了Java中org.tigris.subversion.javahl.Version.getMajor()
方法的一些代码示例,展示了Version.getMajor()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Version.getMajor()
方法的具体详情如下:
包路径:org.tigris.subversion.javahl.Version
类名称:Version
方法名:getMajor
暂无
代码示例来源: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()));
}
内容来源于网络,如有侵权,请联系作者删除!