public final class IntersectionPtg extends OperationPtg
Modifier and Type | Field and Description |
---|---|
static IntersectionPtg |
instance |
static byte |
sid |
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Modifier and Type | Method and Description |
---|---|
IntersectionPtg |
copy() |
int |
getNumberOfOperands()
The number of operands expected by the operations
|
int |
getSize() |
boolean |
isBaseToken() |
java.lang.String |
toFormulaString()
return a string representation of this token alone
|
java.lang.String |
toFormulaString(java.lang.String[] operands)
returns a string representation of the operations
the length of the input array should equal the number returned by
|
void |
write(LittleEndianOutput out) |
getDefaultOperandClass
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toString
public static final byte sid
public static final IntersectionPtg instance
public final boolean isBaseToken()
isBaseToken
in class Ptg
false
if this token is classified as 'reference', 'value', or 'array'public int getSize()
public void write(LittleEndianOutput out)
public java.lang.String toFormulaString()
Ptg
toFormulaString
in class Ptg
public java.lang.String toFormulaString(java.lang.String[] operands)
OperationPtg
toFormulaString
in class OperationPtg
OperationPtg.getNumberOfOperands()
public int getNumberOfOperands()
OperationPtg
getNumberOfOperands
in class OperationPtg
public IntersectionPtg copy()
copy
in interface Duplicatable
copy
in class Ptg
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.