public class ArrayPtg extends Ptg
Modifier and Type | Field and Description |
---|---|
protected byte |
field_1_reserved |
protected byte |
field_2_reserved |
protected byte |
field_3_reserved |
protected byte |
field_4_reserved |
protected byte |
field_5_reserved |
protected byte |
field_6_reserved |
protected byte |
field_7_reserved |
static byte |
sid |
protected short |
token_1_columns |
protected short |
token_2_rows |
protected Object[][] |
token_3_arrayValues |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
Modifier | Constructor and Description |
---|---|
protected |
ArrayPtg() |
|
ArrayPtg(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
short |
getColumnCount() |
byte |
getDefaultOperandClass() |
short |
getRowCount() |
int |
getSize()
This size includes the size of the array Ptg plus the Array Ptg Token value size
|
void |
readTokenValues(RecordInputStream in)
Read in the actual token (array) values.
|
void |
setColumnCount(short col) |
void |
setRowCount(short row) |
String |
toFormulaString(Workbook book)
return a string representation of this token alone
|
String |
toString()
Overridden toString method to ensure object hash is not printed.
|
void |
writeBytes(byte[] array,
int offset)
write this Ptg to a byte array
|
int |
writeTokenValueBytes(byte[] array,
int offset) |
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString
public static final byte sid
protected byte field_1_reserved
protected byte field_2_reserved
protected byte field_3_reserved
protected byte field_4_reserved
protected byte field_5_reserved
protected byte field_6_reserved
protected byte field_7_reserved
protected short token_1_columns
protected short token_2_rows
protected Object[][] token_3_arrayValues
protected ArrayPtg()
public ArrayPtg(RecordInputStream in)
public void readTokenValues(RecordInputStream in)
public String toString()
Ptg
public void writeBytes(byte[] array, int offset)
Ptg
writeBytes
in class Ptg
public int writeTokenValueBytes(byte[] array, int offset)
public void setRowCount(short row)
public short getRowCount()
public void setColumnCount(short col)
public short getColumnCount()
public int getSize()
public String toFormulaString(Workbook book)
Ptg
toFormulaString
in class Ptg
public byte getDefaultOperandClass()
getDefaultOperandClass
in class Ptg
Copyright © 2014 Open Microscopy Environment