FreeHEP API
Version current

org.freehep.postscript
Class PSRandom

java.lang.Object
  extended byjava.util.Random
      extended byorg.freehep.postscript.PSRandom
All Implemented Interfaces:
Serializable

public class PSRandom
extends Random

Random class with integer seed

Version:
$Id: PSRandom.java,v 1.1 2001/06/04 07:23:55 duns Exp $
Author:
Mark Donszelmann
See Also:
Serialized Form
Source Code:
PSRandom.java

Constructor Summary
PSRandom()
           
PSRandom(int seed)
           
 
Method Summary
 int getSeed()
           
protected  int next(int bits)
           
 void setSeed(int seed)
           
 
Methods inherited from class java.util.Random
nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSRandom

public PSRandom()

PSRandom

public PSRandom(int seed)
Method Detail

setSeed

public void setSeed(int seed)

next

protected int next(int bits)

getSeed

public int getSeed()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.