Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/jfreechart/CompactXYItems.java @ 815:22c18083225e
Removed compiler warnings while JavaDoc generation.
gnv-artifacts/trunk@900 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 12 Apr 2010 06:59:33 +0000 |
parents | cdade5005cba |
children | 05bf8534a35a |
comparison
equal
deleted
inserted
replaced
814:9d427dd2a96a | 815:22c18083225e |
---|---|
76 this.data = data; | 76 this.data = data; |
77 } | 77 } |
78 | 78 |
79 /** | 79 /** |
80 * | 80 * |
81 * @return | 81 * @return the number of data points. |
82 */ | 82 */ |
83 public int size() { | 83 public int size() { |
84 return data.length >> 1; | 84 return data.length >> 1; |
85 } | 85 } |
86 | 86 |
87 /** | 87 /** |
88 * Retrieves the bounding box spaned by the coordinates in the data array. | 88 * Retrieves the bounding box spaned by the coordinates in the data array. |
89 * | 89 * |
90 * @param bbox | 90 * @param bbox |
91 * @return | 91 * @return the calculated bounding box. |
92 */ | 92 */ |
93 public double [] calculateBoundingBox(double [] bbox) { | 93 public double [] calculateBoundingBox(double [] bbox) { |
94 for (int i = 0; i < data.length;) { | 94 for (int i = 0; i < data.length;) { |
95 double x = data[i++]; | 95 double x = data[i++]; |
96 double y = data[i++]; | 96 double y = data[i++]; |