Interface Numeric
- All Superinterfaces:
ArithmeticOperator, Term
- All Known Implementing Classes:
DecimalFraction, IntegerNumber
A
Term that has a numerical value.- See Also:
-
Method Summary
Methods inherited from interface ArithmeticOperator
calculateMethods inherited from interface Term
backtrack, copy, copy, firstArgument, fourthArgument, getArgument, getBound, getName, getNumberOfArguments, getTerm, getType, isImmutable, secondArgument, thirdArgument, unify
-
Method Details
-
getLong
long getLong()Returns the value of this numeric as along.- Returns:
- the value of this numeric as a
long
-
getDouble
double getDouble()Returns the value of this numeric as adouble.- Returns:
- the value of this numeric as a
double
-