public double min(){
  int size=values.size();
  double min=Double.MAX_VALUE;
  for (int i=0; i < size; i++)   min=Math.min(min,values.get(i));
  return min;
}

public double min ( ) { int size = values . size ( ) ; double min = Double . MAX_VALUE ; for ( int i = 0 ; i < size ; i ++ ) min = Math . min ( min , values . get ( i ) ) ; return min ; }
returns the minimum value of all samples .
