-
- All Superinterfaces:
DoubleValued
,FloatValued
,NumericValued
,ScalarTyped
,ScalarValued
,TokenTyped
,TokenValued
- All Known Subinterfaces:
MoneyInputField
,MoneyValuedIterator
- All Known Implementing Classes:
MoneyRegister
,MoneyToken
,NullToken
public interface MoneyValued extends FloatValued
ATokenValued
object containing a money value.- See Also:
TokenTypeConstant#MONEY
-
-
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 long
asCents()
Gets the contained cents value as a long-
Methods inherited from interface com.pervasive.datarush.tokens.scalar.DoubleValued
asDouble
-
Methods inherited from interface com.pervasive.datarush.tokens.scalar.FloatValued
asFloat
-
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
-
asCents
long asCents()
Gets the contained cents value as a long- Returns:
- the contained cents value as a
long
. If null valued, as indicated byTokenValued.isNull()
,0
is returned.
-
-