|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deri.iris.terms.concrete.AbstractNumericTerm
org.deri.iris.terms.concrete.FloatTerm
public class FloatTerm
Simple implementation of the IFloatTerm.
| Field Summary |
|---|
| Fields inherited from interface org.deri.iris.api.terms.concrete.IFloatTerm |
|---|
DATATYPE_URI |
| Method Summary | |
|---|---|
URI |
getDatatypeIRI()
Returns the fully qualified identifier for the data type corresponding to this term. |
BigDecimal |
getValue()
Returns the value of this numeric term represented as a BigDecimal. |
int |
hashCode()
|
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 class org.deri.iris.terms.concrete.AbstractNumericTerm |
|---|
compareTo, equals, isGround, toCanonicalString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.deri.iris.api.terms.IConcreteTerm |
|---|
toCanonicalString |
| Methods inherited from interface org.deri.iris.api.terms.ITerm |
|---|
isGround |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
public BigDecimal getValue()
INumericTerm
getValue in interface INumericTermgetValue in interface ITermnull if this term represents "NaN", positive
infinity or negative infinity.public boolean isNotANumber()
INumericTermtrue if this numeric term represents a "NaN" value,
false otherwise.
isNotANumber in interface INumericTermtrue if this numeric term represents a "NaN" value,
false otherwisepublic boolean isPositiveInfinity()
INumericTermtrue if this numeric term represents positive
infinity, false otherwise.
isPositiveInfinity in interface INumericTermtrue if this numeric term represents positive
infinity, false otherwise.public boolean isNegativeInfinity()
INumericTermtrue if this numeric term represents negative
infinity, false otherwise.
isNegativeInfinity in interface INumericTermtrue if this numeric term represents negative
infinity, false otherwise.public int hashCode()
hashCode in class AbstractNumericTermpublic URI getDatatypeIRI()
IConcreteTerm
getDatatypeIRI in interface IConcreteTerm
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||