[Dive4elements-commits] [PATCH 07 of 10] Coordinate: Introduce getters for x/y

Wald Commits scm-commit at wald.intevation.org
Thu Jan 3 10:16:23 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1357203529 -3600
# Node ID ea8c3e6c96149673b95e78f497b5c206abc157ca
# Parent  2a6d64a415e4dac54eca5a2686b86a15672c7d9a
Coordinate: Introduce getters for x/y.

diff -r 2a6d64a415e4 -r ea8c3e6c9614 flys-backend/src/main/java/de/intevation/flys/importer/parsers/tim/Coordinate.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/tim/Coordinate.java	Thu Jan 03 09:58:16 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/tim/Coordinate.java	Thu Jan 03 09:58:49 2013 +0100
@@ -23,5 +23,13 @@
         this.y = y;
         this.z = z;
     }
+
+    public double getX() {
+        return this.x;
+    }
+
+    public double getY() {
+        return this.y;
+    }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :


More information about the Dive4elements-commits mailing list