|
static int | sum (Collection< Integer > values) |
|
static int | min (int a, int b) |
|
static int | max (int a, int b) |
|
static int | constrain (int n, int minN, int maxN) |
|
static int rabbitescape.engine.util.MathUtil.constrain |
( |
int |
n, |
|
|
int |
minN, |
|
|
int |
maxN |
|
) |
| |
|
static |
Return the value of n if it is between minN and maxN, otherwise return whichever limit is nearer. The behaviour is undefined if minN is greater than maxN.
static int rabbitescape.engine.util.MathUtil.max |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
static |
static int rabbitescape.engine.util.MathUtil.min |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
static |
static int rabbitescape.engine.util.MathUtil.sum |
( |
Collection< Integer > |
values | ) |
|
|
static |
The documentation for this class was generated from the following file: