@Test(expected = X11Exception.class) public void testSetHendersonFilterLengthEvenNumber() { X11Specification expected = new X11Specification(); expected.setHendersonFilterLength(12); }
public void setHendersonFilterLength(int len) { if (len < 0 || len > 101 || (len != 0 && len % 2 == 0)) { throw new X11Exception("Invalid henderson length"); } henderson_ = len; }
X11Specification implements IProcSpecification, Cloneable { public void setHendersonFilterLength(int len) { if (len < 0 || len > 101 || (len != 0 && len % 2 == 0)) { throw new X11Exception("Invalid henderson length"); } henderson_ = len; } }
X11Specification implements IProcSpecification, Cloneable { public void setHendersonFilterLength(int len) { if (len < 0 || len > 101 || (len != 0 && len % 2 == 0)) { throw new X11Exception("Invalid henderson length"); } henderson_ = len; }  }
X11Specification implements IProcSpecification, Cloneable { public void setHendersonFilterLength(int len) { if (len < 0 || len > 101 || (len != 0 && len % 2 == 0)) { throw new X11Exception("Invalid henderson length"); } henderson_ = len; }  static void fillDictionary(String prefix, Map<String, Class> dic); int getForecastHorizon(); int getBackcastHorizon(); int getHendersonFilterLength(); CalendarSigma getCalendarSigma(); SigmavecOption[] getSigmavec(); double getLowerSigma(); double getUpperSigma(); DecompositionMode getMode(); SymmetricFilter getTrendFilter(); SeasonalFilterOption[] getSeasonalFilters(); boolean isSeasonal(); void setSeasonal(boolean seas); boolean isExcludefcst(); void setExcludefcst(boolean excludefcst); boolean isDefault(); boolean isAutoHenderson(); void setForecastHorizon(int forecastsHorizon); void setBackcastHorizon(int backcastsHorizon); void setCalendarSigma(CalendarSigma calendarsigma); void setSigmavec(SigmavecOption[] sigmavec); void setMode(DecompositionMode mode); void setSigma(double lsigma, double usigma); void setLowerSigma(double lsigma); void setUpperSigma(double usigma); void setHendersonFilterLength(int len); void setSeasonalFilters(SeasonalFilterOption[] seasonalFilter); void setSeasonalFilter(SeasonalFilterOption seasonalFilter); BiasCorrection getBiasCorrection(); void setBiasCorrection(BiasCorrection bias); @Override X11Specification clone(); @Override boolean equals(Object obj); @Override int hashCode(); @Override InformationSet write(boolean verbose); @Override boolean read(InformationSet info); }
X11Specification implements IProcSpecification, Cloneable { public void setHendersonFilterLength(int len) { if (len < 0 || len > 101 || (len != 0 && len % 2 == 0)) { throw new X11Exception("Invalid henderson length"); } henderson_ = len; }  static void fillDictionary(String prefix, Map<String, Class> dic); int getForecastHorizon(); int getBackcastHorizon(); int getHendersonFilterLength(); CalendarSigma getCalendarSigma(); SigmavecOption[] getSigmavec(); double getLowerSigma(); double getUpperSigma(); DecompositionMode getMode(); SymmetricFilter getTrendFilter(); SeasonalFilterOption[] getSeasonalFilters(); boolean isSeasonal(); void setSeasonal(boolean seas); boolean isExcludefcst(); void setExcludefcst(boolean excludefcst); boolean isDefault(); boolean isAutoHenderson(); void setForecastHorizon(int forecastsHorizon); void setBackcastHorizon(int backcastsHorizon); void setCalendarSigma(CalendarSigma calendarsigma); void setSigmavec(SigmavecOption[] sigmavec); void setMode(DecompositionMode mode); void setSigma(double lsigma, double usigma); void setLowerSigma(double lsigma); void setUpperSigma(double usigma); void setHendersonFilterLength(int len); void setSeasonalFilters(SeasonalFilterOption[] seasonalFilter); void setSeasonalFilter(SeasonalFilterOption seasonalFilter); BiasCorrection getBiasCorrection(); void setBiasCorrection(BiasCorrection bias); @Override X11Specification clone(); @Override boolean equals(Object obj); @Override int hashCode(); @Override InformationSet write(boolean verbose); @Override boolean read(InformationSet info); static final double DEF_LSIGMA; static final int DEF_FCASTS; static final String MODE; }