MCPcopy Create free account
hub / github.com/PCGen/pcgen / compareVersionTo

Method compareVersionTo

code/src/java/pcgen/io/PCGVer2Parser.java:5610–5613  ·  view source on GitHub ↗

Compare the PCG version with a supplied version number @param inVer The version to compare with the PCG version. Must have at least 3 elements. @return the value 0 if the PCG version is equal to the supplied version; a value less than 0 if the PCG version is less than the supplied version; and a val

(int[] inVer)

Source from the content-addressed store, hash-verified

5608 * and a value greater than 0 if the PCG version is greater than the supplied version.
5609 */
5610 int compareVersionTo(int[] inVer)
5611 {
5612 return CoreUtility.compareVersions(pcgenVersion, inVer);
5613 }
5614
5615 /**
5616 * Returns any extra version info after the regular version number.

Callers 3

testCompareVersionToMethod · 0.95
parseFeatPoolLineMethod · 0.95

Calls 1

compareVersionsMethod · 0.95

Tested by 1

testCompareVersionToMethod · 0.76