| java.lang.Object org.apache.poi.hssf.record.formula.Ptg org.apache.poi.hssf.record.formula.IntPtg
IntPtg | public class IntPtg extends Ptg (Code) | | Integer (unsigned short intger)
Stores an unsigned short value (java int) in a formula
author: Andrew C. Oliver (acoliver at apache dot org) author: Jason Height (jheight at chariot dot net dot au) |
Field Summary | |
final public static int | SIZE | final public static byte | sid |
SIZE | final public static int SIZE(Code) | | |
sid | final public static byte sid(Code) | | |
getDefaultOperandClass | public byte getDefaultOperandClass()(Code) | | |
getSize | public int getSize()(Code) | | |
getValue | public short getValue()(Code) | | Returns the value as a short, which may have
been wrapped into negative numbers
|
getValueAsInt | public int getValueAsInt()(Code) | | Returns the value as an unsigned positive int.
|
setValue | public void setValue(short value)(Code) | | Sets the wrapped value.
Normally you should call with a positive int.
|
setValue | public void setValue(int value)(Code) | | Sets the unsigned value.
(Handles conversion to the internal short value)
|
writeBytes | public void writeBytes(byte[] array, int offset)(Code) | | |
|
|