public final class IntPlusMultFirst 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 IntPlusMultFirst | 
minusMult(int constant)
a - b*constant. 
 | 
static IntPlusMultFirst | 
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 IntPlusMultFirst minusMult(int constant)
public static IntPlusMultFirst plusMult(int constant)
Jump to the Parallel Colt Homepage