|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.filter.NthLargestFormula
public class NthLargestFormula
Calculate the nth largest value in a column.
| Field Summary | |
|---|---|
protected Vector |
vs
|
| Fields inherited from interface inetsoft.report.filter.Formula |
|---|
__NULL__ |
| Constructor Summary | |
|---|---|
NthLargestFormula(int n)
Create a formula to get the nth largest value. |
|
| Method Summary | |
|---|---|
void |
addValue(double v)
Add a double value to the formula. |
void |
addValue(double[] v)
Add double values to the formula. |
void |
addValue(float v)
Add a float value to the formula. |
void |
addValue(int v)
Add an int value to the formula. |
void |
addValue(long v)
Add a long value to the formula. |
void |
addValue(Object v)
Add a value to the formula. |
void |
addValue(short v)
Add a short value to the formula. |
Object |
clone()
Clone this formula. |
protected NthLargestFormula |
createNthFormula(int n)
|
String |
getDisplayName()
Get formula display name. |
double |
getDoubleResult()
Get the formula double result. |
String |
getName()
Get formula name. |
Object |
getResult()
Get the formula result. |
boolean |
isDefaultResult()
Get the default result option of this formula. |
void |
reset()
Reset the formula to start over. |
void |
setDefaultResult(boolean def)
Set the default result option of this formula. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Vector vs
| Constructor Detail |
|---|
public NthLargestFormula(int n)
n - this value starts at 1 for the largest value.| Method Detail |
|---|
public void reset()
reset in interface Formulapublic void addValue(double v)
addValue in interface Formulapublic void addValue(double[] v)
addValue in interface Formulapublic void addValue(float v)
addValue in interface Formulapublic void addValue(long v)
addValue in interface Formulapublic void addValue(int v)
addValue in interface Formulapublic void addValue(short v)
addValue in interface Formulapublic void addValue(Object v)
addValue in interface Formulapublic void setDefaultResult(boolean def)
setDefaultResult in interface Formuladef - true to use the default value of a formula if no
result, false to just return null.public boolean isDefaultResult()
isDefaultResult in interface Formulapublic Object getResult()
getResult in interface Formulapublic double getDoubleResult()
getDoubleResult in interface Formulapublic Object clone()
Formula
clone in interface Formulaclone in class Objectprotected NthLargestFormula createNthFormula(int n)
public String getDisplayName()
getDisplayName in interface Formulapublic String getName()
getName in interface Formula
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||