Package org.apache.poi.ss.formula.ptg
Class RangePtg
java.lang.Object
org.apache.poi.ss.formula.ptg.Ptg
org.apache.poi.ss.formula.ptg.OperationPtg
org.apache.poi.ss.formula.ptg.RangePtg
- Author:
- Daniel Noll (daniel at nuix dot com dot au)
-
Field Summary
FieldsFields inherited from class org.apache.poi.ss.formula.ptg.OperationPtg
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARYFields inherited from class org.apache.poi.ss.formula.ptg.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionintThe number of operands expected by the operationsintgetSize()final booleanreturn a string representation of this token alonetoFormulaString(String[] operands) implementation of method from OperationsPtgvoidwrite(LittleEndianOutput out) Methods inherited from class org.apache.poi.ss.formula.ptg.OperationPtg
getDefaultOperandClassMethods inherited from class org.apache.poi.ss.formula.ptg.Ptg
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toString
-
Field Details
-
SIZE
public static final int SIZE- See Also:
-
sid
public static final byte sid- See Also:
-
instance
-
-
Method Details
-
isBaseToken
public final boolean isBaseToken()- Specified by:
isBaseTokenin classPtg- Returns:
falseif this token is classified as 'reference', 'value', or 'array'
-
getSize
public int getSize() -
write
-
toFormulaString
Description copied from class:Ptgreturn a string representation of this token alone- Specified by:
toFormulaStringin classPtg
-
toFormulaString
implementation of method from OperationsPtg- Specified by:
toFormulaStringin classOperationPtg- See Also:
-
getNumberOfOperands
public int getNumberOfOperands()Description copied from class:OperationPtgThe number of operands expected by the operations- Specified by:
getNumberOfOperandsin classOperationPtg
-