Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/math/Identity.java @ 3318:dbe2f85bf160
merged flys-artifacts/2.8
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:35 +0200 |
parents | c09c9e05ecfa |
children |
comparison
equal
deleted
inserted
replaced
2987:98c7a46ec5ae | 3318:dbe2f85bf160 |
---|---|
1 package de.intevation.flys.artifacts.math; | |
2 | |
3 public final class Identity | |
4 implements Function | |
5 { | |
6 public static final Identity IDENTITY = new Identity(); | |
7 | |
8 public Identity() { | |
9 } | |
10 | |
11 public double value(double x) { | |
12 return x; | |
13 } | |
14 } | |
15 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |