[PATCH] issue1020: Add WQ constructor that accepts TDoubleArrayList

Wald Commits scm-commit at wald.intevation.org
Thu Dec 5 16:57:50 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1386259106 -3600
# Node ID b0e2e4e0e2d2f7bb5c744fa2058b2888b09cdcad
# Parent  786ff139de5eb968718496a49e31cd40aba82775
issue1020: Add WQ constructor that accepts TDoubleArrayList .

diff -r 786ff139de5e -r b0e2e4e0e2d2 artifacts/src/main/java/org/dive4elements/river/artifacts/model/WQ.java
--- 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) {


More information about the Dive4elements-commits mailing list