File

packages/java.lang.native.operator/src/jarithmetic.ts

Methods

add
add(expr: P)

Emulate the operator +

Returns: R
sub
sub(expr: P)

Emulate the operator -

Returns: R
mul
mul(expr: P)

Emulate the operator *

Returns: R
div
div(expr: P)

Emulate the operator /

Returns: R
mod
mod(expr: P)

Emulate the operator %

Returns: R
export interface JArithmetic<P, R> {

  /** Emulate the operator + */
  add(expr: P): R;

  /** Emulate the operator - */
  sub(expr: P): R;

  /** Emulate the operator * */
  mul(expr: P): R;

  /** Emulate the operator / */
  div(expr: P): R;

  /** Emulate the operator % */
  mod(expr: P): R;
}

results matching ""

    No results matching ""