com.tapina.robe.swi.clib.stdlib
Class RandomState

java.lang.Object
  extended byjava.lang.ThreadLocal
      extended bycom.tapina.robe.swi.clib.stdlib.RandomState

public class RandomState
extends java.lang.ThreadLocal

This holds a thread-specific random number generator.


Constructor Summary
RandomState()
           
 
Method Summary
 java.util.Random getRandom()
           
protected  java.lang.Object initialValue()
           
 
Methods inherited from class java.lang.ThreadLocal
get, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomState

public RandomState()
Method Detail

getRandom

public java.util.Random getRandom()

initialValue

protected java.lang.Object initialValue()


Copyright © 2003-2005 . All Rights Reserved.