Package org.apache.poi.ss.formula.ptg
Class IntersectionPtg
java.lang.Object
org.apache.poi.ss.formula.ptg.Ptg
org.apache.poi.ss.formula.ptg.OperationPtg
org.apache.poi.ss.formula.ptg.IntersectionPtg
- 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) returns a string representation of the operations the length of the input array should equal the number returned byvoidwrite(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
-
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
Description copied from class:OperationPtgreturns a string representation of the operations the length of the input array should equal the number returned by- 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
-