ELArithmetic.LongDelegate (Apache Tomcat 9.0.117 API Documentation)
Description: declaration: package: org.apache.el.lang, class: ELArithmetic, class: LongDelegate

# Class ELArithmetic.LongDelegate

java.lang.Object
org.apache.el.lang.ELArithmetic
org.apache.el.lang.ELArithmetic.LongDelegate

Enclosing class:
  `ELArithmetic`

public static final class ELArithmetic.LongDelegate extends ELArithmetic

- ## Nested Class Summary

  ### Nested classes/interfaces inherited from class ELArithmetic

  `ELArithmetic.BigDecimalDelegate, ELArithmetic.BigIntegerDelegate, ELArithmetic.DoubleDelegate, ELArithmetic.LongDelegate`

- ## Field Summary

  ### Fields inherited from class ELArithmetic

  `BIGDECIMAL, BIGINTEGER, DOUBLE, LONG`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LongDelegate()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected Number`
  `add(Number num0, Number num1)`
  `protected Number`
  `coerce(Number num)`
  `protected Number`
  `coerce(String str)`
  `protected Number`
  `divide(Number num0, Number num1)`
  `boolean`
  `matches(Object obj0, Object obj1)`
  `protected Number`
  `mod(Number num0, Number num1)`
  `protected Number`
  `multiply(Number num0, Number num1)`
  `protected Number`
  `subtract(Number num0, Number num1)`

  ### Methods inherited from class ELArithmetic

  `add, coerce, divide, isNumber, isNumberType, mod, multiply, subtract`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### LongDelegate

    public LongDelegate()

- ## Method Details

  - ### add

    protected Number add(Number num0, Number num1)
    Specified by:
      `add` in class `ELArithmetic`

  - ### coerce

    protected Number coerce(Number num)
    Specified by:
      `coerce` in class `ELArithmetic`

  - ### coerce

    protected Number coerce(String str)
    Specified by:
      `coerce` in class `ELArithmetic`

  - ### divide

    protected Number divide(Number num0, Number num1)
    Specified by:
      `divide` in class `ELArithmetic`

  - ### mod

    protected Number mod(Number num0, Number num1)
    Specified by:
      `mod` in class `ELArithmetic`

  - ### subtract

    protected Number subtract(Number num0, Number num1)
    Specified by:
      `subtract` in class `ELArithmetic`

  - ### multiply

    protected Number multiply(Number num0, Number num1)
    Specified by:
      `multiply` in class `ELArithmetic`

  - ### matches

    public boolean matches(Object obj0, Object obj1)
    Specified by:
      `matches` in class `ELArithmetic`