package de.refugeehackathon.transit;

public class Geometry {
    public final double[] coordinates;

    public Geometry(double[] coordinates) {
        this.coordinates = coordinates;
    }

    public double getLongitude() {
        return coordinates[0];
    }

    public double getLatitude() {
        return coordinates[1];
    }

}

@@ -31,16 +31,63 @@
 ansit;%0A%0A
+import android.support.annotation.FloatRange;%0A%0A
 public c
@@ -235,32 +235,75 @@
    %7D%0A%0A    public
+%0A    @FloatRange(from = -180, to = 180)%0A   
  double getLongi
@@ -359,16 +359,57 @@
   public
+%0A    @FloatRange(from = -90, to = 90)%0A   
  double 

Annotate getters with range.