| org.mandarax.lib.AbstractFunction org.mandarax.lib.math.UnaryIntArithmeticFunction
UnaryIntArithmeticFunction | abstract public class UnaryIntArithmeticFunction extends AbstractFunction (Code) | | Abstract superclass for integer arithmetic functions with one argument.
author: Jens Dietrich version: 3.4 <7 March 05> since: 1.4 (in 1.3 in the renamed package org.mandarax.math) |
Method Summary | |
abstract protected int | compute(int d) Compute the result using the function. | public Class | getReturnType() Get the return type of the function. | public Class[] | getStructure() Get the structure of the function. | public Object | perform(Term[] parameter, Session session) Perform the function using an array of terms as parameters. |
compute | abstract protected int compute(int d)(Code) | | Compute the result using the function.
the result Parameters: d - value |
getReturnType | public Class getReturnType()(Code) | | Get the return type of the function.
the return type of the function |
getStructure | public Class[] getStructure()(Code) | | Get the structure of the function.
the structure of the function |
|
|