org.iges.util
Class Range.Double

java.lang.Object
  |
  +--org.iges.util.Range.Double
Enclosing class:
Range

public static class Range.Double
extends java.lang.Object

Represents a range of floating-point numbers.


Field Summary
 double max
           
 double min
           
 
Constructor Summary
Range.Double(double _min, double _max)
          Creates a new Range.Double
 
Method Summary
 boolean contains(Range.Double range)
          Tests whether a given value is contained in this range
 boolean equals(Range.Double range)
           
 boolean overlaps(Range.Double range)
          Tests whether this range overlaps the one specified
 java.lang.String toString()
          Returns a string representation of this range
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

min

public double min

max

public double max
Constructor Detail

Range.Double

public Range.Double(double _min,
                    double _max)
Creates a new Range.Double

Method Detail

contains

public boolean contains(Range.Double range)
Tests whether a given value is contained in this range


overlaps

public boolean overlaps(Range.Double range)
Tests whether this range overlaps the one specified


equals

public boolean equals(Range.Double range)

toString

public java.lang.String toString()
Returns a string representation of this range

Overrides:
toString in class java.lang.Object