TramoSeatsProcessor implements ISaProcessingFactory<TramoSeatsSpecification> { @Override public Map<String, Class> getOutputDictionary(boolean compact) { return TramoSeatsProcessingFactory.instance.getOutputDictionary(compact); } TramoSeatsProcessor(); @Override ISaSpecification createSpecification(InformationSet info); @Override ISaSpecification createSpecification(SaItem doc, TsDomain frozen, EstimationPolicyType policy, boolean nospan); @Override boolean updatePointSpecification(SaItem item); @Override SaDocument<?> createDocument(); @Override List<ISaSpecification> defaultSpecifications(); @Override void dispose(); @Override AlgorithmDescriptor getInformation(); @Override boolean canHandle(IProcSpecification spec); @Override IProcessing<TsData, CompositeResults> generateProcessing(TramoSeatsSpecification specification, ProcessingContext context); @Override Map<String, Class> getSpecificationDictionary(Class<TramoSeatsSpecification> specClass); @Override Map<String, Class> getOutputDictionary(boolean compact); static final AlgorithmDescriptor DESCRIPTOR; }
@Test @Ignore public void testOutputDictionary() { Map<String, Class> dic = new TramoSeatsProcessor().getOutputDictionary(true); dic.forEach((s, c) -> { System.out.print(s); System.out.print('\t'); System.out.println(c.getCanonicalName()); }); System.out.println(""); dic = new TramoSeatsProcessor().getOutputDictionary(false); dic.forEach((s, c) -> { System.out.print(s); System.out.print('\t'); System.out.println(c.getCanonicalName()); }); }