private int _min = -1, _max = -1;
+ /**
+ * Clear for a new range calculation
+ */
+ public void clear()
+ {
+ _min = -1;
+ _max = -1;
+ }
+
+
/**
* Add a value to the range
* @param inValue value to add, only positive values considered
}
- /**
- * @return true if positive data values were found
- */
- public boolean hasData()
- {
- return (_max >= 0);
- }
-
-
/**
* @return minimum value, or -1 if none found
*/