APIdia Launch Partner
Top Description Methods
com.sun.jdi

public Interface IntegerValue

extends PrimitiveValue, Comparable<IntegerValue>
Known Direct Implementers
com.sun.tools.jdi.IntegerValueImpl

Provides access to a primitive int value in the target VM.
Authors
Robert Field, Gordon Hirsch, James McIlree
Since
1.3

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the Object is an IntegerValue and if applying "==" to the two mirrored primitives would evaluate to true; false otherwise.
equals
(Object obj)

Compares the specified Object with this IntegerValue for equality.

public int

Returns:

the integer hash code
hashCode
()

Returns the hash code value for this IntegerValue.

public int

Returns:

the int mirrored by this object.
value
()

Returns this IntegerValue as an int.

Inherited from com.sun.jdi.PrimitiveValue:
booleanValuebyteValuecharValuedoubleValuefloatValueintValuelongValueshortValue
Inherited from java.lang.Comparable:
compareTo

Method Detail

equalsback to summary
public boolean equals(Object obj)

Compares the specified Object with this IntegerValue for equality.

Returns:boolean

true if the Object is an IntegerValue and if applying "==" to the two mirrored primitives would evaluate to true; false otherwise.

hashCodeback to summary
public int hashCode()

Returns the hash code value for this IntegerValue.

Returns:int

the integer hash code

valueback to summary
public int value()

Returns this IntegerValue as an int.

Returns:int

the int mirrored by this object.