Mercurial > dive4elements > river
changeset 7648:b0e2e4e0e2d2
issue1020: Add WQ constructor that accepts TDoubleArrayList .
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 05 Dec 2013 16:58:26 +0100 |
parents | 786ff139de5e |
children | 27aabee53f63 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/model/WQ.java |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/WQ.java Thu Dec 05 15:38:35 2013 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/WQ.java Thu Dec 05 16:58:26 2013 +0100 @@ -58,6 +58,12 @@ this.qs = new TDoubleArrayList(qs); } + public WQ(TDoubleArrayList qs, TDoubleArrayList ws, String name) { + super(name); + this.ws = ws; + this.qs = qs; + } + public Double getRawValue() { if (name == null || name.length() == 0) {