1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
package tim.prune.load.json;
/**
* Structure for holding a single point extracted from the Json
*/
public class JsonPoint
{
public final String _latitude, _longitude, _altitude;
public final boolean _newSegment;
/**
* Constructor
* @param inLat latitude string
* @param inLon longitude string
* @param inAlt altitude string
* @param inNewSegment true if this point starts a new segment
*/
public JsonPoint(String inLat, String inLon, String inAlt, boolean inNewSegment)
{
_latitude = inLat;
_longitude = inLon;
_altitude = inAlt;
_newSegment = inNewSegment;
}
}
|