comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/WstLine.java @ 7604:05549a84ee83

(issue1620) Add export of official lines in WST as specified
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 27 Nov 2013 16:21:00 +0100
parents af13ceeba52a
children b45f6c0b0ba4
comparison
equal deleted inserted replaced
7603:25bce6e8beea 7604:05549a84ee83
71 */ 71 */
72 public double getW(int idx) { 72 public double getW(int idx) {
73 return ws.size() > idx ? ws.get(idx) : -1d; 73 return ws.size() > idx ? ws.get(idx) : -1d;
74 } 74 }
75 75
76 /**
77 * Returns the W value at index <i>idx</i> of this line.
78 *
79 * @param idx The position of the desired W value.
80 *
81 * @return the W at position <i>idx</i>.
82 */
83 public double getQ(int idx) {
84 return qs.size() > idx ? qs.get(idx) : -1d;
85 }
76 86
77 /** 87 /**
78 * Returns the Q values of this line. 88 * Returns the Q values of this line.
79 * 89 *
80 * @return the Q values of this line. 90 * @return the Q values of this line.

http://dive4elements.wald.intevation.org