Class MathUtils

java.lang.Object
de.studiocode.invui.util.MathUtils

public class MathUtils extends Object
  • Field Details

    • RANDOM

      public static final Random 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.