APIdia Launch Partner
Top Description Methods
com.sun.jdi

public Interface BooleanValue

extends PrimitiveValue
Known Direct Implementers
com.sun.tools.jdi.BooleanValueImpl

Provides access to a primitive boolean 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 a BooleanValue and if applying "==" to the two mirrored primitives would evaluate to true; false otherwise.
equals
(Object obj)

Compares the specified Object with this BooleanValue for equality.

public int

Returns:

the integer hash code
hashCode
()

Returns the hash code value for this BooleanValue.

public boolean

Returns:

the boolean mirrored by this object.
value
()

Returns this BooleanValue as a boolean.

Inherited from com.sun.jdi.PrimitiveValue:
booleanValuebyteValuecharValuedoubleValuefloatValueintValuelongValueshortValue

Method Detail

equalsback to summary
public boolean equals(Object obj)

Compares the specified Object with this BooleanValue for equality.

Returns:boolean

true if the Object is a BooleanValue 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 BooleanValue.

Returns:int

the integer hash code

valueback to summary
public boolean value()

Returns this BooleanValue as a boolean.

Returns:boolean

the boolean mirrored by this object.