Skip to content

Instantly share code, notes, and snippets.

@zurche
Created June 6, 2016 19:30
Show Gist options
  • Save zurche/0fed1975b66a932cf6498828ddb96291 to your computer and use it in GitHub Desktop.
Save zurche/0fed1975b66a932cf6498828ddb96291 to your computer and use it in GitHub Desktop.
package com.example.zurcher.mycoollib;
/**
* Representation of a Latitude/Longitude pair Point in the map.
*/
public class Point {
float mLatitude;
float mLongitude;
public Point(float latitude, float longitude) {
mLatitude = latitude;
mLongitude = longitude;
}
public float getLatitude() {
return mLatitude;
}
public float getLongitude() {
return mLongitude;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment