Package com.tableau.hyperapi
Class HyperServiceVersion
- java.lang.Object
-
- com.tableau.hyperapi.HyperServiceVersion
-
public final class HyperServiceVersion extends java.lang.ObjectA Hyper Service version number of the form 'major.minor'.
-
-
Constructor Summary
Constructors Constructor Description HyperServiceVersion(int major, int minor)Constructs a HyperServiceVersion
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object that)Checks two HyperServiceVersions for equality.inthashCode()Computes a hash code.java.lang.StringtoString()Get the string representation of the version number
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Get the string representation of the version number- Overrides:
toStringin classjava.lang.Object- Returns:
- the HyperServiceVersion in the 'major.minor' format
-
equals
public boolean equals(java.lang.Object that)
Checks two HyperServiceVersions for equality.- Overrides:
equalsin classjava.lang.Object- Parameters:
that- The other object.- Returns:
- Whether the two HyperServiceVersions are equal.
-
hashCode
public int hashCode()
Computes a hash code.- Overrides:
hashCodein classjava.lang.Object
-
-