]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/data/IntegerRange.java
Version 2, March 2007
[GpsPrune.git] / tim / prune / data / IntegerRange.java
index 61ae34c4ad58f7e9d61a4f320bc76181f43da3e7..b11ba0e5b4993b9b53c39c40e1351dcf2aa1be82 100644 (file)
@@ -9,6 +9,16 @@ public class IntegerRange
        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