code: public LineString createLineString(Coordinate[] coordinates) {
  		if (coordinates == null) {
  			return new LineString(srid, precision);
  		}
  		Coordinate[] clones = new Coordinate[coordinates.length];
  		for (int i = 0; i < coordinates.length; i++) {
  			clones[i] = (Coordinate) coordinates[i].clone();
  		}
  		return new LineString(srid, precision, clones);
  	}
docs: Create a new {@link LineString}, given an array of coordinates.
  
  @param coordinates
  An array of {@link Coordinate} objects.
  @return Returns a {@link LineString} object.