Whitespace and comment updates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675740 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a5846f0f66
commit
2be2a7cbfc
@ -27,8 +27,8 @@ import org.apache.poi.ss.formula.function.FunctionMetadataRegistry;
|
|||||||
import org.apache.poi.ss.formula.functions.*;
|
import org.apache.poi.ss.formula.functions.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Amol S. Deshmukh < amolweb at ya hoo dot com >
|
* Mappings from the Excel functions to our evaluation implementations
|
||||||
* @author Johan Karlsteen - added Intercept and Slope
|
* (where avilable)
|
||||||
*/
|
*/
|
||||||
public final class FunctionEval {
|
public final class FunctionEval {
|
||||||
/**
|
/**
|
||||||
@ -99,7 +99,7 @@ public final class FunctionEval {
|
|||||||
retval[39] = NumericFunction.MOD;
|
retval[39] = NumericFunction.MOD;
|
||||||
|
|
||||||
retval[43] = new DStarRunner(new DMin());
|
retval[43] = new DStarRunner(new DMin());
|
||||||
|
|
||||||
retval[46] = AggregateFunction.VAR;
|
retval[46] = AggregateFunction.VAR;
|
||||||
retval[48] = TextFunction.TEXT;
|
retval[48] = TextFunction.TEXT;
|
||||||
|
|
||||||
@ -161,7 +161,7 @@ public final class FunctionEval {
|
|||||||
|
|
||||||
retval[FunctionID.INDIRECT] = null; // Indirect.evaluate has different signature
|
retval[FunctionID.INDIRECT] = null; // Indirect.evaluate has different signature
|
||||||
|
|
||||||
retval[162] = TextFunction.CLEAN; //Aniket Banerjee
|
retval[162] = TextFunction.CLEAN;
|
||||||
retval[167] = new IPMT();
|
retval[167] = new IPMT();
|
||||||
retval[168] = new PPMT();
|
retval[168] = new PPMT();
|
||||||
retval[169] = new Counta();
|
retval[169] = new Counta();
|
||||||
@ -177,7 +177,7 @@ public final class FunctionEval {
|
|||||||
retval[212] = NumericFunction.ROUNDUP;
|
retval[212] = NumericFunction.ROUNDUP;
|
||||||
retval[213] = NumericFunction.ROUNDDOWN;
|
retval[213] = NumericFunction.ROUNDDOWN;
|
||||||
retval[216] = new Rank();
|
retval[216] = new Rank();
|
||||||
retval[219] = new Address(); //Aniket Banerjee
|
retval[219] = new Address();
|
||||||
retval[220] = new Days360();
|
retval[220] = new Days360();
|
||||||
retval[221] = new Today();
|
retval[221] = new Today();
|
||||||
|
|
||||||
@ -290,7 +290,7 @@ public final class FunctionEval {
|
|||||||
throw new IllegalArgumentException(name + " is a function from the Excel Analysis Toolpack. " +
|
throw new IllegalArgumentException(name + " is a function from the Excel Analysis Toolpack. " +
|
||||||
"Use AnalysisToolpack.registerFunction(String name, FreeRefFunction func) instead.");
|
"Use AnalysisToolpack.registerFunction(String name, FreeRefFunction func) instead.");
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new IllegalArgumentException("Unknown function: " + name);
|
throw new IllegalArgumentException("Unknown function: " + name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user