public interface

ShortValue

implements PrimitiveValue Comparable<T>
com.sun.jdi.ShortValue
Known Indirect Subclasses

Class Overview

Provides access to a primitive short value in the target VM.

Summary

Public Methods
abstract boolean equals(Object obj)
Compares the specified Object with this ShortValue for equality.
abstract int hashCode()
Returns the hash code value for this ShortValue.
abstract short value()
Returns this ShortValue as a short.
[Expand]
Inherited Methods
From interface com.sun.jdi.Mirror
From interface com.sun.jdi.PrimitiveValue
From interface com.sun.jdi.Value
From interface java.lang.Comparable

Public Methods

public abstract boolean equals (Object obj)

Compares the specified Object with this ShortValue for equality.

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.

public abstract int hashCode ()

Returns the hash code value for this ShortValue.

Returns
  • the integer hash code

public abstract short value ()

Returns this ShortValue as a short.

Returns
  • the short mirrored by this object.