@Override public void doWork() throws OperatorException {
  List<PerformanceVector> allVectors=performanceExtender.getData(PerformanceVector.class);
  if (allVectors.size() < getMinSize()) {
    throw new UserError(this,123,PerformanceVector.class,getMinSize() + "");
  }
  if (allVectors.size() > getMaxSize()) {
    throw new UserError(this,124,PerformanceVector.class,getMaxSize() + "");
  }
  PerformanceVector[] allVectorsArray=new PerformanceVector[allVectors.size()];
  allVectors.toArray(allVectorsArray);
  SignificanceTestResult result=performSignificanceTest(allVectorsArray,getParameterAsDouble(PARAMETER_ALPHA));
  performanceExtender.passDataThrough();
  significanceOutput.deliver(result);
}

@ Override public void doWork ( ) throws OperatorException { List < PerformanceVector > allVectors = performanceExtender . getData ( PerformanceVector . class ) ; if ( allVectors . size ( ) < getMinSize ( ) ) { throw new UserError ( this , 123 , PerformanceVector . class , getMinSize ( ) + "" ) ; } if ( allVectors . size ( ) > getMaxSize ( ) ) { throw new UserError ( this , 124 , PerformanceVector . class , getMaxSize ( ) + "" ) ; } PerformanceVector [ ] allVectorsArray = new PerformanceVector [ allVectors . size ( ) ] ; allVectors . toArray ( allVectorsArray ) ; SignificanceTestResult result = performSignificanceTest ( allVectorsArray , getParameterAsDouble ( PARAMETER_ALPHA ) ) ; performanceExtender . passDataThrough ( ) ; significanceOutput . deliver ( result ) ; }
writes the attribute set to a file .
