org.apache.poi.hssf.record.formula
public final class: LessThanPtg [javadoc |
source]
java.lang.Object
org.apache.poi.hssf.record.formula.Ptg
org.apache.poi.hssf.record.formula.OperationPtg
org.apache.poi.hssf.record.formula.ValueOperatorPtg
org.apache.poi.hssf.record.formula.LessThanPtg
All Implemented Interfaces:
Cloneable
Less than operator PTG "<". The SID is taken from the
Openoffice.orgs Documentation of the Excel File Format,
Table 3.5.7
- author:
Cameron - Riley (criley at ekmail.com)
| Field Summary |
|---|
| public static final byte | sid | the sid for the less than operator as hex |
| public static final ValueOperatorPtg | instance | |
| Methods from org.apache.poi.hssf.record.formula.Ptg: |
|---|
|
clone, copy, createParsedExpressionTokens, createPtg, getBytes, getDefaultOperandClass, getEncodedSize, getEncodedSize, getPtgClass, getSize, isBaseToken, readTokens, serializePtgStack, serializePtgs, setClass, toDebugString, toFormulaString, toString, writeBytes |
| Method from org.apache.poi.hssf.record.formula.LessThanPtg Detail: |
public int getNumberOfOperands() {
return 2;
}
Get the number of operands for the Less than operator |
protected byte getSid() {
return sid;
}
|
public String toFormulaString(String[] operands) {
StringBuffer buffer = new StringBuffer();
buffer.append(operands[ 0 ]);
buffer.append(LESSTHAN);
buffer.append(operands[ 1 ]);
return buffer.toString();
}
Implementation of method from OperationsPtg |