inetsoft.report.filter
Class NthSmallestFormula
java.lang.Object
inetsoft.report.filter.NthLargestFormula
inetsoft.report.filter.NthSmallestFormula
- All Implemented Interfaces:
- Formula, Serializable, Cloneable
public class NthSmallestFormula
- extends NthLargestFormula
Calculate the nth smallest value in a column.
- See Also:
- Serialized Form
|
Constructor Summary |
NthSmallestFormula(int n)
Create a formula to get the nth largest value. |
| Methods inherited from class inetsoft.report.filter.NthLargestFormula |
addValue, addValue, addValue, addValue, addValue, addValue, addValue, getDoubleResult, getResult, isDefaultResult, reset, setDefaultResult |
NthSmallestFormula
public NthSmallestFormula(int n)
- Create a formula to get the nth largest value.
- Parameters:
n - this value starts at 1 for the largest value.
clone
public Object clone()
- Description copied from interface:
Formula
- Clone this formula. This may or may not copy the values from this
formula.
- Specified by:
clone in interface Formula- Overrides:
clone in class NthLargestFormula
createNthFormula
protected NthLargestFormula createNthFormula(int n)
- Overrides:
createNthFormula in class NthLargestFormula
getDisplayName
public String getDisplayName()
- Get formula display name.
- Specified by:
getDisplayName in interface Formula- Overrides:
getDisplayName in class NthLargestFormula
getName
public String getName()
- Get formula name.
- Specified by:
getName in interface Formula- Overrides:
getName in class NthLargestFormula