|
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.NthMostFrequentFormula
public class NthMostFrequentFormula
Calculate the nth most frequent value in a column.
| Field Summary |
|---|
| Fields inherited from interface inetsoft.report.filter.Formula |
|---|
__NULL__ |
| Constructor Summary | |
|---|---|
NthMostFrequentFormula(int n)
Create a formula to get the nth most frequent 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 the object. |
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 |
| Constructor Detail |
|---|
public NthMostFrequentFormula(int n)
n - this value starts at 1 for the most frequent 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()
clone in interface Formulaclone in class Objectpublic 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 | ||||||||