| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static interface | |
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private MultiOperandNumericFunction. | |
| private MultiOperandNumericFunction. | |
| private MultiOperandNumericFunction. | |
| private static final int | |
| private MultiOperandNumericFunction. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public final ValueEval | evaluate(ValueEval[]
the evaluated function arguments. Empty values are represented with
args, int BlankEval or MissingArgEval, never null.row index of the cell containing the formula under evaluation srcCellRow, int column index of the cell containing the formula under evaluation srcCellCol)Implements org.
|
| protected abstract double | |
| protected int | |
| protected final double[] | Returns: nevernullReturns a double array that contains values for the numeric cells from among the list of operands. |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| protected boolean | Returns: whether to parse non-numeric cellsFunctions like AVERAGEA() differ from AVERAGE() in the way they handle non-numeric cells. |
| blankConsumer | back to summary |
|---|---|
| private MultiOperandNumericFunction. | |
| boolByRefConsumer | back to summary |
|---|---|
| private MultiOperandNumericFunction. | |
| boolByValueConsumer | back to summary |
|---|---|
| private MultiOperandNumericFunction. | |
| DEFAULT_MAX_NUM_OPERANDS | back to summary |
|---|---|
| private static final int DEFAULT_MAX_NUM_OPERANDS | |
| missingArgConsumer | back to summary |
|---|---|
| private MultiOperandNumericFunction. | |
| MultiOperandNumericFunction | back to summary |
|---|---|
| protected MultiOperandNumericFunction(boolean isReferenceBoolCounted, boolean isBlankCounted) | |
| collectValue | back to summary |
|---|---|
| private void collectValue(ValueEval ve, boolean isViaReference, DoubleList temp) throws EvaluationException | |
| collectValues | back to summary |
|---|---|
| private void collectValues(ValueEval operand, DoubleList temp) throws EvaluationException Collects values from a single argument | |
| evaluate | back to summary |
|---|---|
| public final ValueEval evaluate(ValueEval[] args, int srcCellRow, int srcCellCol) Implements org.
| |
| evaluate | back to summary |
|---|---|
| protected abstract double evaluate(double[] values) throws EvaluationException | |
| getMaxNumOperands | back to summary |
|---|---|
| protected int getMaxNumOperands() Maximum number of operands accepted by this function. Subclasses may override to change default value. | |
| getNumberArray | back to summary |
|---|---|
| protected final double[] getNumberArray(ValueEval[] operands) throws EvaluationException Returns a double array that contains values for the numeric cells
from among the list of operands. Blanks and Blank equivalent cells
are ignored. Error operands or cells containing operands of type
that are considered invalid and would result in #VALUE! error in
excel cause this function to return
| |
| isHiddenRowCounted | back to summary |
|---|---|
public boolean isHiddenRowCounted()
| |
| isSubtotalCounted | back to summary |
|---|---|
| public boolean isSubtotalCounted() Whether to count nested subtotals. | |
| setBlankEvalPolicy | back to summary |
|---|---|
| public void setBlankEvalPolicy(MultiOperandNumericFunction. | |
| setMissingArgPolicy | back to summary |
|---|---|
| public void setMissingArgPolicy(MultiOperandNumericFunction. | |
| treatStringsAsZero | back to summary |
|---|---|
| protected boolean treatStringsAsZero() Functions like AVERAGEA() differ from AVERAGE() in the way they handle non-numeric cells. AVERAGEA treats booleans as 1.0 (true) and 0.0 (false). String cells are treated as 0.0 (AVERAGE() ignores the cell altogether).
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static <T> MultiOperandNumericFunction. | createAny(MultiOperandNumericFunction.
|
| pack-priv static MultiOperandNumericFunction. | |
| pack-priv static MultiOperandNumericFunction. | |
| pack-priv static MultiOperandNumericFunction. | |
| private static <T> MultiOperandNumericFunction. | |
| private static <T> MultiOperandNumericFunction. |
| ConsumerFactory | back to summary |
|---|---|
| private ConsumerFactory() | |
| createAny | back to summary |
|---|---|
| private static <T> MultiOperandNumericFunction. | |
| createForBlank | back to summary |
|---|---|
| pack-priv static MultiOperandNumericFunction. | |
| createForBoolEval | back to summary |
|---|---|
| pack-priv static MultiOperandNumericFunction. | |
| createForMissingArg | back to summary |
|---|---|
| pack-priv static MultiOperandNumericFunction. | |
| doNothing | back to summary |
|---|---|
| private static <T> MultiOperandNumericFunction. | |
| throwValueInvalid | back to summary |
|---|---|
| private static <T> MultiOperandNumericFunction. | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| accept | back to summary |
|---|---|
| public void accept(T value, R receiver) throws EvaluationException | |
| Modifier and Type | Field and Description |
|---|---|
| public static final MultiOperandNumericFunction. | |
| public static final MultiOperandNumericFunction. | |
| public static final MultiOperandNumericFunction. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static MultiOperandNumericFunction. | |
| public static MultiOperandNumericFunction. |
| COERCE | back to summary |
|---|---|
| public static final MultiOperandNumericFunction. | |
| ERROR | back to summary |
|---|---|
| public static final MultiOperandNumericFunction. | |
| SKIP | back to summary |
|---|---|
| public static final MultiOperandNumericFunction. | |
| Policy | back to summary |
|---|---|
| private Policy() | |
| valueOf | back to summary |
|---|---|
| public static MultiOperandNumericFunction. | |
| values | back to summary |
|---|---|
| public static MultiOperandNumericFunction. | |