@@ -0,0 +1,2094 @@
+package org.jenetics.example.tsp.gpx;%0A%0Aimport static java.lang.String.format;%0A%0Aimport java.io.Serializable;%0A%0A/**%0A * Represents the GPS speed value in m/s.%0A *%0A * @author %3Ca href=%22mailto:franz.wilhelmstoetter@gmx.at%22%3EFranz Wilhelmst%C3%B6tter%3C/a%3E%0A * @version !__version__!%0A * @since !__version__!%0A */%0Apublic final class Speed implements Serializable %7B%0A%0A    private static final long serialVersionUID = 1L;%0A%0A    private static final double MPS_TO_KMH_FACTOR = 3.6;%0A%0A    private final double _value;%0A%0A    /**%0A     * Create a new GPS %7B@code Speed%7D object in m/s.%0A     *%0A     * @param value the GPS speed value in m/s.%0A     */%0A    private Speed(final double value) %7B%0A        _value = value;%0A    %7D%0A%0A    /**%0A     * Return the GPS speed value in m/s.%0A     *%0A     * @return the GPS speed value in m/s%0A     */%0A    public double getValue() %7B%0A        return _value;%0A    %7D%0A%0A    /**%0A     * Return the GPS speed value in km/h.%0A     *%0A     * @return the GPS speed value in km/h%0A     */%0A    public double toKmH() %7B%0A        return _value*MPS_TO_KMH_FACTOR;%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return Double.hashCode(_value);%0A    %7D%0A%0A    @Override%0A    public boolean equals(final Object obj) %7B%0A        return obj instanceof Speed &&%0A            Double.compare(((Speed)obj)._value, _value) == 0;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return format(%22%25s m/s%22, _value);%0A    %7D%0A%0A%0A%09/* *************************************************************************%0A%09 *  Static object creation methods%0A%09 * ************************************************************************/%0A%0A    /**%0A     * Create a new GPS %7B@code Speed%7D object in m/s.%0A     *%0A     * @param meterPerSecond the GPS speed value in m/s.%0A     */%0A    public static Speed of(final double meterPerSecond) %7B%0A        return new Speed(meterPerSecond);%0A    %7D%0A%0A    /**%0A     * Create a new GPS %7B@code Speed%7D object in km/h.%0A     *%0A     * @param kilometerPerHour the GPS speed value in m/s.%0A     */%0A    public static Speed ofKmH(final double kilometerPerHour) %7B%0A        return new Speed(kilometerPerHour/MPS_TO_KMH_FACTOR);%0A    %7D%0A%0A%7D%0A

Add GPS 'Speed' class.