Class AbstractLiteral.DecimalLiteral

    • Constructor Detail

      • DecimalLiteral

        DecimalLiteral​(java.math.BigDecimal value)
    • Method Detail

      • integerValue

        public java.math.BigInteger integerValue()
        Description copied from interface: Literal
        Returns the integer value of this literal.
        Specified by:
        integerValue in interface Literal
        Overrides:
        integerValue in class AbstractLiteral
        Returns:
        The integer value of the literal.
      • decimalValue

        public java.math.BigDecimal decimalValue()
        Description copied from interface: Literal
        Returns the decimal value of this literal.
        Specified by:
        decimalValue in interface Literal
        Overrides:
        decimalValue in class AbstractLiteral
        Returns:
        The decimal value of the literal.