class GridCreator implements Iterable<GridCell> {

    @Deprecated
    public GeoCoordinate getCoordinate(String cellIdentifier) {
        if (StringUtils.isBlank(cellIdentifier)) {
            return null;
        }
//        String[] values = cellIdentifier.replaceAll("\\(|\\)", "").split("\\|");
//        if (values.length != 2) {
//            throw new IllegalArgumentException("Invalid format: '" + cellIdentifier + "'.");
//        }
//        try {
//            double lng = Integer.valueOf(values[0]) * gridSize - 180 + 0.5 * gridSize;
//            double lat = Integer.valueOf(values[1]) * gridSize - 90 + 0.5 * gridSize;
//            return new ImmutableGeoCoordinate(lat, lng);
//        } catch (NumberFormatException e) {
//            throw new IllegalArgumentException("Invalid format: '" + cellIdentifier + "'.");
//        }
        return getCell(cellIdentifier).getCenter();
    }

    public  GridCreator(double gridSize);

}