view flys-artifacts/src/main/java/de/intevation/flys/artifacts/math/Identity.java @ 4247:5da024c2af62

Refactor GaugeOverviewInfoService and MeasurementStationInfoService Refactor RiverInfoService out of GaugeOverviewInfoService and MeasurementStationInfoService to share common code of both classes in a base class.
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 24 Oct 2012 16:36:59 +0200
parents c09c9e05ecfa
children
line wrap: on
line source
package de.intevation.flys.artifacts.math;

public final class Identity
implements         Function
{
    public static final Identity IDENTITY = new Identity();

    public Identity() {
    }

    public double value(double x) {
        return x;
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org