comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/WstLine.java @ 7609:b45f6c0b0ba4

Cosmetics, doc fix.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 28 Nov 2013 07:26:36 +0100
parents 05549a84ee83
children
comparison
equal deleted inserted replaced
7608:974ec4eba152 7609:b45f6c0b0ba4
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
76 /** 77 /**
77 * Returns the W value at index <i>idx</i> of this line. 78 * Returns the Q value at index <i>idx</i> of this line.
78 * 79 *
79 * @param idx The position of the desired W value. 80 * @param idx The position of the desired Q value.
80 * 81 *
81 * @return the W at position <i>idx</i>. 82 * @return the Q at position <i>idx</i>.
82 */ 83 */
83 public double getQ(int idx) { 84 public double getQ(int idx) {
84 return qs.size() > idx ? qs.get(idx) : -1d; 85 return qs.size() > idx ? qs.get(idx) : -1d;
85 } 86 }
87
86 88
87 /** 89 /**
88 * Returns the Q values of this line. 90 * Returns the Q values of this line.
89 * 91 *
90 * @return the Q values of this line. 92 * @return the Q values of this line.

http://dive4elements.wald.intevation.org