class SeparatorAnalyzer implements Consumer<Separator> {

    @Override
    public void accept(Separator separator) {
        separator.setScore(computeEntropy(separator));
        CSVFastHeaderAndTypeAnalyzer csvFastHeaderAndTypeAnalyzer =
                new CSVFastHeaderAndTypeAnalyzer(sampleLines, separator);
        csvFastHeaderAndTypeAnalyzer.analyze();
        separator.setFirstLineAHeader(csvFastHeaderAndTypeAnalyzer.isFirstLineAHeader());
        separator.setHeaderInfoReliable(csvFastHeaderAndTypeAnalyzer.isHeaderInfoReliable());
        separator.setHeaders(csvFastHeaderAndTypeAnalyzer.getHeaders());
    }

    public  SeparatorAnalyzer(int numberOfLines, List<String> sampleLines);

}