public final class IntPtg extends ScalarConstantPtg
| Modifier and Type | Field and Description |
|---|---|
static byte |
sid |
static int |
SIZE |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY| Constructor and Description |
|---|
IntPtg(int value) |
IntPtg(LittleEndianInput in) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSize() |
int |
getSize(SpreadsheetVersion version) |
int |
getValue() |
static boolean |
isInRange(int i)
Excel represents integers 0..65535 with the tInt token.
|
String |
toFormulaString()
return a string representation of this token alone
|
void |
write(LittleEndianOutput out) |
void |
write(LittleEndianOutput out,
SpreadsheetVersion version) |
getDefaultOperandClass, isBaseToken, toStringclone, createPtg, createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSize, getEncodedSizeWithoutArrayData, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, readTokens, serializePtgs, serializePtgs, setClasspublic static final int SIZE
public static final byte sid
public IntPtg(LittleEndianInput in)
public IntPtg(int value)
public static boolean isInRange(int i)
true if the specified value is within the range of values
IntPtg can represent.public int getValue()
public void write(LittleEndianOutput out)
public void write(LittleEndianOutput out, SpreadsheetVersion version)
public int getSize()
public int getSize(SpreadsheetVersion version)
public String toFormulaString()
PtgtoFormulaString in class PtgCopyright © 2020. All rights reserved.