Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/math/Sub.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 | 672a41efe222 |
children |
comparison
equal
deleted
inserted
replaced
2987:98c7a46ec5ae | 3318:dbe2f85bf160 |
---|---|
1 package de.intevation.flys.artifacts.math; | |
2 | |
3 public final class Sub | |
4 implements Function | |
5 { | |
6 private double s; | |
7 | |
8 public Sub(double s) { | |
9 this.s = s; | |
10 } | |
11 | |
12 @Override | |
13 public double value(double x) { | |
14 return x - s; | |
15 } | |
16 } | |
17 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |