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

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

public class DatatypeRestrictionIntegerFin.Interval
extends java.lang.Object


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

long min

max

long max
Constructor Detail

DatatypeRestrictionIntegerFin.Interval

public DatatypeRestrictionIntegerFin.Interval()

DatatypeRestrictionIntegerFin.Interval

public DatatypeRestrictionIntegerFin.Interval(long min,
                                              long max)
Method Detail

getCopy

public DatatypeRestrictionIntegerFin.Interval getCopy()

intersectWith

public void intersectWith(DatatypeRestrictionIntegerFin.Interval i)

isEmpty

public boolean isEmpty()

isEmpty

protected boolean isEmpty(long lower,
                          long upper)

isFinite

public boolean isFinite()

contains

public boolean contains(long integer)

contains

public boolean contains(DatatypeRestrictionIntegerFin.Interval i)

disjointWith

public boolean disjointWith(DatatypeRestrictionIntegerFin.Interval i)

getCardinality

public java.math.BigInteger getCardinality()

getMin

public long getMin()

setMin

public void setMin(long min)

getMax

public long getMax()

setMaxIncl

public void setMaxIncl(long max)

toString

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