class HeaderDetector implements CellDetector<Integer> {

    @Override
    public ValuesWithConfidence<Integer> detect(CellSampler sampler)
    {
        ValuesWithConfidence<Integer> returnValue;
        if (myColumnCount > 1)
        {
            returnValue = detectFromMultipleColumns(sampler);
        }
        else
        {
            returnValue = detectFromSingleColumn(sampler);
        }
        return returnValue;
    }

    public  HeaderDetector(int columnCount);

}