Class RandomShortFactory

java.lang.Object
io.github.astrapi69.random.number.RandomShortFactory

public final class RandomShortFactory extends Object
Utility class for producing random primitive short types
  • Method Details

    • randomShort

      public static short randomShort(SecureRandom secureRandom)
      Returns a random short
      Parameters:
      secureRandom - the secure random for short generation
      Returns:
      The generated random short
    • randomShort

      public static short randomShort()
      Returns a random short
      Returns:
      The generated random short