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

public final Class PercentPtg

extends ValueOperatorPtg
Class Inheritance

Percent PTG.

Field Summary

Modifier and TypeField and Description
public static final PercentPtg
private static final String
public static final byte
public static final int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public PercentPtg
public int
getNumberOfOperands()

Implements abstract org.apache.poi.ss.formula.ptg.OperationPtg.getNumberOfOperands.

The number of operands expected by the operations

public byte
public String
toFormulaString(String[] operands)

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

returns a string representation of the operations the length of the input array should equal the number returned by

Inherited from org.apache.poi.ss.formula.ptg.ValueOperatorPtg:
getDefaultOperandClassgetSizeisBaseTokentoFormulaStringwrite

Field Detail

instanceback to summary
public static final PercentPtg instance
PERCENTback to summary
private static final String PERCENT
sidback to summary
public static final byte sid
SIZEback to summary
public static final int SIZE

Constructor Detail

PercentPtgback to summary
private PercentPtg()

Method Detail

copyback to summary
public PercentPtg copy()

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

Implements org.apache.poi.common.Duplicatable.copy.

Returns:PercentPtg

Doc from org.apache.poi.common.Duplicatable.copy.

a deep copy of the implementing class / instance

Annotations
@Override
getNumberOfOperandsback to summary
public int getNumberOfOperands()

Implements abstract org.apache.poi.ss.formula.ptg.OperationPtg.getNumberOfOperands.

Doc from org.apache.poi.ss.formula.ptg.OperationPtg.getNumberOfOperands.

The number of operands expected by the operations

getSidback to summary
public byte getSid()

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

Returns:byte

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

structure id of the parsed thing, or -1 if the record has no sid

Annotations
@Override
toFormulaStringback to summary
public String toFormulaString(String[] operands)

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

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

returns a string representation of the operations the length of the input array should equal the number returned by