-
Method Summary
boolean
Compares the specified Object with this ShortValue for equality.
int
Returns the hash code value for this ShortValue.
short
Returns this ShortValue as a short.
Methods declared in interface com.sun.jdi.Value
type
-
Method Details
-
value
short value()
Returns this ShortValue as a short.
- Returns:
- the
short mirrored by this object.
-
equals
Compares the specified Object with this ShortValue for equality.
- Overrides:
equals in class Object
- Parameters:
obj - Object
the object to compare with this object.
- Returns:
- true if the Object is a ShortValue and if applying "=="
to the two mirrored primitives would evaluate to true; false
otherwise.
- See Also:
-
-
hashCode
int hashCode()
Returns the hash code value for this ShortValue.
- Overrides:
hashCode in class Object
- Returns:
- the integer hash code
- See Also:
-