|
Data Request Broker 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Numeric
Standard numeric values : from boolean to double. All operators are supported : arithmetic, comparison and logic.
| Field Summary |
|---|
| Fields inherited from interface fr.gael.drb.value.Value |
|---|
ARRAY_ID, BINARY_ID, BINARY_INTEGER_ID, BOOLEAN_ID, BYTE_ID, DATE_ID, DATE_TIME_ID, DAY_ID, DAY_TIME_DURATION_ID, DECIMAL_ID, DOUBLE_ID, DURATION_ID, FLOAT_ID, INT_ID, INTEGER_ID, LONG_ID, MONTH_DAY_ID, MONTH_ID, NULL_ID, NUMERIC_ID, OTHER_ID, SHORT_ID, STRING_ID, TIME_ID, UNKNOWN_ID, UNSIGNED_BYTE_ID, UNSIGNED_INT_ID, UNSIGNED_LONG_ID, UNSIGNED_SHORT_ID, YEAR_ID, YEAR_MONTH_DURATION_ID, YEAR_MONTH_ID |
| Fields inherited from interface fr.gael.drb.DrbItem |
|---|
ATTRIBUTE_ITEM, NODE_ITEM, UNDEFINED_ITEM, VALUE_ITEM |
| Method Summary | |
|---|---|
void |
assign(boolean v)
Assign a boolean value. |
void |
assign(byte v)
Assign a byte value. |
void |
assign(double v)
Assign a double value. |
void |
assign(float v)
Assign a float value. |
void |
assign(int v)
Assign an int value. |
void |
assign(long v)
Assign a long value. |
void |
assign(short v)
Assign short value. |
byte |
byteValue()
Returns this value as a byte (signed 8 bits). |
double |
doubleValue()
Returns this value as a double (signed 64 bits IEEE 754). |
float |
floatValue()
Returns this value as a float (signed 32 bits IEEE 754). |
int |
intValue()
Returns this value as an integer (signed 32 bits). |
long |
longValue()
Returns this value as a long integer (signed 64 bits). |
short |
shortValue()
Returns this value as a short integer (signed 16 bits). |
| Methods inherited from interface fr.gael.drb.value.Value |
|---|
assign, convertTo, getPriority, getType |
| Methods inherited from interface fr.gael.drb.DrbItem |
|---|
getItemType, getName, getNamespaceURI, getValue, rename, setNamespaceURI, setValue |
| Methods inherited from interface fr.gael.drb.value.Arithmetic |
|---|
divide, modulus, multiply, sub, unaryMinus |
| Methods inherited from interface fr.gael.drb.value.Sumable |
|---|
add |
| Methods inherited from interface fr.gael.drb.value.Logic |
|---|
and, booleanValue, or |
| Methods inherited from interface fr.gael.drb.value.Comparison |
|---|
compareTo |
| Method Detail |
|---|
byte byteValue()
short shortValue()
int intValue()
long longValue()
float floatValue()
double doubleValue()
void assign(boolean v)
v - another value.void assign(byte v)
v - another value. The conversion may result in a loss of precision.void assign(int v)
v - another value. The conversion may result in a loss of precision.void assign(long v)
v - another value. The conversion may result in a loss of precision.void assign(short v)
v - another value. The conversion may result in a loss of precision.void assign(float v)
v - another value. The conversion may result in a loss of precision.void assign(double v)
v - another value. The conversion may result in a loss of precision.
|
Data Request Broker - DRB API® 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||