changeset 4334:048b3c3acd01

Range: Documentation.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 31 Oct 2012 13:46:04 +0100
parents 2d3f8af87b7b
children 5948de9788d5
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Range.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Range.java	Wed Oct 31 13:45:14 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Range.java	Wed Oct 31 13:46:04 2012 +0100
@@ -2,6 +2,7 @@
 
 import java.io.Serializable;
 
+/** A range from ... to .*/
 public class Range implements Serializable {
 
     public static final double EPSILON  = 1e-5;
@@ -56,6 +57,7 @@
         return true;
     }
 
+    /** True if start>x<end (+ some epsilon) . */
     public boolean inside(double x) {
         return x > start-EPSILON && x < end+EPSILON;
     }

http://dive4elements.wald.intevation.org