public interface NumberValue extends PrimitiveValue
Number
value with-respect-to JavaScript debugging.Value
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INFINITY
Represents the value for positive infinity
|
static java.lang.String |
NAN
Represents the value for 'Not A Number'
|
static java.lang.String |
NEG_INFINITY
Represents the value for negative infinity
|
Modifier and Type | Method and Description |
---|---|
boolean |
isNaN()
Returns if the this
NumberValue is a valid number or not. |
java.lang.Number |
value()
Returns the underlying
Number value for this value. |
booleanValue, doubleValue, intValue, stringValue
valueString
virtualMachine
static final java.lang.String NAN
static final java.lang.String NEG_INFINITY
static final java.lang.String INFINITY
java.lang.Number value()
Number
value for this value.null
if its value is not a number.Number
valueNAN
,
NEG_INFINITY
,
INFINITY
boolean isNaN()
NumberValue
is a valid number or not.NAN
,
NEG_INFINITY
,
INFINITY
Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.