Style Intelligence v12.0

inetsoft.report.filter
Class LastFormula

java.lang.Object
  extended by inetsoft.report.filter.FirstFormula
      extended by inetsoft.report.filter.LastFormula
All Implemented Interfaces:
Formula, Formula2, Serializable, Cloneable

public class LastFormula
extends FirstFormula

Calculate the last value.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface inetsoft.report.filter.Formula
__NULL__
 
Constructor Summary
LastFormula()
          Constructor.
LastFormula(int col)
          Create a last formula.
 
Method Summary
protected  int compare(Object v1, Object v2)
           
 String getDisplayName()
          Get formula display name.
 String getName()
          Get formula name.
 
Methods inherited from class inetsoft.report.filter.FirstFormula
addValue, addValue, addValue, addValue, addValue, addValue, addValue, clone, getDoubleResult, getResult, getSecondaryColumns, isDefaultResult, reset, setDefaultResult
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LastFormula

public LastFormula()
Constructor.


LastFormula

public LastFormula(int col)
Create a last formula.

Parameters:
col - column number of dimension/secondary column.
Method Detail

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

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.