/** * Read from a stream. */ public PolygonBuilder(StreamInput in) throws IOException { shell = new LineStringBuilder(in); orientation = Orientation.readFrom(in); int holes = in.readVInt(); for (int i = 0; i < holes; i++) { hole(new LineStringBuilder(in)); } }
/** * Read from a stream. */ public MultiPolygonBuilder(StreamInput in) throws IOException { orientation = Orientation.readFrom(in); int holes = in.readVInt(); for (int i = 0; i < holes; i++) { polygon(new PolygonBuilder(in)); } }
/** * Read from a stream. */ public PolygonBuilder(StreamInput in) throws IOException { shell = new LineStringBuilder(in); orientation = Orientation.readFrom(in); int holes = in.readVInt(); for (int i = 0; i < holes; i++) { hole(new LineStringBuilder(in)); } }
/** * Read from a stream. */ public MultiPolygonBuilder(StreamInput in) throws IOException { orientation = Orientation.readFrom(in); int holes = in.readVInt(); for (int i = 0; i < holes; i++) { polygon(new PolygonBuilder(in)); } }
/** * Read from a stream. */ public PolygonBuilder(StreamInput in) throws IOException { shell = new LineStringBuilder(in); orientation = Orientation.readFrom(in); int holes = in.readVInt(); for (int i = 0; i < holes; i++) { hole(new LineStringBuilder(in)); } }
/** * Read from a stream. */ public MultiPolygonBuilder(StreamInput in) throws IOException { orientation = Orientation.readFrom(in); int holes = in.readVInt(); for (int i = 0; i < holes; i++) { polygon(new PolygonBuilder(in)); } }
/** * Read from a stream. */ public PolygonBuilder(StreamInput in) throws IOException { shell = new LineStringBuilder(in); orientation = Orientation.readFrom(in); int holes = in.readVInt(); for (int i = 0; i < holes; i++) { hole(new LineStringBuilder(in)); } }
/** * Read from a stream. */ public MultiPolygonBuilder(StreamInput in) throws IOException { orientation = Orientation.readFrom(in); int holes = in.readVInt(); for (int i = 0; i < holes; i++) { polygon(new PolygonBuilder(in)); } }