inetsoft.report.filter
Class LastFormula
java.lang.Object
inetsoft.report.filter.FirstFormula
inetsoft.report.filter.LastFormula
- All Implemented Interfaces:
- Formula, Formula2, Serializable, Cloneable
public class LastFormula
- extends FirstFormula
Calculate the last value.
- See Also:
- Serialized Form
| Methods inherited from class inetsoft.report.filter.FirstFormula |
addValue, addValue, addValue, addValue, addValue, addValue, addValue, clone, getDoubleResult, getResult, getSecondaryColumns, isDefaultResult, reset, setDefaultResult |
LastFormula
public LastFormula()
- Constructor.
LastFormula
public LastFormula(int col)
- Create a last formula.
- Parameters:
col - column number of dimension/secondary column.
getDisplayName
public String getDisplayName()
- Get formula display name.
- Specified by:
getDisplayName in interface Formula- Overrides:
getDisplayName in class FirstFormula
getName
public String getName()
- Get formula name.
- Specified by:
getName in interface Formula- Overrides:
getName in class FirstFormula
compare
protected int compare(Object v1,
Object v2)
- Overrides:
compare in class FirstFormula