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

public abstract Class PrimitiveValueImpl

extends ValueImpl
implements PrimitiveValue
Class Inheritance
All Implemented Interfaces
com.sun.jdi.PrimitiveValue, com.sun.jdi.Value, com.sun.jdi.Mirror
Known Direct Subclasses
com.sun.tools.jdi.BooleanValueImpl, com.sun.tools.jdi.ByteValueImpl, com.sun.tools.jdi.CharValueImpl, com.sun.tools.jdi.DoubleValueImpl, com.sun.tools.jdi.FloatValueImpl, com.sun.tools.jdi.IntegerValueImpl, com.sun.tools.jdi.LongValueImpl, com.sun.tools.jdi.ShortValueImpl
Imports
com.sun.jdi.BooleanValue, .ClassNotLoadedException, .InternalException, .InvalidTypeException, .PrimitiveValue, .VirtualMachine

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public abstract boolean
booleanValue()

Redeclares com.sun.jdi.PrimitiveValue.booleanValue.

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

public abstract byte
byteValue()

Redeclares com.sun.jdi.PrimitiveValue.byteValue.

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

public abstract char
charValue()

Redeclares com.sun.jdi.PrimitiveValue.charValue.

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

pack-priv final boolean
pack-priv byte
pack-priv char
pack-priv final double
pack-priv float
pack-priv int
pack-priv long
pack-priv short
pack-priv ValueImpl
public abstract double
doubleValue()

Redeclares com.sun.jdi.PrimitiveValue.doubleValue.

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

public abstract float
floatValue()

Redeclares com.sun.jdi.PrimitiveValue.floatValue.

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

public abstract int
intValue()

Redeclares com.sun.jdi.PrimitiveValue.intValue.

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

public abstract long
longValue()

Redeclares com.sun.jdi.PrimitiveValue.longValue.

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

pack-priv ValueImpl
public abstract short
shortValue()

Redeclares com.sun.jdi.PrimitiveValue.shortValue.

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

Inherited from com.sun.tools.jdi.ValueImpl:
prepareForAssignmenttypeValueKeytypeValueKey

Constructor Detail

PrimitiveValueImplback to summary
pack-priv PrimitiveValueImpl(VirtualMachine aVm)

Method Detail

booleanValueback to summary
public abstract boolean booleanValue()

Redeclares 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 abstract byte byteValue()

Redeclares 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 abstract char charValue()

Redeclares 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).

checkedBooleanValueback to summary
pack-priv final boolean checkedBooleanValue() throws InvalidTypeException
checkedByteValueback to summary
pack-priv byte checkedByteValue() throws InvalidTypeException
checkedCharValueback to summary
pack-priv char checkedCharValue() throws InvalidTypeException
checkedDoubleValueback to summary
pack-priv final double checkedDoubleValue() throws InvalidTypeException
checkedFloatValueback to summary
pack-priv float checkedFloatValue() throws InvalidTypeException
checkedIntValueback to summary
pack-priv int checkedIntValue() throws InvalidTypeException
checkedLongValueback to summary
pack-priv long checkedLongValue() throws InvalidTypeException
checkedShortValueback to summary
pack-priv short checkedShortValue() throws InvalidTypeException
convertForAssignmentToback to summary
pack-priv ValueImpl convertForAssignmentTo(ValueContainer destination) throws InvalidTypeException
doubleValueback to summary
public abstract double doubleValue()

Redeclares 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.

floatValueback to summary
public abstract float floatValue()

Redeclares 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).

intValueback to summary
public abstract int intValue()

Redeclares 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 abstract long longValue()

Redeclares 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).

prepareForAssignmentToback to summary
pack-priv ValueImpl prepareForAssignmentTo(ValueContainer destination) throws InvalidTypeException

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

shortValueback to summary
public abstract short shortValue()

Redeclares 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).