Mercurial > hg > jslab
view src/samer/units/GenerateDouble.java @ 5:b67a33c44de7
Remove some crap, etc
author | samer |
---|---|
date | Fri, 05 Apr 2019 21:34:25 +0100 |
parents | bf79fb79ee13 |
children |
line wrap: on
line source
package samer.units; import samer.core.types.*; import samer.tools.*; import samer.maths.*; public class GenerateDouble extends AnonymousTask { Generator gen; DoubleModel dbl; public GenerateDouble(DoubleModel out, Generator g) { dbl=out; gen=g; } public DoubleModel output() { return dbl; } public void setGenerator(Generator g) { gen=g; } public void run() { dbl.set(gen.next()); } }