public int compareTo(String version) {long gen = Long.parseLong(version, RADIX);long commitGen = commit.getGeneration();return commitGen < gen ? -1 : (commitGen > gen ? 1 : 0);}
public virtual int CompareTo(string version){long gen = long.Parse(version, NumberStyles.HexNumber);long commitGen = commit.Generation;return commitGen < gen ? -1 : (commitGen > gen ? 1 : 0);}