Interface Arithmetic<A,R>

Type Parameters:
A - the type of the absolute value
R - the type of the relative value
All Known Implementing Classes:
NumberArithmetic, VectorArithmethic

@Deprecated public interface Arithmetic<A,R>
Deprecated.
Represents arithmetic for certain two types. Multiplication, division and power of methods are optional and may throw UnsupportedOperationExceptions.
  • Method Summary

    Modifier and Type
    Method
    Description
    add(A value, R difference)
    Deprecated.
     
    difference(A first, A second)
    Deprecated.
     
    divide(A value, R divider)
    Deprecated.
     
    multiply(A value, R multiplier)
    Deprecated.
     
    power(A value, R exponent)
    Deprecated.
     
    subtract(A value, R difference)
    Deprecated.
     
  • Method Details

    • difference

      R difference(A first, A second)
      Deprecated.
    • add

      A add(A value, R difference)
      Deprecated.
    • subtract

      A subtract(A value, R difference)
      Deprecated.
    • multiply

      A multiply(A value, R multiplier)
      Deprecated.
    • divide

      A divide(A value, R divider)
      Deprecated.
    • power

      A power(A value, R exponent)
      Deprecated.