Package de.studiocode.invui.util
Class MathUtils
java.lang.Object
de.studiocode.invui.util.MathUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intrandInt(int min, int max) Generates a pseudorandom number between min and max.
-
Field Details
-
RANDOM
-
-
Constructor Details
-
MathUtils
public MathUtils()
-
-
Method Details
-
randInt
public static int randInt(int min, int max) Generates a pseudorandom number between min and max.- Parameters:
min- The lower bound (inclusive)max- The upper bound (exclusive)- Returns:
- A pseudorandom number between min and max.
-