code: public Polygon createPolygon(LinearRing exteriorRing, LinearRing[] interiorRings) {
  		if (exteriorRing == null) {
  			return new Polygon(srid, precision);
  		}
  		LinearRing[] clones = null;
  		if (interiorRings != null) {
  			clones = new LinearRing[interiorRings.length];
  			for (int i = 0; i < interiorRings.length; i++) {
  				clones[i] = (LinearRing) interiorRings[i].clone();
  			}
  		}
  		return new Polygon(srid, precision, (LinearRing) exteriorRing.clone(), clones);
  	}
docs: Create a new {@link Polygon}, given a shell and and array of holes.
  
  @param exteriorRing
  A {@link LinearRing} object that represents the outer ring.
  @param interiorRings
  An array of {@link LinearRing} objects representing the holes.
  @return Returns a {@link Polygon} object.