class GeometryEdit {

    public static Geometry moveGeometry(Geometry geometry, final double[] displacement) {
        geometry.apply(new CoordinateFilter() {
            @Override
            public void filter(Coordinate coordinate) {
                coordinate.x += displacement[0];
                coordinate.y += displacement[1];
            }
        });
        return geometry;
    }

    private  GeometryEdit();

}