|
Java Debug Interface | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrimitiveValue
The value assigned to a field or variable of primitive type in a target VM. Each primitive values is accessed through a subinterface of this interface.
Method Summary | |
---|---|
boolean |
booleanValue()
Converts this value to a BooleanValue and returns the result as a boolean. |
byte |
byteValue()
Converts this value to a ByteValue and returns the result as a byte. |
char |
charValue()
Converts this value to a CharValue and returns the result as a char. |
double |
doubleValue()
Converts this value to a DoubleValue and returns the result as a double. |
float |
floatValue()
Converts this value to a FloatValue and returns the result as a float. |
int |
intValue()
Converts this value to an IntegerValue and returns the result as an int. |
long |
longValue()
Converts this value to a LongValue and returns the result as a long. |
short |
shortValue()
Converts this value to a ShortValue and returns the result as a short. |
Methods inherited from interface com.sun.jdi.Value |
---|
type |
Methods inherited from interface com.sun.jdi.Mirror |
---|
toString, virtualMachine |
Method Detail |
---|
boolean booleanValue()
true
if this value is non-zero (or
true
if already a BooleanValue); false otherwise.byte byteValue()
char charValue()
short shortValue()
int intValue()
long longValue()
float floatValue()
double doubleValue()
|
Java Debug Interface | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |