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_UNARY
Fields inherited from class org.apache.poi.ss.formula.ptg.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionint
The number of operands expected by the operationsint
getSize()
final boolean
return a string representation of this token alonetoFormulaString
(String[] operands) implementation of method from OperationsPtgvoid
write
(LittleEndianOutput out) Methods inherited from class org.apache.poi.ss.formula.ptg.OperationPtg
getDefaultOperandClass
Methods 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:
isBaseToken
in classPtg
- Returns:
false
if this token is classified as 'reference', 'value', or 'array'
-
getSize
public int getSize() -
write
-
toFormulaString
Description copied from class:Ptg
return a string representation of this token alone- Specified by:
toFormulaString
in classPtg
-
toFormulaString
implementation of method from OperationsPtg- Specified by:
toFormulaString
in classOperationPtg
- See Also:
-
getNumberOfOperands
public int getNumberOfOperands()Description copied from class:OperationPtg
The number of operands expected by the operations- Specified by:
getNumberOfOperands
in classOperationPtg
-