numeric method

int numeric(
  1. int max
)

Generate random int.

Implementation

int numeric(int max) {
  Random _rnd = Random();

  return _rnd.nextInt(max);
}