Mercurial > dive4elements > river
view flys-artifacts/src/main/java/de/intevation/flys/artifacts/math/NaNFunction.java @ 4250:ef154fbf58f1
Add method to get the MeasurementStations from the RiverInfoService
Also refactor the RiverInfoServiceImpl to use common code for getting GaugeInfo
and MeasurementStations.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 24 Oct 2012 17:09:04 +0200 |
parents | 893b2477208f |
children |
line wrap: on
line source
package de.intevation.flys.artifacts.math; public final class NaNFunction implements Function { public static final Function INSTANCE = new NaNFunction(); private NaNFunction() { } @Override public double value(double x) { return Double.NaN; } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :