Package org.apache.poi.ss.formula.ptg
Class OperationPtg
java.lang.Object
org.apache.poi.ss.formula.ptg.Ptg
org.apache.poi.ss.formula.ptg.OperationPtg
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord
- Direct Known Subclasses:
AbstractFunctionPtg,IntersectionPtg,RangePtg,UnionPtg,ValueOperatorPtg
defines a Ptg that is an operation instead of an operand
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class org.apache.poi.ss.formula.ptg.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionbyteabstract intThe number of operands expected by the operationsabstract StringtoFormulaString(String[] operands) returns a string representation of the operations the length of the input array should equal the number returned byMethods inherited from class org.apache.poi.ss.formula.ptg.Ptg
copy, createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, getSid, getSize, isBaseToken, readTokens, serializePtgs, setClass, toFormulaString, toString, writeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
Field Details
-
TYPE_UNARY
public static final int TYPE_UNARY- See Also:
-
TYPE_BINARY
public static final int TYPE_BINARY- See Also:
-
TYPE_FUNCTION
public static final int TYPE_FUNCTION- See Also:
-
-
Method Details
-
toFormulaString
returns a string representation of the operations the length of the input array should equal the number returned by- See Also:
-
getNumberOfOperands
public abstract int getNumberOfOperands()The number of operands expected by the operations -
getDefaultOperandClass
public byte getDefaultOperandClass()- Specified by:
getDefaultOperandClassin classPtg
-
getGenericProperties
-