Class Random

java.lang.Object
io.github.darvil.utils.Random

public final class Random extends Object
  • Method Details

    • randInt

      public static int randInt(int min, int max)
      Returns a random integer between min and max. First inclusive, last exclusive. [min, max)
    • randInt

      public static int randInt(int max)
      Returns a random integer between 0 and max. First inclusive, last exclusive. [0, max)