view flys-artifacts/src/main/java/de/intevation/flys/artifacts/math/Identity.java @ 1958:82cefa3f954f

Partial fix for flys/issue420 (Mosel/DischargeCurves), do survive empty datasets when calculating axis extents. flys-artifacts/trunk@3359 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 06 Dec 2011 10:26:07 +0000
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