-
- All Superinterfaces:
NumericValued
,ScalarTyped
,ScalarValued
,TokenTyped
,TokenValued
- All Known Subinterfaces:
DoubleInputField
,DoubleValuedIterator
,FloatInputField
,FloatValued
,FloatValuedIterator
,IntInputField
,IntValued
,IntValuedIterator
,LongInputField
,LongValued
,LongValuedIterator
,MoneyInputField
,MoneyValued
,MoneyValuedIterator
- All Known Implementing Classes:
DoubleRegister
,DoubleToken
,FloatRegister
,FloatToken
,IntRegister
,IntToken
,LongRegister
,LongToken
,MoneyRegister
,MoneyToken
,NullToken
public interface DoubleValued extends NumericValued
ATokenValued
object containing a double value.- See Also:
TokenTypeConstant#DOUBLE
-
-
Field Summary
-
Fields inherited from interface com.pervasive.datarush.tokens.scalar.NumericValued
MAX_INFINITY, MIN_INFINITY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
asDouble()
Gets the contained double value.-
Methods inherited from interface com.pervasive.datarush.tokens.scalar.NumericValued
asBigDecimal
-
Methods inherited from interface com.pervasive.datarush.tokens.scalar.ScalarValued
getType, isZero
-
Methods inherited from interface com.pervasive.datarush.tokens.TokenValued
isNull
-
-
-
-
Method Detail
-
asDouble
double asDouble()
Gets the contained double value.- Returns:
- the contained value as a
double
. If null valued, as indicated byTokenValued.isNull()
,Double.NaN
is returned.
-
-