Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/HistoricalDischargeAccess.java @ 4736:b195fede1c3b
Remove trailing whitespace.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Wed, 02 Jan 2013 13:18:31 +0100 |
parents | d952372e7083 |
children |
comparison
equal
deleted
inserted
replaced
4735:94b39073f0f7 | 4736:b195fede1c3b |
---|---|
28 | 28 |
29 /** | 29 /** |
30 * This method returns the evaluation mode. The evaluation mode W is set, if | 30 * This method returns the evaluation mode. The evaluation mode W is set, if |
31 * the <b>DATA_EVALUATION_MODE</b> is 0. Otherwise, the evaluation mode Q is | 31 * the <b>DATA_EVALUATION_MODE</b> is 0. Otherwise, the evaluation mode Q is |
32 * set. | 32 * set. |
33 * | 33 * |
34 * @return EvaluationMode.W if the parameter <i>historical_mode</i> is set | 34 * @return EvaluationMode.W if the parameter <i>historical_mode</i> is set |
35 * to 0, otherwise EvaluationMode.Q. | 35 * to 0, otherwise EvaluationMode.Q. |
36 */ | 36 */ |
37 public EvaluationMode getEvaluationMode() { | 37 public EvaluationMode getEvaluationMode() { |
38 if (evaluationMode == null) { | 38 if (evaluationMode == null) { |
45 | 45 |
46 /** | 46 /** |
47 * This method returns the time range specified by <i>year_range</i> | 47 * This method returns the time range specified by <i>year_range</i> |
48 * parameter. This parameter has to be a string that consists of two long | 48 * parameter. This parameter has to be a string that consists of two long |
49 * values (time millis since 1970) separated by a ';'. | 49 * values (time millis since 1970) separated by a ';'. |
50 * | 50 * |
51 * @return the evaluation time range specified by <i>year_range</i>. | 51 * @return the evaluation time range specified by <i>year_range</i>. |
52 */ | 52 */ |
53 public Timerange getEvaluationTimerange() { | 53 public Timerange getEvaluationTimerange() { |
54 if (evaluationTimerange == null) { | 54 if (evaluationTimerange == null) { |
55 long[] startend = getLongArray(DATA_EVALUATION_TIME); | 55 long[] startend = getLongArray(DATA_EVALUATION_TIME); |
68 /** | 68 /** |
69 * This method returns the input Q values if the evaluation mode Q is set. | 69 * This method returns the input Q values if the evaluation mode Q is set. |
70 * Otherwise, this method will return a double array of length 0. The values | 70 * Otherwise, this method will return a double array of length 0. The values |
71 * returned by this method are extracted from string parameter | 71 * returned by this method are extracted from string parameter |
72 * <i>historical_values</i>. | 72 * <i>historical_values</i>. |
73 * | 73 * |
74 * @return the input Q values or a double array of length 0. | 74 * @return the input Q values or a double array of length 0. |
75 */ | 75 */ |
76 public double[] getQs() { | 76 public double[] getQs() { |
77 if (qs == null) { | 77 if (qs == null) { |
78 if (getEvaluationMode() == EvaluationMode.Q) { | 78 if (getEvaluationMode() == EvaluationMode.Q) { |
89 /** | 89 /** |
90 * This method returns the input W values if the evaluation mode W is set. | 90 * This method returns the input W values if the evaluation mode W is set. |
91 * Otherwise, this method will return a double array of length 0. The values | 91 * Otherwise, this method will return a double array of length 0. The values |
92 * returned by this method are extracted from string parameter | 92 * returned by this method are extracted from string parameter |
93 * <i>historical_values</i>. | 93 * <i>historical_values</i>. |
94 * | 94 * |
95 * @return the input W values or a double array of length 0. | 95 * @return the input W values or a double array of length 0. |
96 */ | 96 */ |
97 public double[] getWs() { | 97 public double[] getWs() { |
98 if (ws == null) { | 98 if (ws == null) { |
99 if (getEvaluationMode() == EvaluationMode.W) { | 99 if (getEvaluationMode() == EvaluationMode.W) { |