+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (o == null || getClass() != o.getClass()) return false;
+ OffsetPoint that = (OffsetPoint) o;
+ return point.equals(that.point);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(point);
+ }