Interface IntValued

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
A TokenValued 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

    Modifier and Type
    Method
    Description
    int
    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 Details

    • asInt

      int asInt()
      Gets the contained integer value.
      Returns:
      the contained value as an int. If null valued, as indicated by TokenValued.isNull(), 0 is returned.