public final class UnionPtg extends OperationPtg
| Modifier and Type | Field and Description |
|---|---|
static UnionPtg |
instance |
static byte |
sid |
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARYCLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY| Modifier and Type | Method and Description |
|---|---|
UnionPtg |
copy() |
int |
getNumberOfOperands()
The number of operands expected by the operations
|
byte |
getSid() |
int |
getSize() |
boolean |
isBaseToken() |
java.lang.String |
toFormulaString()
return a string representation of this token alone
|
java.lang.String |
toFormulaString(java.lang.String[] operands)
implementation of method from OperationsPtg
|
void |
write(LittleEndianOutput out) |
getDefaultOperandClass, getGenericPropertiescreatePtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericChildren, getGenericRecordTypepublic static final byte sid
public static final UnionPtg instance
public final boolean isBaseToken()
isBaseToken in class Ptgfalse if this token is classified as 'reference', 'value', or 'array'public byte getSid()
public int getSize()
public void write(LittleEndianOutput out)
public java.lang.String toFormulaString()
PtgtoFormulaString in class Ptgpublic java.lang.String toFormulaString(java.lang.String[] operands)
toFormulaString in class OperationPtgOperationPtg.getNumberOfOperands()public int getNumberOfOperands()
OperationPtggetNumberOfOperands in class OperationPtgpublic UnionPtg copy()
copy in interface Duplicatablecopy in class PtgCopyright 2021 The Apache Software Foundation or its licensors, as applicable.