Module jdk.jdi
Package com.sun.jdi

Interface ShortValue

    • Method Detail

      • value

        short value​()
        Returns this ShortValue as a short.
        Returns:
        the short mirrored by this object.
      • equals

        boolean equals​(Object obj)
        Compares the specified Object with this ShortValue for equality.
        Overrides:
        equals in class Object
        Parameters:
        obj - the reference object with which to compare.
        Returns:
        true if the Object is a ShortValue and if applying "==" to the two mirrored primitives would evaluate to true; false otherwise.
        See Also:
        Object.hashCode(), HashMap