code: private void calculate(final GeometryArrayFunction callback) {
  		geometry.setPrecision(-1);
  		splitLine.setPrecision(-1);
  		GeometrySplitRequest request = new GeometrySplitRequest(geometry, splitLine);
  		GwtCommand command = new GwtCommand(GeometrySplitRequest.COMMAND);
  		command.setCommandRequest(request);
  		GwtCommandDispatcher.getInstance().execute(command, new AbstractCommandCallback<GeometrySplitResponse>() {
  
  			public void execute(GeometrySplitResponse response) {
  				callback.execute(response.getGeometries().toArray(new Geometry[response.getGeometries().size()]));
  			}
  		});
  	}
docs: ------------------------------------------------------------------------