Util
Class MyRandom

java.lang.Object
  |
  +--Util.MyRandom

public class MyRandom
extends java.lang.Object

A static-wrapper for random number generation


Field Summary
(package private) static java.util.Random random
           
 
Constructor Summary
MyRandom()
           
 
Method Summary
static java.util.Random getRandom()
          Returns the static random instance
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

random

static java.util.Random random
Constructor Detail

MyRandom

public MyRandom()
Method Detail

getRandom

public static final java.util.Random getRandom()
Returns the static random instance
Returns:
the static random instance