jlibs.core.util
Class RandomUtil

java.lang.Object
  extended by jlibs.core.util.RandomUtil

public class RandomUtil
extends Object

Author:
Santhosh Kumar T

Constructor Summary
RandomUtil()
           
 
Method Summary
static byte random(byte min, byte max)
           
static double random(double min, double max)
           
static float random(float min, float max)
           
static int random(int min, int max)
           
static long random(long min, long max)
           
static short random(short min, short max)
           
static boolean randomBoolean()
           
static boolean randomBoolean(Boolean bool)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomUtil

public RandomUtil()
Method Detail

random

public static double random(double min,
                            double max)

random

public static float random(float min,
                           float max)

random

public static long random(long min,
                          long max)

random

public static int random(int min,
                         int max)

random

public static short random(short min,
                           short max)

random

public static byte random(byte min,
                          byte max)

randomBoolean

public static boolean randomBoolean()

randomBoolean

public static boolean randomBoolean(Boolean bool)


Copyright © 2018. All rights reserved.