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

java.lang.Object
  extended by org.semanticweb.HermiT.model.dataranges.DatatypeRestrictionInteger.Interval
Enclosing class:
DatatypeRestrictionInteger

public class DatatypeRestrictionInteger.Interval
extends java.lang.Object


Field Summary
(package private)  java.math.BigInteger max
           
(package private)  java.math.BigInteger min
           
 
Constructor Summary
DatatypeRestrictionInteger.Interval(java.math.BigInteger minInclusive, java.math.BigInteger maxInclusive)
           
 
Method Summary
 boolean contains(java.math.BigInteger integer)
           
 boolean contains(DatatypeRestrictionInteger.Interval interval)
           
 boolean disjointWith(DatatypeRestrictionInteger.Interval interval)
           
 java.math.BigInteger getCardinality()
           
 DatatypeRestrictionInteger.Interval getCopy()
           
 java.math.BigInteger getMax()
           
 java.math.BigInteger getMin()
           
 void intersectWith(DatatypeRestrictionInteger.Interval i)
           
 boolean isEmpty()
           
protected  boolean isEmpty(java.math.BigInteger lower, java.math.BigInteger upper)
           
 boolean isFinite()
           
 void setMaxIncl(java.math.BigInteger max)
           
 void setMin(java.math.BigInteger 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

java.math.BigInteger min

max

java.math.BigInteger max
Constructor Detail

DatatypeRestrictionInteger.Interval

public DatatypeRestrictionInteger.Interval(java.math.BigInteger minInclusive,
                                           java.math.BigInteger maxInclusive)
Method Detail

getCopy

public DatatypeRestrictionInteger.Interval getCopy()

intersectWith

public void intersectWith(DatatypeRestrictionInteger.Interval i)

isEmpty

public boolean isEmpty()

isEmpty

protected boolean isEmpty(java.math.BigInteger lower,
                          java.math.BigInteger upper)

isFinite

public boolean isFinite()

contains

public boolean contains(java.math.BigInteger integer)

contains

public boolean contains(DatatypeRestrictionInteger.Interval interval)

disjointWith

public boolean disjointWith(DatatypeRestrictionInteger.Interval interval)

getCardinality

public java.math.BigInteger getCardinality()

getMin

public java.math.BigInteger getMin()

setMin

public void setMin(java.math.BigInteger min)

getMax

public java.math.BigInteger getMax()

setMaxIncl

public void setMaxIncl(java.math.BigInteger max)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object