org.apache.commons.jexl3.internal.introspection

## Class Uberspect.ArithmeticUberspect

- java.lang.Object
- - org.apache.commons.jexl3.internal.introspection.Uberspect.ArithmeticUberspect

- All Implemented Interfaces:
    JexlArithmetic.Uberspect
  Enclosing class:
    Uberspect

      protected class Uberspect.ArithmeticUberspect
      extends Object
      implements JexlArithmetic.Uberspect

  The concrete uberspect Arithmetic class.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `JexlMethod` | `getOperator(JexlOperator operator, Object... args)` Gets the most specific method for an operator.
    `boolean` | `overloads(JexlOperator operator)` Checks whether this uberspect has overloads for a given operator.

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

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

- - ### Method Detail

    - #### getOperator

          public JexlMethod getOperator(JexlOperator operator,
                               Object... args)

      Description copied from interface: `JexlArithmetic.Uberspect`
      Gets the most specific method for an operator.
      Specified by:
        `getOperator` in interface `JexlArithmetic.Uberspect`
      Parameters:
        `operator` - the operator
        `args` - the arguments
      Returns:
        the most specific method or null if no specific override could be found

    - #### overloads

          public boolean overloads(JexlOperator operator)

      Description copied from interface: `JexlArithmetic.Uberspect`
      Checks whether this uberspect has overloads for a given operator.
      Specified by:
        `overloads` in interface `JexlArithmetic.Uberspect`
      Parameters:
        `operator` - the operator to check
      Returns:
        true if an overload exists, false otherwise

Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.