Created
June 6, 2016 19:30
-
-
Save zurche/0fed1975b66a932cf6498828ddb96291 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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