Member predicate Location::Version::compareTo

Compares two versions and returns

  • 0 if this version equals other. Note that 4.0 and 4.0.0.0 are considered to be equal.
  • -1 if this version is before other
  • 1 if this version is after other
int compareTo(Version other)