comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/math/Sub.java @ 3468:f37e7e8907cb

merged flys-artifacts/2.8.1
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:39 +0200
parents 672a41efe222
children
comparison
equal deleted inserted replaced
3387:5ffad8bde8ad 3468:f37e7e8907cb
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 :

http://dive4elements.wald.intevation.org