class LatitudeFormatter extends BaseLocationFormatter {

    @Override
    public String getFormat(List<String> values)
    {
        LatitudeCellSampler sampler = new LatitudeCellSampler(values);
        LocationDetector detector = new LocationDetector(myRegistry);

        ValuesWithConfidence<LocationResults> valueWithConf = detector.detect(sampler);
        LocationResults results = valueWithConf.getBestValue();
        LatLonColumnResults result = results == null ? null : results.getMostLikelyLatLonColumnPair();
        PotentialLocationColumn column = result == null ? null : result.getLatColumn();

        if (column == null)
        {
            return super.getFormat(values);
        }

        CoordFormat fmt = column.getLatFormat();
        if (fmt != null)
        {
            return fmt.toString();
        }
        return null;
    }

    public  LatitudeFormatter(PreferencesRegistry registry);

}