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
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord
-
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 TypeMethodDescriptioncopy()intThe number of operands expected by the operationsbytegetSid()intgetSize()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
getDefaultOperandClass, getGenericPropertiesMethods inherited from class org.apache.poi.ss.formula.ptg.Ptg
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toStringMethods 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
-
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'
-
getSid
public byte getSid() -
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
-
copy
-