001// License: GPL. For details, see LICENSE file.
002package org.openstreetmap.josm.data.gpx;
003
004import java.util.Collection;
005
006/**
007 * A gpx track segment consisting of multiple waypoints, that cannot be changed.
008 * @deprecated Use {@link GpxTrackSegment} instead!
009 */
010@Deprecated
011public class ImmutableGpxTrackSegment extends GpxTrackSegment {
012
013    /**
014     * Constructs a new {@code ImmutableGpxTrackSegment}.
015     * @param wayPoints list of waypoints
016     */
017    public ImmutableGpxTrackSegment(Collection<WayPoint> wayPoints) {
018        super(wayPoints);
019    }
020}