Top Description Fields Constructors Methods
org.apache.poi.ss.formula.ptg

public abstract Class ValueOperatorPtg

extends OperationPtg
Class Inheritance
Known Direct Subclasses
org.apache.poi.ss.formula.ptg.AddPtg, org.apache.poi.ss.formula.ptg.ConcatPtg, org.apache.poi.ss.formula.ptg.DividePtg, org.apache.poi.ss.formula.ptg.EqualPtg, org.apache.poi.ss.formula.ptg.GreaterEqualPtg, org.apache.poi.ss.formula.ptg.GreaterThanPtg, org.apache.poi.ss.formula.ptg.LessEqualPtg, org.apache.poi.ss.formula.ptg.LessThanPtg, org.apache.poi.ss.formula.ptg.MultiplyPtg, org.apache.poi.ss.formula.ptg.NotEqualPtg, org.apache.poi.ss.formula.ptg.PercentPtg, org.apache.poi.ss.formula.ptg.PowerPtg, org.apache.poi.ss.formula.ptg.SubtractPtg, org.apache.poi.ss.formula.ptg.UnaryMinusPtg, org.apache.poi.ss.formula.ptg.UnaryPlusPtg
Imports
org.apache.poi.util.LittleEndianOutput

Common superclass of all value operators. Subclasses include all unary and binary operators except for the reference operators (IntersectionPtg, RangePtg, UnionPtg)

Field Summary

Inherited from org.apache.poi.ss.formula.ptg.OperationPtg:
TYPE_BINARYTYPE_FUNCTIONTYPE_UNARY

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public final byte
public final int
public final boolean
isBaseToken()

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.isBaseToken.

All Operator Ptgs are base tokens (i.e. are not RVA classified)

public final String
toFormulaString()

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.toFormulaString.

return a string representation of this token alone

public void
Inherited from org.apache.poi.ss.formula.ptg.OperationPtg:
getGenericPropertiesgetNumberOfOperandstoFormulaString

Constructor Detail

ValueOperatorPtgback to summary
protected ValueOperatorPtg()

Method Detail

getDefaultOperandClassback to summary
public final byte getDefaultOperandClass()

Overrides org.apache.poi.ss.formula.ptg.OperationPtg.getDefaultOperandClass.

Annotations
@Override
getSizeback to summary
public final int getSize()

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.getSize.

Returns:int

Doc from org.apache.poi.ss.formula.ptg.Ptg.getSize.

the encoded length of this Ptg, including the initial Ptg type identifier byte.

Annotations
@Override
isBaseTokenback to summary
public final boolean isBaseToken()

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.isBaseToken.

All Operator Ptgs are base tokens (i.e. are not RVA classified)

Returns:boolean

Doc from org.apache.poi.ss.formula.ptg.Ptg.isBaseToken.

false if this token is classified as 'reference', 'value', or 'array'

Annotations
@Override
toFormulaStringback to summary
public final String toFormulaString()

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.toFormulaString.

Doc from org.apache.poi.ss.formula.ptg.Ptg.toFormulaString.

return a string representation of this token alone

Annotations
@Override
writeback to summary
public void write(LittleEndianOutput out)

Implements abstract org.apache.poi.ss.formula.ptg.Ptg.write.

Annotations
@Override