@Override public boolean equals(final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final Point point = (Point) o; return dimension == point.dimension && (srid == null ? point.srid == null : srid.equals(point.srid)) && x == point.x && y == point.y && z == point.z; }
@Override public boolean equals(final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final ComposedGeospatial<?> other = (ComposedGeospatial<?>) o; return dimension == other.dimension && (srid == null ? other.srid == null : srid.equals(other.srid)) && geospatials.equals(other.geospatials); }
@Override public boolean equals(final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final ComposedGeospatial<?> other = (ComposedGeospatial<?>) o; return dimension == other.dimension && (srid == null ? other.srid == null : srid.equals(other.srid)) && geospatials.equals(other.geospatials); }
@Override public boolean equals(final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final Point point = (Point) o; return dimension == point.dimension && (srid == null ? point.srid == null : srid.equals(point.srid)) && x == point.x && y == point.y && z == point.z; }
@Override public boolean equals(final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final Polygon polygon = (Polygon) o; return dimension == polygon.dimension && (srid == null ? polygon.srid == null : srid.equals(polygon.srid)) && (interior == null ? polygon.interior == null : interior.equals(polygon.interior)) && (exterior == null ? polygon.exterior == null : exterior.equals(polygon.exterior)); }
@Override public boolean equals(final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final Polygon polygon = (Polygon) o; return dimension == polygon.dimension && (srid == null ? polygon.srid == null : srid.equals(polygon.srid)) && (interiorRings == null ? polygon.interiorRings == null : interiorRings.equals(polygon.interiorRings)) && (exterior == null ? polygon.exterior == null : exterior.equals(polygon.exterior)); }
&& (parentSrid == null || !parentSrid.equals(geoValue.getSrid()))) { srid(json, geoValue.getSrid());
@Override public boolean equals (Object obj) { if (obj == null) { return false; } if (!(obj instanceof CsdlIsOf)) { return false; } CsdlIsOf csdlIsOf = (CsdlIsOf) obj; return (this.getType() == null ? csdlIsOf.getType() == null : this.getType().equals(csdlIsOf.getType())) && (this.getMaxLength() == null ? csdlIsOf.getMaxLength() == null : this.getMaxLength().equals(csdlIsOf.getMaxLength())) && (this.getPrecision() == null ? csdlIsOf.getPrecision() == null : this.getPrecision().equals(csdlIsOf.getPrecision())) && (this.getScale() == null ? csdlIsOf.getScale() == null : this.getScale().equals(csdlIsOf.getScale())) && (this.getSrid() == null ? csdlIsOf.getSrid() == null : this.getSrid().equals(csdlIsOf.getSrid())) && (this.getValue() == null ? csdlIsOf.getValue() == null : this.getValue().equals(csdlIsOf.getValue())) && (this.getAnnotations() == null ? csdlIsOf.getAnnotations() == null : checkAnnotations(csdlIsOf.getAnnotations())); }