APIdia Launch Partner
Top Fields Constructors Methods
com.sun.tools.jdi

public Class BooleanValueImpl

extends PrimitiveValueImpl
implements BooleanValue
Class Inheritance
All Implemented Interfaces
com.sun.jdi.BooleanValue, com.sun.jdi.PrimitiveValue, com.sun.jdi.Value, com.sun.jdi.Mirror
Imports
com.sun.jdi.BooleanValue, .Type, .VirtualMachine

Field Summary

Modifier and TypeField and Description
private boolean

Constructor Summary

AccessConstructor and Description
pack-priv
BooleanValueImpl(VirtualMachine aVm, boolean aValue)

Method Summary

Modifier and TypeMethod and Description
public boolean
booleanValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.booleanValue.

Implements com.sun.jdi.PrimitiveValue.booleanValue.

Converts this value to a BooleanValue and returns the result as a boolean.

public byte
byteValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.byteValue.

Implements com.sun.jdi.PrimitiveValue.byteValue.

Converts this value to a ByteValue and returns the result as a byte.

public char
charValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.charValue.

Implements com.sun.jdi.PrimitiveValue.charValue.

Converts this value to a CharValue and returns the result as a char.

public double
doubleValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.doubleValue.

Implements com.sun.jdi.PrimitiveValue.doubleValue.

Converts this value to a DoubleValue and returns the result as a double.

public boolean
equals(Object obj)

Overrides com.sun.tools.jdi.MirrorImpl.equals.

Implements com.sun.jdi.BooleanValue.equals.

Compares the specified Object with this BooleanValue for equality.

public float
floatValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.floatValue.

Implements com.sun.jdi.PrimitiveValue.floatValue.

Converts this value to a FloatValue and returns the result as a float.

public int
hashCode()

Overrides com.sun.tools.jdi.MirrorImpl.hashCode.

Implements com.sun.jdi.BooleanValue.hashCode.

Returns the hash code value for this BooleanValue.

public int
intValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.intValue.

Implements com.sun.jdi.PrimitiveValue.intValue.

Converts this value to an IntegerValue and returns the result as an int.

public long
longValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.longValue.

Implements com.sun.jdi.PrimitiveValue.longValue.

Converts this value to a LongValue and returns the result as a long.

public short
shortValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.shortValue.

Implements com.sun.jdi.PrimitiveValue.shortValue.

Converts this value to a ShortValue and returns the result as a short.

public String
toString()

Overrides java.lang.Object.toString.

Implements com.sun.jdi.Mirror.toString.

Returns a String describing this mirror

public Type
type()

Implements com.sun.jdi.Value.type.

Returns the run-time type of this value.

pack-priv byte
public boolean
value()

Implements com.sun.jdi.BooleanValue.value.

Returns this BooleanValue as a boolean.

Inherited from com.sun.tools.jdi.PrimitiveValueImpl:
checkedBooleanValuecheckedByteValuecheckedCharValuecheckedDoubleValuecheckedFloatValuecheckedIntValuecheckedLongValuecheckedShortValueconvertForAssignmentToprepareForAssignmentTo

Field Detail

valueback to summary
private boolean value

Constructor Detail

BooleanValueImplback to summary
pack-priv BooleanValueImpl(VirtualMachine aVm, boolean aValue)

Method Detail

booleanValueback to summary
public boolean booleanValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.booleanValue.

Implements com.sun.jdi.PrimitiveValue.booleanValue.

Doc from com.sun.jdi.PrimitiveValue.booleanValue.

Converts this value to a BooleanValue and returns the result as a boolean.

byteValueback to summary
public byte byteValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.byteValue.

Implements com.sun.jdi.PrimitiveValue.byteValue.

Doc from com.sun.jdi.PrimitiveValue.byteValue.

Converts this value to a ByteValue and returns the result as a byte. The value will be narrowed as necessary, and magnitude or precision information may be lost (as if the primitive had been cast to a byte).

charValueback to summary
public char charValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.charValue.

Implements com.sun.jdi.PrimitiveValue.charValue.

Doc from com.sun.jdi.PrimitiveValue.charValue.

Converts this value to a CharValue and returns the result as a char. The value will be narrowed or widened as necessary, and magnitude or precision information may be lost (as if the primitive had been cast to a char, in the narrowing case).

doubleValueback to summary
public double doubleValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.doubleValue.

Implements com.sun.jdi.PrimitiveValue.doubleValue.

Doc from com.sun.jdi.PrimitiveValue.doubleValue.

Converts this value to a DoubleValue and returns the result as a double. The value will be widened as necessary, and precision information may be lost.

equalsback to summary
public boolean equals(Object obj)

Overrides com.sun.tools.jdi.MirrorImpl.equals.

Implements com.sun.jdi.BooleanValue.equals.

Doc from com.sun.jdi.BooleanValue.equals.

Compares the specified Object with this BooleanValue for equality.

floatValueback to summary
public float floatValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.floatValue.

Implements com.sun.jdi.PrimitiveValue.floatValue.

Doc from com.sun.jdi.PrimitiveValue.floatValue.

Converts this value to a FloatValue and returns the result as a float. The value will be narrowed or widened as necessary, and magnitude or precision information may be lost (as if the primitive had been cast to a float, in the narrowing case).

hashCodeback to summary
public int hashCode()

Overrides com.sun.tools.jdi.MirrorImpl.hashCode.

Implements com.sun.jdi.BooleanValue.hashCode.

Doc from com.sun.jdi.BooleanValue.hashCode.

Returns the hash code value for this BooleanValue.

intValueback to summary
public int intValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.intValue.

Implements com.sun.jdi.PrimitiveValue.intValue.

Doc from com.sun.jdi.PrimitiveValue.intValue.

Converts this value to an IntegerValue and returns the result as an int. The value will be narrowed or widened as necessary, and magnitude or precision information may be lost (as if the primitive had been cast to an int, in the narrowing case).

longValueback to summary
public long longValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.longValue.

Implements com.sun.jdi.PrimitiveValue.longValue.

Doc from com.sun.jdi.PrimitiveValue.longValue.

Converts this value to a LongValue and returns the result as a long. The value will be narrowed or widened as necessary, and magnitude or precision information may be lost (as if the primitive had been cast to a long, in the narrowing case).

shortValueback to summary
public short shortValue()

Implements abstract com.sun.tools.jdi.PrimitiveValueImpl.shortValue.

Implements com.sun.jdi.PrimitiveValue.shortValue.

Doc from com.sun.jdi.PrimitiveValue.shortValue.

Converts this value to a ShortValue and returns the result as a short. The value will be narrowed or widened as necessary, and magnitude or precision information may be lost (as if the primitive had been cast to a short, in the narrowing case).

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Implements com.sun.jdi.Mirror.toString.

Doc from com.sun.jdi.Mirror.toString.

Returns a String describing this mirror

typeback to summary
public Type type()

Implements com.sun.jdi.Value.type.

Doc from com.sun.jdi.Value.type.

Returns the run-time type of this value.

typeValueKeyback to summary
pack-priv byte typeValueKey()

Implements abstract com.sun.tools.jdi.ValueImpl.typeValueKey.

valueback to summary
public boolean value()

Implements com.sun.jdi.BooleanValue.value.

Doc from com.sun.jdi.BooleanValue.value.

Returns this BooleanValue as a boolean.