Package org.apache.poi.ss.formula.ptg
Class NotEqualPtg
- 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.NotEqualPtg
-
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable
,GenericRecord
public final class NotEqualPtg extends ValueOperatorPtg
Ptg class to implement not equal
-
-
Field Summary
Fields Modifier and Type Field Description static NotEqualPtg
instance
static byte
sid
-
Fields inherited from class org.apache.poi.ss.formula.ptg.OperationPtg
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
-
Fields inherited from class org.apache.poi.ss.formula.ptg.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotEqualPtg
copy()
int
getNumberOfOperands()
The number of operands expected by the operationsbyte
getSid()
java.lang.String
toFormulaString(java.lang.String[] operands)
returns a string representation of the operations the length of the input array should equal the number returned by-
Methods inherited from class org.apache.poi.ss.formula.ptg.ValueOperatorPtg
getDefaultOperandClass, getSize, isBaseToken, toFormulaString, write
-
Methods inherited from class org.apache.poi.ss.formula.ptg.OperationPtg
getGenericProperties
-
Methods inherited from class org.apache.poi.ss.formula.ptg.Ptg
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
-
-
-
Field Detail
-
sid
public static final byte sid
- See Also:
- Constant Field Values
-
instance
public static final NotEqualPtg instance
-
-
Method Detail
-
getSid
public byte getSid()
-
getNumberOfOperands
public int getNumberOfOperands()
Description copied from class:OperationPtg
The number of operands expected by the operations- Specified by:
getNumberOfOperands
in classOperationPtg
-
toFormulaString
public java.lang.String toFormulaString(java.lang.String[] operands)
Description copied from class:OperationPtg
returns a string representation of the operations the length of the input array should equal the number returned by- Specified by:
toFormulaString
in classOperationPtg
- See Also:
OperationPtg.getNumberOfOperands()
-
copy
public NotEqualPtg copy()
-
-