Package com.thortech.xl.util.adapters
Class tcUtilNumberOperations
java.lang.Object
com.thortech.xl.util.adapters.tcUtilNumberOperations
This class that has basic number operations utility methods. Author: Solomon
Niyazov January 10, 2002.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Integer
getRandomNumber
(int piMax) method that returns random number.static Integer
getRandomNumber
(Integer poMax) method that returns random number.
-
Method Details
-
getRandomNumber
method that returns random number.- Parameters:
poMax
- poMax specifies the maximum range (starting from 0).- Returns:
- Integer randomNumber.
- Throws:
Exception
-
getRandomNumber
method that returns random number.- Parameters:
piMax
- piMax specifies the maximum range (starting from 0).- Returns:
- Integer randomNumber.
- Throws:
Exception
-