public class tcUtilNumberOperations
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.Integer |
getRandomNumber(int piMax)
method that returns random number.
|
static java.lang.Integer |
getRandomNumber(java.lang.Integer poMax)
method that returns random number.
|
public static java.lang.Integer getRandomNumber(java.lang.Integer poMax) throws java.lang.Exception
poMax
- poMax specifies the maximum range (starting from 0).java.lang.Exception
public static java.lang.Integer getRandomNumber(int piMax) throws java.lang.Exception
piMax
- piMax specifies the maximum range (starting from 0).java.lang.Exception