|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface INumericTerm
An interface for representing a numeric term. A numeric term is a constant term which represents a number.
| Method Summary | |
|---|---|
BigDecimal |
getValue()
Returns the value of this numeric term represented as a BigDecimal. |
boolean |
isNegativeInfinity()
Returns true if this numeric term represents negative
infinity, false otherwise. |
boolean |
isNotANumber()
Returns true if this numeric term represents a "NaN" value,
false otherwise. |
boolean |
isPositiveInfinity()
Returns true if this numeric term represents positive
infinity, false otherwise. |
| Methods inherited from interface org.deri.iris.api.terms.IConcreteTerm |
|---|
getDatatypeIRI, toCanonicalString |
| Methods inherited from interface org.deri.iris.api.terms.ITerm |
|---|
isGround |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
BigDecimal getValue()
getValue in interface ITermnull if this term represents "NaN", positive
infinity or negative infinity.boolean isNotANumber()
true if this numeric term represents a "NaN" value,
false otherwise.
true if this numeric term represents a "NaN" value,
false otherwiseboolean isPositiveInfinity()
true if this numeric term represents positive
infinity, false otherwise.
true if this numeric term represents positive
infinity, false otherwise.boolean isNegativeInfinity()
true if this numeric term represents negative
infinity, false otherwise.
true if this numeric term represents negative
infinity, false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||