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