Class NumericResultNode

    • Field Detail

      • classId

        public static final int classId
    • Constructor Detail

      • NumericResultNode

        public NumericResultNode()
    • Method Detail

      • multiply

        public abstract void multiply​(ResultNode rhs)
        In-place multiplication of this result with another.
        Parameters:
        rhs - The result to multiply with this.
      • divide

        public abstract void divide​(ResultNode rhs)
        In-place division of this result with another.
        Parameters:
        rhs - The result to divide this by.
      • modulo

        public abstract void modulo​(ResultNode rhs)
        In-place modulo of this result with another.
        Parameters:
        rhs - The result to modulo this with.
      • getNumber

        public abstract Object getNumber()
        Return a java numeric, either Double or Long, depending on the underlying container.
        Returns:
        The underlying numeric value.
      • getValue

        public Object getValue()
        Description copied from class: SingleResultNode
        Return a java native, either String, Double or Long, depending on the underlying container.
        Specified by:
        getValue in class SingleResultNode
        Returns:
        The underlying numeric value.