public class PtgCalculator extends Object
| Constructor and Description |
|---|
PtgCalculator() |
| Modifier and Type | Method and Description |
|---|---|
protected static Ptg[] |
getAllComponents(Ptg operand) |
protected static Ptg[] |
getAllComponents(Ptg[] operands) |
protected static double[][] |
getArray(Ptg operand)
return a 2-dimenional array of double values
i.e.
|
protected static boolean |
getBooleanValue(Ptg operand) |
protected static double[] |
getDoubleValueArray(Ptg operands) |
protected static double[] |
getDoubleValueArray(Ptg[] operands)
getDoubleValue is for multi-operand functions.
|
protected static Ptg |
getError() |
protected static long |
getLongValue(Ptg operand) |
protected static long |
getLongValue(Ptg[] operands)
getLongValue is for single-operand functions.
|
protected static long[] |
getLongValueArray(Ptg[] operands) |
protected static Ptg |
getNAError()
returns an #NA! error ptg
|
protected static Ptg |
getValueError()
returns an #VALUE! error ptg
|
protected static long getLongValue(Ptg[] operands)
operands - protected static long getLongValue(Ptg operand)
protected static long[] getLongValueArray(Ptg[] operands)
protected static double[] getDoubleValueArray(Ptg[] operands) throws CalculationException
operands - CircularReferenceException - TODOCalculationExceptionprotected static double[] getDoubleValueArray(Ptg operands) throws CalculationException
CalculationExceptionprotected static double[][] getArray(Ptg operand) throws Exception
operand - PtgExceptionprotected static Ptg getError()
protected static Ptg getValueError()
protected static Ptg getNAError()
protected static boolean getBooleanValue(Ptg operand)
Copyright © 2002–2019 Starter Inc.. All rights reserved.