CustomFunctionDefinition

Inheritance: java.lang.Object

public class CustomFunctionDefinition

Definition of custom function for calculating with user’s custom engine.

Constructors

ConstructorDescription
CustomFunctionDefinition()

Methods

MethodDescription
equals(Object arg0)
getArrayModeParameters(String functionName)Gets the indices of given custom function’s parameters that need to be calculated in array mode.
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

CustomFunctionDefinition()

public CustomFunctionDefinition()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getArrayModeParameters(String functionName)

public int[] getArrayModeParameters(String functionName)

Gets the indices of given custom function’s parameters that need to be calculated in array mode.

Remarks

For an expression that needs to be calculated, taking A:A+B:B as an example: Generally in value mode it will be calculated to a single value according to current cell base. But in array mode, all values of A1+B1,A2+B2,A3+B3,… will be calculated and used for the calculation.

Parameters:

ParameterTypeDescription
functionNamejava.lang.StringName of the custom function.

Returns: int[] - Indices of the parameters that need to be calculated in array mode for given custom function. Default is null, there is no parameter which needs to be calculated in array mode for the custom function.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int