/** * Returns a clone of this format. * * @return a clone of this format. */ @Override public TabularFormat<T> clone() { return (TabularFormat<T>) super.clone(); } }
/** * Returns a clone of this format. * * @return a clone of this format. */ @Override public TabularFormat<T> clone() { return (TabularFormat<T>) super.clone(); } }
/** * Returns a clone of this format. * * @return a clone of this format. */ @Override public WKTFormat clone() { final WKTFormat clone = (WKTFormat) super.clone(); clone.formatter = null; // Do not share the formatter. clone.parser = null; clone.warnings = null; return clone; } }
/** * Returns a clone of this format. * * @return a clone of this format. */ @Override public WKTFormat clone() { final WKTFormat clone = (WKTFormat) super.clone(); clone.formatter = null; // Do not share the formatter. clone.parser = null; clone.warnings = null; return clone; } }
/** * Returns a clone of this format. * * @return a clone of this format. */ @Override public CoordinateFormat clone() { final CoordinateFormat clone = (CoordinateFormat) super.clone(); clone.dummy = null; clone.buffer = null; Format[] cf = clone.formats; if (cf != null) { clone.formats = cf = cf.clone(); for (int i=0; i < cf.length; i++) { cf[i] = (Format) cf[i].clone(); } } return clone; } }
/** * Returns a clone of this format. * * @return a clone of this format. */ @Override public CoordinateFormat clone() { final CoordinateFormat clone = (CoordinateFormat) super.clone(); clone.dummy = null; clone.buffer = null; Format[] cf = clone.formats; if (cf != null) { clone.formats = cf = cf.clone(); for (int i=0; i < cf.length; i++) { cf[i] = (Format) cf[i].clone(); } } return clone; } }