public void printRange() { System.out.println("********************************************************************"); System.out.println("* SEQUENZA UNIFORMEMENTE DISTRIBUITA IN (30, 50) *"); System.out.println("********************************************************************"); System.out.println(); System.out.println("a: " + this.getA()); System.out.println("seed: " + this.getSeed1()); System.out.println("b: " + this.getB()); System.out.println("min: " + this.getMin()); System.out.println("max: " + this.getMax()); System.out.println(); List<Double> l = Utils.generaIntervallo( this.getA(), this.getSeed1(), this.getB(), this.getMin(), this.getMax()); printSequence(l); System.out.println(); }
public List<Double> generaIntervallo() { return Utils.generaIntervallo( this.getA(), this.getSeed1(), this.getB(), this.getMin(), this.getMax()); }