Package org.apache.poi.ss.formula.ptg
Class GreaterThanPtg
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.GreaterThanPtg
Greater than operator PTG ">"
- Author:
- Cameron Riley (criley at ekmail.com)
-
Field Summary
FieldsFields inherited from class org.apache.poi.ss.formula.ptg.OperationPtg
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARYFields inherited from class org.apache.poi.ss.formula.ptg.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionintGet the number of operands for the Less than operatorprotected bytegetSid()toFormulaString(String[] operands) Implementation of method from OperationsPtgMethods inherited from class org.apache.poi.ss.formula.ptg.ValueOperatorPtg
getDefaultOperandClass, getSize, isBaseToken, toFormulaString, writeMethods inherited from class org.apache.poi.ss.formula.ptg.Ptg
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toString
-
Field Details
-
sid
public static final byte sid- See Also:
-
instance
-
-
Method Details
-
getSid
protected byte getSid()- Specified by:
getSidin classValueOperatorPtg
-
getNumberOfOperands
public int getNumberOfOperands()Get the number of operands for the Less than operator- Specified by:
getNumberOfOperandsin classOperationPtg- Returns:
- int the number of operands
-
toFormulaString
Implementation of method from OperationsPtg- Specified by:
toFormulaStringin classOperationPtg- Parameters:
operands- a String array of operands- Returns:
- String the Formula as a String
- See Also:
-