-
- All Superinterfaces:
DoubleValued
,FloatValued
,LongValued
,NumericValued
,ScalarTyped
,ScalarValued
,TokenTyped
,TokenValued
- All Known Subinterfaces:
IntInputField
,IntValuedIterator
- All Known Implementing Classes:
IntRegister
,IntToken
,NullToken
public interface IntValued extends LongValued
ATokenValued
object containing an integer value.- See Also:
TokenTypeConstant#INT
-
-
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 int
asInt()
Gets the contained integer value.-
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.LongValued
asLong
-
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
-
asInt
int asInt()
Gets the contained integer value.- Returns:
- the contained value as an
int
. If null valued, as indicated byTokenValued.isNull()
,0
is returned.
-
-