org.semanticweb.HermiT.model.dataranges
Class DatatypeRestrictionDouble.Interval

java.lang.Object
  extended by 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
           
 
Constructor Summary
DatatypeRestrictionDouble.Interval()
           
DatatypeRestrictionDouble.Interval(double minInclusive, double maxInclusive)
           
 
Method Summary
 boolean contains(DatatypeRestrictionDouble.Interval interval)
           
 boolean contains(double d)
           
 boolean disjointWith(DatatypeRestrictionDouble.Interval interval)
           
 java.math.BigInteger getCardinality()
           
 DatatypeRestrictionDouble.Interval getCopy()
           
 double getMax()
           
 double getMin()
           
 boolean increaseMin()
           
 void intersectWith(DatatypeRestrictionDouble.Interval i)
           
 boolean isEmpty()
           
protected  boolean isEmpty(double lower, double upper)
           
 boolean isFinite()
           
 boolean isMinusZero(double value)
           
protected  boolean isNaN(long bits)
           
 boolean isPlusZero(double value)
           
 void setMaxIncl(double max)
           
 void setMin(double min)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

min

double min

max

double max
Constructor Detail

DatatypeRestrictionDouble.Interval

public DatatypeRestrictionDouble.Interval()

DatatypeRestrictionDouble.Interval

public DatatypeRestrictionDouble.Interval(double minInclusive,
                                          double maxInclusive)
Method Detail

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