Package: org.codehaus.groovy.runtime.typehandling

## [Java] Class IntegerMath

- org.codehaus.groovy.runtime.typehandling.IntegerMath

-     public final class IntegerMath
      extends NumberMath

  Integer NumberMath operations

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static IntegerMath` | `INSTANCE` |

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public Number` | `absImpl(Number number)`
    `` | `public Number` | `addImpl(Number left, Number right)`
    `` | `public Number` | `andImpl(Number left, Number right)`
    `` | `public Number` | `bitwiseNegateImpl(Number left)`
    `` | `public int` | `compareToImpl(Number left, Number right)`
    `` | `public Number` | `divideImpl(Number left, Number right)`
    `` | `public Number` | `intdivImpl(Number left, Number right)`
    `` | `public Number` | `leftShiftImpl(Number left, Number right)`
    `` | `public Number` | `modImpl(Number left, Number right)`
    `` | `public Number` | `multiplyImpl(Number left, Number right)`
    `` | `public Number` | `orImpl(Number left, Number right)`
    `` | `public Number` | `remainderImpl(Number left, Number right)`
    `` | `public Number` | `rightShiftImpl(Number left, Number right)`
    `` | `public Number` | `rightShiftUnsignedImpl(Number left, Number right)`
    `` | `public Number` | `subtractImpl(Number left, Number right)`
    `` | `public Number` | `unaryMinusImpl(Number left)`
    `` | `public Number` | `unaryPlusImpl(Number left)`
    `` | `public Number` | `xorImpl(Number left, Number right)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class NumberMath` | `abs, absImpl, add, addImpl, and, andImpl, bitwiseNegate, bitwiseNegateImpl, compareTo, compareToImpl, createUnsupportedException, divide, divideImpl, getMath, intdiv, intdivImpl, isBigDecimal, isBigInteger, isByte, isFloatingPoint, isInteger, isLong, isShort, leftShift, leftShiftImpl, mod, modImpl, multiply, multiplyImpl, or, orImpl, remainder, remainderImpl, rightShift, rightShiftImpl, rightShiftUnsigned, rightShiftUnsignedImpl, subtract, subtractImpl, toBigDecimal, toBigInteger, unaryMinus, unaryMinusImpl, unaryPlus, unaryPlusImpl, xor, xorImpl`

- - ### Field Detail

    - #### public static final IntegerMath INSTANCE

  - ### Method Detail

    - #### @Override
      public Number absImpl(Number number)

    - #### @Override
      public Number addImpl(Number left, Number right)

    - #### @Override
      public Number andImpl(Number left, Number right)

    - #### @Override
      public Number bitwiseNegateImpl(Number left)

    - #### @Override
      public int compareToImpl(Number left, Number right)

    - #### @Override
      public Number divideImpl(Number left, Number right)

    - #### @Override
      public Number intdivImpl(Number left, Number right)

    - #### @Override
      public Number leftShiftImpl(Number left, Number right)

    - #### @Override
      public Number modImpl(Number left, Number right)

    - #### @Override
      public Number multiplyImpl(Number left, Number right)

    - #### @Override
      public Number orImpl(Number left, Number right)

    - #### @Override
      public Number remainderImpl(Number left, Number right)

    - #### @Override
      public Number rightShiftImpl(Number left, Number right)

    - #### @Override
      public Number rightShiftUnsignedImpl(Number left, Number right)

    - #### @Override
      public Number subtractImpl(Number left, Number right)

    - #### @Override
      public Number unaryMinusImpl(Number left)

    - #### @Override
      public Number unaryPlusImpl(Number left)

    - #### @Override
      public Number xorImpl(Number left, Number right)