19 package org.sleuthkit.datamodel;
28 private final int major;
29 private final int minor;
30 private final int patch;
32 public VersionNumber(
int majorVersion,
int minorVersion,
int patchVersion) {
52 return major +
"." + minor +
"." + patch;
62 if (minorCompare != 0) {
73 hash = 97 * hash + this.major;
74 hash = 97 * hash + this.minor;
75 hash = 97 * hash + this.patch;
87 if (getClass() != obj.getClass()) {
91 return this.major == other.
getMajor()
int compareTo(VersionNumber vs)
boolean equals(Object obj)
VersionNumber(int majorVersion, int minorVersion, int patchVersion)