@Test(expected = IllegalArgumentException.class) public void testForecast_nullMetricData() { val forecaster = new PewmaPointForecaster(); forecaster.forecast(null); }
@Override public PointForecast forecast(MetricData metricData) { notNull(metricData, "metricData can't be null"); val observed = metricData.getValue(); updateEstimates(observed); return new PointForecast(mean, false); }
PewmaPointForecaster implements PointForecaster { @Override public PointForecast forecast(MetricData metricData) { notNull(metricData, "metricData can't be null"); val observed = metricData.getValue(); updateEstimates(observed); return new PointForecast(mean, false); } }
PewmaPointForecaster implements PointForecaster { @Override public PointForecast forecast(MetricData metricData) { notNull(metricData, "metricData can't be null"); val observed = metricData.getValue(); updateEstimates(observed); return new PointForecast(mean, false); } PewmaPointForecaster();  PewmaPointForecaster(PewmaPointForecasterParams params); }
PewmaPointForecaster implements PointForecaster { @Override public PointForecast forecast(MetricData metricData) { notNull(metricData, "metricData can't be null"); val observed = metricData.getValue(); updateEstimates(observed); return new PointForecast(mean, false); } PewmaPointForecaster();  PewmaPointForecaster(PewmaPointForecasterParams params); @Override PointForecast forecast(MetricData metricData); }
PewmaPointForecaster implements PointForecaster { @Override public PointForecast forecast(MetricData metricData) { notNull(metricData, "metricData can't be null"); val observed = metricData.getValue(); updateEstimates(observed); return new PointForecast(mean, false); } PewmaPointForecaster();  PewmaPointForecaster(PewmaPointForecasterParams params); @Override PointForecast forecast(MetricData metricData);  }