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 |
---|---|
IntPtg |
copy() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
byte |
getSid() |
int |
getSize() |
int |
getValue() |
static boolean |
isInRange(int i)
Excel represents integers 0..65535 with the tInt token.
(Excel 用 tInt 标记表示整数 0..65535。)
|
java.lang.String |
toFormulaString()
return a string representation of this token alone
(单独返回此标记的字符串表示)
|
void |
write(LittleEndianOutput out) |
getDefaultOperandClass, isBaseToken
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren, getGenericRecordType
public 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.
(如果指定的值在 IntPtg 可以表示的值范围内,则为 true。)
public int getValue()
public void write(LittleEndianOutput out)
public byte getSid()
public int getSize()
public java.lang.String toFormulaString()
Ptg
toFormulaString
in class
Ptg
(Ptg 类中的 toFormulaString)
public IntPtg copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
Ptg
(在 Ptg 类中复制)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.