Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/NamedDouble.java @ 3806:881fcd01e056
merged flys-artifacts/pre2.6-2011-11-04
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:50 +0200 |
parents | 22149b0545b9 |
children | 4bd3d8bbb60c |
comparison
equal
deleted
inserted
replaced
3802:e831dc29e572 | 3806:881fcd01e056 |
---|---|
1 package de.intevation.flys.artifacts.model; | |
2 | |
3 /** | |
4 * Implementation of a <String,double> pair. | |
5 */ | |
6 public class NamedDouble | |
7 extends NamedObjectImpl | |
8 { | |
9 protected double value; | |
10 | |
11 | |
12 /** | |
13 * @param name name for the given value. | |
14 * @param value value. | |
15 */ | |
16 public NamedDouble(String name, double value) { | |
17 super(name); | |
18 this.value = value; | |
19 } | |
20 | |
21 | |
22 /** | |
23 * Get the value. | |
24 * @return the value. | |
25 */ | |
26 public double getValue() { | |
27 return this.value; | |
28 } | |
29 } |