|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.wbem.query.ValueExp | +--com.sun.wbem.query.NumericValue
This class represents numbers that are arguments to SQL relational
constraints. A NumericValue
may be used anywhere
a ValueExp
is required.
Constructor Summary | |
NumericValue()
Constructs a NumericValue corresponding to 0. |
|
NumericValue(java.lang.Number val)
Creates a new NumericValue representing the numeric
literal val. |
Method Summary | |
double |
doubleValue()
Returns the double value associated with this value. |
boolean |
isReal()
Check if the value is a real. |
boolean |
isSint()
Check if the value is a signed int. |
boolean |
isUint()
Check if the value is an unsigned int. |
long |
longValue()
Returns the long value associated with this value. |
java.lang.String |
toString()
Returns a string representing the numeric value. |
UnsignedInt64 |
uint64Value()
Returns the UnsignedInt64 value associated with this value. |
Methods inherited from class com.sun.wbem.query.ValueExp |
apply |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public NumericValue(java.lang.Number val)
NumericValue
representing the numeric
literal val.public NumericValue()
Method Detail |
public double doubleValue()
public long longValue()
public UnsignedInt64 uint64Value()
public boolean isUint()
public boolean isSint()
public boolean isReal()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |