Class HyperServiceVersion

java.lang.Object
com.tableau.hyperapi.HyperServiceVersion

public final class HyperServiceVersion extends Object
A Hyper Service version number of the form 'major.minor'.
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    int
    The major part of the version number.
    int
    The minor part of the version number.
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    HyperServiceVersion(int major, int minor)
    Constructs a HyperServiceVersion
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    boolean
    equals(Object that)
    Checks two HyperServiceVersions for equality.
    int
    Computes a hash code.
    Get the string representation of the version number

    Methods inherited from class java.lang.Object Link icon

    getClass, notify, notifyAll, wait, wait, wait
  • Field Details Link icon

    • major Link icon

      public int major
      The major part of the version number.
    • minor Link icon

      public int minor
      The minor part of the version number.
  • Constructor Details Link icon

    • HyperServiceVersion Link icon

      public HyperServiceVersion(int major, int minor)
      Constructs a HyperServiceVersion
      Parameters:
      major - the major part of the version
      minor - the minor part of the version
  • Method Details Link icon

    • toString Link icon

      public String toString()
      Get the string representation of the version number
      Overrides:
      toString in class Object
      Returns:
      the HyperServiceVersion in the 'major.minor' format
    • equals Link icon

      public boolean equals(Object that)
      Checks two HyperServiceVersions for equality.
      Overrides:
      equals in class Object
      Parameters:
      that - The other object.
      Returns:
      Whether the two HyperServiceVersions are equal.
    • hashCode Link icon

      public int hashCode()
      Computes a hash code.
      Overrides:
      hashCode in class Object