org.org.usurper.utils
Class RandomUtils

java.lang.Object
  extended by org.org.usurper.utils.RandomUtils

public class RandomUtils
extends java.lang.Object

The Class RandomUtils provides a series of simple Random generators.
It is freely and obviously inspired by code from commons-lang.


Method Summary
static java.lang.Boolean nextBoolean()
          Next boolean.
static java.lang.Byte nextByte()
          Next byte.
static java.lang.Character nextCharacter()
          Next character.
static java.util.Date nextDate()
           
static java.lang.Double nextDouble()
           
static java.lang.Integer nextInteger()
           
static java.lang.Long nextLong()
           
static java.lang.Short nextShort()
           
static java.lang.String nextString(java.lang.Integer length)
          Next character.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

nextBoolean

public static java.lang.Boolean nextBoolean()
Next boolean.

Returns:
the boolean

nextByte

public static java.lang.Byte nextByte()
Next byte.

Returns:
the byte

nextInteger

public static java.lang.Integer nextInteger()

nextCharacter

public static java.lang.Character nextCharacter()
Next character.

Returns:
the character

nextString

public static java.lang.String nextString(java.lang.Integer length)
Next character.

Returns:
the character

nextLong

public static java.lang.Long nextLong()

nextDate

public static java.util.Date nextDate()

nextShort

public static java.lang.Short nextShort()

nextDouble

public static java.lang.Double nextDouble()


Copyright © 2008. All Rights Reserved.