StmProcessingFactory extends GenericSaProcessingFactory implements IProcessingFactory<StmSpecification, TsData, CompositeResults> { public static CompositeResults process(TsData s, StmSpecification xspec) { SequentialProcessing<TsData> processing = create(xspec, null); return processing.process(s); } protected  StmProcessingFactory(); static CompositeResults process(TsData s, StmSpecification xspec); @Override SequentialProcessing<TsData> generateProcessing(StmSpecification xspec, ProcessingContext context); SequentialProcessing<TsData> generateProcessing(StmSpecification xspec); @Override AlgorithmDescriptor getInformation(); @Override void dispose(); @Override boolean canHandle(IProcSpecification spec); @Override Map<String, Class> getSpecificationDictionary(Class<StmSpecification> specClass); @Override Map<String, Class> getOutputDictionary(boolean compact); static final AlgorithmDescriptor DESCRIPTOR; static final String ESTIMATION; static final StmProcessingFactory instance; }
@Test @Ignore public void demoProcessing() { StmSpecification spec=new StmSpecification(); CompositeResults stm = StmProcessingFactory.process(data.Data.P, spec); TsDataTable table=new TsDataTable(); table.insert(-1, stm.getData("y", TsData.class)); table.insert(-1, stm.getData("sa", TsData.class)); table.insert(-1, stm.getData("t", TsData.class)); table.insert(-1, stm.getData("s", TsData.class)); table.insert(-1, stm.getData("i", TsData.class)); System.out.println(table); }