public interface

IntegerValue

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

Class Overview

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

Summary

Public Methods
abstract boolean equals(Object obj)
Compares the specified Object with this IntegerValue for equality.
abstract int hashCode()
Returns the hash code value for this IntegerValue.
abstract int value()
Returns this IntegerValue as an int.
[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 IntegerValue for equality.

Parameters
obj the reference object with which to compare.
Returns
  • true if the Object is an IntegerValue 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 IntegerValue.

Returns
  • the integer hash code

public abstract int value ()

Returns this IntegerValue as an int.

Returns
  • the int mirrored by this object.