public class RandomUtil extends Object
Constructor and Description |
---|
RandomUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
randomBoolean() |
static ActiveMQBuffer |
randomBuffer(int size,
long... data) |
static byte |
randomByte() |
static byte[] |
randomBytes() |
static byte[] |
randomBytes(int length) |
static char |
randomChar() |
static double |
randomDouble() |
static float |
randomFloat() |
static int |
randomInt() |
static int |
randomInterval(int min,
int max) |
static long |
randomLong() |
static int |
randomMax(int max) |
static int |
randomPort() |
static int |
randomPositiveInt() |
static long |
randomPositiveLong() |
static short |
randomShort() |
static SimpleString |
randomSimpleString() |
static String |
randomString() |
protected static final Random random
public static String randomString()
public static SimpleString randomSimpleString()
public static char randomChar()
public static long randomLong()
public static long randomPositiveLong()
public static int randomInt()
public static int randomPositiveInt()
public static ActiveMQBuffer randomBuffer(int size, long... data)
public static int randomInterval(int min, int max)
public static int randomMax(int max)
public static int randomPort()
public static short randomShort()
public static byte randomByte()
public static boolean randomBoolean()
public static byte[] randomBytes()
public static byte[] randomBytes(int length)
public static double randomDouble()
public static float randomFloat()
Copyright © 2016 JBoss by Red Hat. All rights reserved.