Class DoubleInterval
- java.lang.Object
-
- net.anwiba.commons.utilities.interval.DoubleInterval
-
- All Implemented Interfaces:
java.io.Serializable
public class DoubleInterval extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DoubleInterval(double minValue, double maxValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubledistance()booleanequals(java.lang.Object obj)doublefraction(double value)doublegetMaximum()doublegetMinimum()inthashCode()booleaninside(double value)booleaninteract(double value)java.lang.StringtoString()
-
-
-
Method Detail
-
inside
public boolean inside(double value)
-
interact
public boolean interact(double value)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
fraction
public double fraction(double value)
-
getMaximum
public double getMaximum()
-
getMinimum
public double getMinimum()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
distance
public double distance()
-
-