class HoltWintersSeasonalEstimatesValidator {

    public void validate(double[] initSeasonalEstimates, int frequency, HoltWintersSeasonalityType seasonalityType) {
        checkNotNull(initSeasonalEstimates);
        if (initSeasonalEstimates.length <= 0) return;
        checkLength(initSeasonalEstimates, frequency);
        checkSumOfEstimates(initSeasonalEstimates, frequency, seasonalityType);
    }

}