|
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.CorrelationFormula
public class CorrelationFormula
Calculate the correlation of two columns.
| Field Summary |
|---|
| Fields inherited from interface inetsoft.report.filter.Formula |
|---|
__NULL__ |
| Constructor Summary | |
|---|---|
CorrelationFormula()
Create a correlation formula. |
|
CorrelationFormula(int col)
Create a correlation formula. |
|
| Method Summary | |
|---|---|
void |
addValue(double v)
Add a double value to the formula. |
void |
addValue(double[] v)
Add a double value 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. |
String |
getDisplayName()
Get formula display name. |
double |
getDoubleResult()
Get the formula double result. |
String |
getName()
Get formula name. |
Object |
getResult()
Get the formula result. |
int[] |
getSecondaryColumns()
Get the second column index. |
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 CorrelationFormula()
public CorrelationFormula(int col)
col - column number of the column to calculate correlation with.| Method Detail |
|---|
public int[] getSecondaryColumns()
getSecondaryColumns in interface Formula2public 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 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 | ||||||||