Package com.macrofocus.treemap.voronoi
Class PrecomputedRandom
- java.lang.Object
-
- com.macrofocus.treemap.voronoi.PrecomputedRandom
-
- All Implemented Interfaces:
VoronoiRandom
public class PrecomputedRandom extends java.lang.Object implements VoronoiRandom
-
-
Constructor Summary
Constructors Constructor Description PrecomputedRandom(int seed, int nValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
nextDouble()
void
reset()
-
-
-
Method Detail
-
nextDouble
public double nextDouble()
- Specified by:
nextDouble
in interfaceVoronoiRandom
-
reset
public void reset()
- Specified by:
reset
in interfaceVoronoiRandom
-
-