Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/NamedDouble.java @ 5838:5aa05a7a34b7
Rename modules to more fitting names.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 15:23:37 +0200 |
parents | flys-artifacts/src/main/java/org/dive4elements/river/artifacts/model/NamedDouble.java@bd047b71ab37 |
children | 4897a58c8746 |
comparison
equal
deleted
inserted
replaced
5837:d9901a08d0a6 | 5838:5aa05a7a34b7 |
---|---|
1 package org.dive4elements.river.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 } | |
30 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |