public final class IntPlusMultSecond extends Object implements IntIntFunction
| Modifier and Type | Field and Description |
|---|---|
int |
multiplicator
Public read/write access to avoid frequent object construction.
|
| Modifier and Type | Method and Description |
|---|---|
int |
apply(int a,
int b)
Returns the result of the function evaluation.
|
static IntPlusMultSecond |
minusMult(int constant)
a - b*constant.
|
static IntPlusMultSecond |
plusMult(int constant)
a + b*constant.
|
public int multiplicator
public final int apply(int a,
int b)
apply in interface IntIntFunctiona - the first argument passed to the function.b - the second argument passed to the function.public static IntPlusMultSecond minusMult(int constant)
public static IntPlusMultSecond plusMult(int constant)
Jump to the Parallel Colt Homepage