Skip to content

Instantly share code, notes, and snippets.

@zurche

zurche/Point.java

Created Jun 6, 2016
Embed
What would you like to do?
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
You can’t perform that action at this time.