fr.jussieu.gla.wasa.monitor.gui.test
Class CyclicRandomInt

java.lang.Object
  |
  +--java.util.Random
        |
        +--fr.jussieu.gla.wasa.monitor.gui.test.CyclicRandomInt
All Implemented Interfaces:
java.io.Serializable

public class CyclicRandomInt
extends java.util.Random

Generates ints out of a given sequence.

Version:
$Revision: 1.2 $ $Date: 2002/04/10 17:24:01 $
Author:
Laurent Caillette
See Also:
Serialized Form

Constructor Summary
CyclicRandomInt(int[] values)
           
 
Method Summary
 int nextInt()
           
 double randomDouble()
           
 
Methods inherited from class java.util.Random
next, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextLong, setSeed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CyclicRandomInt

public CyclicRandomInt(int[] values)
Method Detail

randomDouble

public double randomDouble()

nextInt

public int nextInt()
Overrides:
nextInt in class java.util.Random