-
- All Superinterfaces:
DoubleValued,NumericValued,ScalarTyped,ScalarValued,TokenTyped,TokenValued
- All Known Subinterfaces:
FloatInputField,FloatValuedIterator,IntInputField,IntValued,IntValuedIterator,LongInputField,LongValued,LongValuedIterator,MoneyInputField,MoneyValued,MoneyValuedIterator
- All Known Implementing Classes:
FloatRegister,FloatToken,IntRegister,IntToken,LongRegister,LongToken,MoneyRegister,MoneyToken,NullToken
public interface FloatValued extends DoubleValued
ATokenValuedobject containing a float value.- See Also:
TokenTypeConstant#FLOAT
-
-
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 floatasFloat()Gets the contained float value.-
Methods inherited from interface com.pervasive.datarush.tokens.scalar.DoubleValued
asDouble
-
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
-
asFloat
float asFloat()
Gets the contained float value.- Returns:
- the contained value as a
float. If null valued, as indicated byTokenValued.isNull(),Float.NaNis returned.
-
-