- All Superinterfaces:
ScalarTyped,ScalarValued,TokenTyped,TokenValued
- All Known Subinterfaces:
DoubleInputField,DoubleValued,DoubleValuedIterator,FloatInputField,FloatValued,FloatValuedIterator,IntInputField,IntValued,IntValuedIterator,LongInputField,LongValued,LongValuedIterator,MoneyInputField,MoneyValued,MoneyValuedIterator,NumericInputField,NumericValuedIterator
- All Known Implementing Classes:
DoubleRegister,DoubleToken,FloatRegister,FloatToken,IntRegister,IntToken,LongRegister,LongToken,MoneyRegister,MoneyToken,NullToken,NumericRegister,NumericToken
A
TokenValued object containing a numeric value.- See Also:
-
TokenTypeConstant#NUMERIC
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BigDecimalThe value representing positive infinity.static final BigDecimalThe value representing negative infinity. -
Method Summary
Methods inherited from interface com.pervasive.datarush.tokens.scalar.ScalarValued
getType, isZeroMethods inherited from interface com.pervasive.datarush.tokens.TokenValued
isNull
-
Field Details
-
MAX_INFINITY
The value representing positive infinity. -
MIN_INFINITY
The value representing negative infinity.
-
-
Method Details
-
asBigDecimal
BigDecimal asBigDecimal()Gets the contained numeric value.- Returns:
- the contained value as a
java.math.BigDecimal. If null valued, as indicated byTokenValued.isNull(),nullis returned.
-