org.semanticweb.HermiT.model.dataranges
Class DatatypeRestrictionIntegerFin.Interval
java.lang.Object
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
min
long min
max
long max
DatatypeRestrictionIntegerFin.Interval
public DatatypeRestrictionIntegerFin.Interval()
DatatypeRestrictionIntegerFin.Interval
public DatatypeRestrictionIntegerFin.Interval(long min,
long max)
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