@Override public double[] sample(){
  double length=maximum - minimum;
  return new double[]{sampler.nextFloat() * length + minimum};
}

@ Override public double [ ] sample ( ) { double length = maximum - minimum ; return new double [ ] { sampler . nextFloat ( ) * length + minimum } ; }
samples the density function
