Package org.codehaus.groovy.vmplugin.v7

# Class IndyMath

java.lang.Object
org.codehaus.groovy.vmplugin.v7.IndyMath

    @Deprecated
    public class IndyMath
    extends Object

Deprecated.
This class contains math operations used by indy instead of the normal meta method and call site caching system. The goal is to avoid boxing, thus use primitive types for parameters and return types where possible. WARNING: This class is for internal use only. Do not use it outside of the org.codehaus.groovy.vmplugin.v7 package of groovy-core.

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `IndyMath()` | Deprecated.

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `static int` | `and​(int a, int b)` | Deprecated.
  `static long` | `and​(long a, long b)` | Deprecated.
  `static boolean` | `chooseMathMethod​(Selector info, MetaMethod metaMethod)` | Deprecated. Choose a method to replace the originally chosen metaMethod to have a more efficient call path.
  `static double` | `div​(double a, double b)` | Deprecated.
  `static int` | `leftShift​(int a, int b)` | Deprecated.
  `static long` | `leftShift​(long a, long b)` | Deprecated.
  `static double` | `minus​(double a, double b)` | Deprecated.
  `static int` | `minus​(int a, int b)` | Deprecated.
  `static long` | `minus​(long a, long b)` | Deprecated.
  `static int` | `mod​(int a, int b)` | Deprecated.
  `static long` | `mod​(long a, long b)` | Deprecated.
  `static double` | `multiply​(double a, double b)` | Deprecated.
  `static int` | `multiply​(int a, int b)` | Deprecated.
  `static long` | `multiply​(long a, long b)` | Deprecated.
  `static double` | `next​(double d)` | Deprecated.
  `static int` | `next​(int i)` | Deprecated.
  `static long` | `next​(long l)` | Deprecated.
  `static int` | `or​(int a, int b)` | Deprecated.
  `static long` | `or​(long a, long b)` | Deprecated.
  `static double` | `plus​(double a, double b)` | Deprecated.
  `static int` | `plus​(int a, int b)` | Deprecated.
  `static long` | `plus​(long a, long b)` | Deprecated.
  `static double` | `previous​(double d)` | Deprecated.
  `static int` | `previous​(int i)` | Deprecated.
  `static long` | `previous​(long l)` | Deprecated.
  `static int` | `rightShift​(int a, int b)` | Deprecated.
  `static long` | `rightShift​(long a, long b)` | Deprecated.
  `static int` | `xor​(int a, int b)` | Deprecated.
  `static long` | `xor​(long a, long b)` | Deprecated.

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

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

- ## Constructor Details

  - ### IndyMath

    public IndyMath()
    Deprecated.

- ## Method Details

  - ### chooseMathMethod

    public static boolean chooseMathMethod​(Selector info, MetaMethod metaMethod)
    Deprecated.
    Choose a method to replace the originally chosen metaMethod to have a more efficient call path.

  - ### plus

    public static int plus​(int a, int b)
    Deprecated.

  - ### minus

    public static int minus​(int a, int b)
    Deprecated.

  - ### multiply

    public static int multiply​(int a, int b)
    Deprecated.

  - ### mod

    public static int mod​(int a, int b)
    Deprecated.

  - ### or

    public static int or​(int a, int b)
    Deprecated.

  - ### xor

    public static int xor​(int a, int b)
    Deprecated.

  - ### and

    public static int and​(int a, int b)
    Deprecated.

  - ### leftShift

    public static int leftShift​(int a, int b)
    Deprecated.

  - ### rightShift

    public static int rightShift​(int a, int b)
    Deprecated.

  - ### plus

    public static long plus​(long a, long b)
    Deprecated.

  - ### minus

    public static long minus​(long a, long b)
    Deprecated.

  - ### multiply

    public static long multiply​(long a, long b)
    Deprecated.

  - ### mod

    public static long mod​(long a, long b)
    Deprecated.

  - ### or

    public static long or​(long a, long b)
    Deprecated.

  - ### xor

    public static long xor​(long a, long b)
    Deprecated.

  - ### and

    public static long and​(long a, long b)
    Deprecated.

  - ### leftShift

    public static long leftShift​(long a, long b)
    Deprecated.

  - ### rightShift

    public static long rightShift​(long a, long b)
    Deprecated.

  - ### plus

    public static double plus​(double a, double b)
    Deprecated.

  - ### minus

    public static double minus​(double a, double b)
    Deprecated.

  - ### multiply

    public static double multiply​(double a, double b)
    Deprecated.

  - ### div

    public static double div​(double a, double b)
    Deprecated.

  - ### next

    public static int next​(int i)
    Deprecated.

  - ### next

    public static long next​(long l)
    Deprecated.

  - ### next

    public static double next​(double d)
    Deprecated.

  - ### previous

    public static int previous​(int i)
    Deprecated.

  - ### previous

    public static long previous​(long l)
    Deprecated.

  - ### previous

    public static double previous​(double d)
    Deprecated.