ELArithmetic.LongDelegate (Apache Tomcat 9.0.37 API Documentation)

org.apache.el.lang

## 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 org.apache.el.lang.ELArithmetic

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

  - ### Field Summary

    - ### Fields inherited from class org.apache.el.lang.ELArithmetic

      `BIGDECIMAL, BIGINTEGER, DOUBLE, LONG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LongDelegate()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 org.apache.el.lang.ELArithmetic

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

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### LongDelegate

          public LongDelegate()

  - ### Method Detail

    - #### 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`

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.