All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hs.gpxparser.modal.TrackSegment Maven / Gradle / Ivy

package com.hs.gpxparser.modal;

import java.util.ArrayList;

/**
 * Created by Himanshu on 7/5/2015.
 */
public class TrackSegment extends Extension {
    private ArrayList waypoints;

    public ArrayList getWaypoints() {
        return waypoints;
    }

    public void setWaypoints(ArrayList waypoints) {
        this.waypoints = waypoints;
    }

    public void addWaypoint(Waypoint wp) {
        if (waypoints == null) {
            waypoints = new ArrayList<>();
        }
        waypoints.add(wp);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy