|
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.VarianceFormula
public class VarianceFormula
Calculate the sample variance.
| Field Summary |
|---|
| Fields inherited from interface inetsoft.report.filter.Formula |
|---|
__NULL__ |
| Constructor Summary | |
|---|---|
VarianceFormula()
|
|
| 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 VarianceFormula |
createVarianceFormula()
|
String |
getDisplayName()
Get formula display name. |
double |
getDoubleResult()
Get the formula double result. |
String |
getName()
Get formula name. |
Object |
getOriginalResult()
Get the original formula result without percentage. |
Double |
getPercentage(double dou)
Get percentage. |
int |
getPercentageType()
Get percentage type. |
protected double |
getRawResult()
Get the raw formula result. |
Object |
getResult()
Get the formula result. |
Object |
getTotal()
Get the total used to calculate percentage. |
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. |
void |
setPercentageType(int percentageType)
Set percentage type. |
void |
setTotal(Object total)
Set the total used to calculate percentage. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VarianceFormula()
| Method Detail |
|---|
public void reset()
reset in interface Formulapublic void addValue(Object v)
addValue 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 Object getResult()
getResult in interface Formulapublic double getDoubleResult()
getDoubleResult in interface Formulaprotected double getRawResult()
public 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 Double getPercentage(double dou)
public Object clone()
Formula
clone in interface Formulaclone in class Objectprotected VarianceFormula createVarianceFormula()
public int getPercentageType()
getPercentageType in interface PercentageFormulapublic void setPercentageType(int percentageType)
setPercentageType in interface PercentageFormulapublic void setTotal(Object total)
setTotal in interface PercentageFormulapublic Object getTotal()
public Object getOriginalResult()
getOriginalResult in interface PercentageFormulapublic 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 | ||||||||