public GeneralAndersonDarlingTest(List<Double> data,RealDistribution dist){
  if (dist == null) {
    throw new NullPointerException();
  }
  this.dist=dist;
  Collections.sort(data);
  this.data=data;
  runTest();
}

public GeneralAndersonDarlingTest ( List < Double > data , RealDistribution dist ) { if ( dist == null ) { throw new NullPointerException ( ) ; } this . dist = dist ; Collections . sort ( data ) ; this . data = data ; runTest ( ) ; }
constructs an anderson - darling test for the given column of data .
