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

public final Class RangePtg

extends OperationPtg
Class Inheritance
Imports
org.apache.poi.util.LittleEndianOutput

Field Summary

Modifier and TypeField and Description
public static final RangePtg
public static final byte
public static final int
Inherited from org.apache.poi.ss.formula.ptg.OperationPtg:
TYPE_BINARYTYPE_FUNCTIONTYPE_UNARY

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

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

The number of operands expected by the operations

public byte
public int
public final boolean
public String
toFormulaString()

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

return a string representation of this token alone

public String
toFormulaString(String[] operands)

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

implementation of method from OperationsPtg

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

Field Detail

instanceback to summary
public static final RangePtg instance
sidback to summary
public static final byte sid
SIZEback to summary
public static final int SIZE

Constructor Detail

RangePtgback to summary
private RangePtg()

Method Detail

copyback to summary
public RangePtg copy()

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

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

Returns:RangePtg

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

Annotations
@Override
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
getSizeback to summary
public 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.

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 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
toFormulaStringback to summary
public String toFormulaString(String[] operands)

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

implementation of method from OperationsPtg

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

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

Annotations
@Override