| Modifier and Type | Field and Description |
|---|---|
| private final short | |
| private final int | |
| private static final short | FUNCTION_INDEX_EXTERNAL
All external functions have function index 255 |
| public static final String | FUNCTION_NAME_IF
The name of the IF function (i.e. "IF"). |
| private final byte[] | |
| private final byte |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public byte | |
| public final short | |
| public Map | |
| public final String | |
| public final int | getNumberOfOperands()
Implements abstract org. The number of operands expected by the operations |
| public final byte | |
| public abstract int | |
| public final boolean | |
| public static boolean | Returns: true if the name specifies a standard worksheet function,
false if the name should be assumed to be an external function.Used to detect whether a function name found in a formula is one of the standard excel functions The name matching is case insensitive. |
| public final boolean | Returns: true if this is an external functionexternal functions get some special processing |
| protected static short | Returns: the standard worksheet function index if found, otherwiseFUNCTION_INDEX_EXTERNALResolves internal function names into function indexes. |
| protected String | |
| protected final String | |
| public final String | toFormulaString()
Implements abstract org. return a string representation of this token alone |
| public String | toFormulaString(String[] operands)
Implements abstract org. returns a string representation of the operations the length of the input array should equal the number returned by |
| _functionIndex | back to summary |
|---|---|
| private final short _functionIndex | |
| _numberOfArgs | back to summary |
|---|---|
| private final int _numberOfArgs | |
| FUNCTION_INDEX_EXTERNAL | back to summary |
|---|---|
| private static final short FUNCTION_INDEX_EXTERNAL All external functions have function index 255 | |
| FUNCTION_NAME_IF | back to summary |
|---|---|
| public static final String FUNCTION_NAME_IF The name of the IF function (i.e. "IF"). Extracted as a constant for clarity. | |
| paramClass | back to summary |
|---|---|
| private final byte[] paramClass | |
| returnClass | back to summary |
|---|---|
| private final byte returnClass | |
| AbstractFunctionPtg | back to summary |
|---|---|
| protected AbstractFunctionPtg(int functionIndex, int pReturnClass, byte[] paramTypes, int nParams) | |
| appendArgs | back to summary |
|---|---|
| private static void appendArgs(StringBuilder buf, int firstArgIx, String[] operands) | |
| getDefaultOperandClass | back to summary |
|---|---|
| public byte getDefaultOperandClass() Overrides org.
| |
| getFunctionIndex | back to summary |
|---|---|
| public final short getFunctionIndex() | |
| getGenericProperties | back to summary |
|---|---|
| public Map Overrides org. Implements org.
| |
| getName | back to summary |
|---|---|
| public final String getName() | |
| getNumberOfOperands | back to summary |
|---|---|
| public final int getNumberOfOperands() Implements abstract org. Doc from org. The number of operands expected by the operations
| |
| getParameterClass | back to summary |
|---|---|
| public final byte getParameterClass(int index) | |
| getSize | back to summary |
|---|---|
| public abstract int getSize() Implements abstract org.
| |
| isBaseToken | back to summary |
|---|---|
| public final boolean isBaseToken() Implements abstract org.
| |
| isBuiltInFunctionName | back to summary |
|---|---|
| public static boolean isBuiltInFunctionName(String name) Used to detect whether a function name found in a formula is one of the standard excel functions The name matching is case insensitive.
| |
| isExternalFunction | back to summary |
|---|---|
| public final boolean isExternalFunction() external functions get some special processing
| |
| lookupIndex | back to summary |
|---|---|
| protected static short lookupIndex(String name) Resolves internal function names into function indexes. The name matching is case insensitive.
| |
| lookupName | back to summary |
|---|---|
| protected String lookupName(short index) | |
| lookupName | back to summary |
|---|---|
| protected final String lookupName(short index, boolean isCetab) | |
| toFormulaString | back to summary |
|---|---|
| public final String toFormulaString() Implements abstract org. Doc from org. return a string representation of this token alone
| |
| toFormulaString | back to summary |
|---|---|
| public String toFormulaString(String[] operands) Implements abstract org. Doc from org. returns a string representation of the operations the length of the input array should equal the number returned by
| |