/** * Returns true if this represents the same Projection as proj. * * @param proj projection in question * @return true if this represents the same Projection as proj. */ public boolean equals(Object proj) { if (!(proj instanceof UtmProjection)) { return false; } UtmProjection op = (UtmProjection) proj; return op.getZone() == getZone(); // LOOK }
/** * Get the parameters as a String * * @return the parameters as a String */ public String paramsToString() { return getZone() + " " + isNorth(); }
/** * Get the parameters as a String * * @return the parameters as a String */ public String paramsToString() { return getZone() + " " + isNorth(); }
/** * Get the parameters as a String * * @return the parameters as a String */ public String paramsToString() { return getZone() + " " + isNorth(); }
/** * Get the parameters as a String * * @return the parameters as a String */ public String paramsToString() { return getZone() + " " + isNorth(); }
/** * Returns true if this represents the same Projection as proj. * * @param proj projection in question * @return true if this represents the same Projection as proj. */ public boolean equals(Object proj) { if (!(proj instanceof UtmProjection)) { return false; } UtmProjection op = (UtmProjection) proj; if ((this.getDefaultMapArea() == null) != (op.defaultMapArea == null)) return false; // common case is that these are null if (this.getDefaultMapArea() != null && !this.defaultMapArea.equals(op.defaultMapArea)) return false; return op.getZone() == getZone(); }