
org.mydotey.quantile.classic.ClassicQuantileEstimatorConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quantile-estimator Show documentation
Show all versions of quantile-estimator Show documentation
quantile algorithms' implementations for stream data
The newest version!
package org.mydotey.quantile.classic;
import java.util.Comparator;
import java.util.Objects;
import org.mydotey.quantile.value.Calculator;
/**
* @author koqizhao
*
* Apr 1, 2018
*/
public class ClassicQuantileEstimatorConfig {
private Comparator _comparator;
private Calculator _calculator;
public ClassicQuantileEstimatorConfig(Comparator comparator, Calculator calculator) {
Objects.requireNonNull(comparator, "comparator is null");
Objects.requireNonNull(calculator, "calculator is null");
_comparator = comparator;
_calculator = calculator;
}
public Comparator getComparator() {
return _comparator;
}
public Calculator getCalculator() {
return _calculator;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy