org.apache.poi.ss.formula.ptg
Class LessThanPtg
java.lang.Object
org.apache.poi.ss.formula.ptg.Ptg
org.apache.poi.ss.formula.ptg.OperationPtg
org.apache.poi.ss.formula.ptg.ValueOperatorPtg
org.apache.poi.ss.formula.ptg.LessThanPtg
public final class LessThanPtg
- extends ValueOperatorPtg
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)
Method Summary |
int |
getNumberOfOperands()
Get the number of operands for the Less than operator |
protected byte |
getSid()
|
java.lang.String |
toFormulaString(java.lang.String[] operands)
Implementation of method from OperationsPtg |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sid
public static final byte sid
- the sid for the less than operator as hex
- See Also:
- Constant Field Values
instance
public static final ValueOperatorPtg instance
getSid
protected byte getSid()
- Specified by:
getSid
in class ValueOperatorPtg
getNumberOfOperands
public int getNumberOfOperands()
- Get the number of operands for the Less than operator
- Specified by:
getNumberOfOperands
in class OperationPtg
- Returns:
- int the number of operands
toFormulaString
public java.lang.String toFormulaString(java.lang.String[] operands)
- Implementation of method from OperationsPtg
- Specified by:
toFormulaString
in class OperationPtg
- Parameters:
operands
- a String array of operands
- Returns:
- String the Formula as a String
- See Also:
OperationPtg.getNumberOfOperands()
Copyright 2012 The Apache Software Foundation or
its licensors, as applicable.