org.semanticweb.HermiT.model.dataranges
Class DatatypeRestrictionDouble.Interval
java.lang.Object
org.semanticweb.HermiT.model.dataranges.DatatypeRestrictionDouble.Interval
- Enclosing class:
- DatatypeRestrictionDouble
public class DatatypeRestrictionDouble.Interval
- extends java.lang.Object
|
Field Summary |
(package private) double |
max
|
(package private) double |
min
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
min
double min
max
double max
DatatypeRestrictionDouble.Interval
public DatatypeRestrictionDouble.Interval()
DatatypeRestrictionDouble.Interval
public DatatypeRestrictionDouble.Interval(double minInclusive,
double maxInclusive)
getCopy
public DatatypeRestrictionDouble.Interval getCopy()
intersectWith
public void intersectWith(DatatypeRestrictionDouble.Interval i)
isEmpty
public boolean isEmpty()
isEmpty
protected boolean isEmpty(double lower,
double upper)
isFinite
public boolean isFinite()
isMinusZero
public boolean isMinusZero(double value)
isPlusZero
public boolean isPlusZero(double value)
contains
public boolean contains(double d)
contains
public boolean contains(DatatypeRestrictionDouble.Interval interval)
disjointWith
public boolean disjointWith(DatatypeRestrictionDouble.Interval interval)
getCardinality
public java.math.BigInteger getCardinality()
isNaN
protected boolean isNaN(long bits)
increaseMin
public boolean increaseMin()
getMin
public double getMin()
setMin
public void setMin(double min)
getMax
public double getMax()
setMaxIncl
public void setMaxIncl(double max)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object