public final class NumberRecord extends CellRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
NumberRecord()
Creates new NumberRecord
|
NumberRecord(NumberRecord other) |
NumberRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
NumberRecord |
copy() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
protected java.lang.String |
getRecordName()
Gets the debug info BIFF record type name (used by
Record.toString() .
(获取调试信息 BIFF 记录类型名称(由 Record.toString() 使用。)
|
short |
getSid()
return the non static version of the id for this record.
(返回此记录的 id 的非静态版本。)
|
double |
getValue()
get the value for the cell
(获取单元格的值)
|
protected int |
getValueDataSize() |
protected void |
serializeValue(LittleEndianOutput out)
writes out the value data for this cell record
(写出此单元格记录的值数据)
|
void |
setValue(double value)
set the value for the cell
(设置单元格的值)
|
getColumn, getDataSize, getRow, getXFIndex, serialize, setColumn, setRow, setXFIndex
getRecordSize, serialize
cloneViaReserialise, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short sid
public NumberRecord()
public NumberRecord(NumberRecord other)
public NumberRecord(RecordInputStream in)
in
- the RecordInputstream to read the record from
(in - 要从中读取记录的 RecordInputstream)
public void setValue(double value)
value
- double representing the value
(value - double 表示值)
public double getValue()
protected java.lang.String getRecordName()
CellRecord
Record.toString()
.
(获取调试信息 BIFF 记录类型名称(由 Record.toString() 使用。)
getRecordName
in class
CellRecord
(类 CellRecord 中的 getRecordName)
protected void serializeValue(LittleEndianOutput out)
CellRecord
serializeValue
in class
CellRecord
(CellRecord 类中的 serializeValue)
out
- the output
(out - 输出)
protected int getValueDataSize()
getValueDataSize
in class
CellRecord
(类 CellRecord 中的 getValueDataSize)
public short getSid()
Record
public NumberRecord copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
CellRecord
(在 CellRecord 类中复制)
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
getGenericRecordType
in class
Record
(类 Record 中的 getGenericRecordType)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
getGenericProperties
in class
CellRecord
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.