public final class HyperServiceVersion
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
major
The major part of the version number.
|
int |
minor
The minor part of the version number.
|
Constructor and Description |
---|
HyperServiceVersion(int major,
int minor)
Constructs a HyperServiceVersion
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that)
Checks two HyperServiceVersions for equality.
|
int |
hashCode()
Computes a hash code.
|
java.lang.String |
toString()
Get the string representation of the version number
|
public int major
public int minor
public HyperServiceVersion(int major, int minor)
major
- the major part of the versionminor
- the minor part of the versionpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
that
- The other object.public int hashCode()
hashCode
in class java.lang.Object