A B C D E F G H I L M N O P R S T U V

A

addMessageContext(String) - Method in exception org.formulacompiler.runtime.FormulaCompilerException
Appends to the current message context.
aggregators() - Static method in enum org.formulacompiler.compiler.Function
 
areAnyNamesDefined() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Checks whether the spreadsheet contains any named cells or ranges.
array(T...) - Static method in class org.formulacompiler.runtime.New
 
arrayList() - Static method in class org.formulacompiler.runtime.New
 
arrayList(int) - Static method in class org.formulacompiler.runtime.New
 

B

BIGDECIMAL128 - Static variable in class org.formulacompiler.compiler.FormulaCompiler
BigDecimal with the MathContext.DECIMAL128 math context.
BIGDECIMAL32 - Static variable in class org.formulacompiler.compiler.FormulaCompiler
BigDecimal with the MathContext.DECIMAL32 math context.
BIGDECIMAL64 - Static variable in class org.formulacompiler.compiler.FormulaCompiler
BigDecimal with the MathContext.DECIMAL64 math context.
BIGDECIMAL_SCALE8 - Static variable in class org.formulacompiler.compiler.FormulaCompiler
BigDecimal with a fixed scale of 8 and using BigDecimal.ROUND_HALF_UP.
BIGDECIMAL_SCALE9 - Static variable in class org.formulacompiler.compiler.FormulaCompiler
BigDecimal with a fixed scale of 9 and using BigDecimal.ROUND_HALF_UP.
bindAllByName() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Uses reflection to bind all named cells in the spreadsheet to corresponding methods on the input and output types.
bindAllByName(String, String) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Uses reflection to bind all named cells in the spreadsheet to corresponding methods on the input and output types, provided the cell names have the specified prefixes.
bindAllMethodsToNamedCells() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetByNameBinder.CellBinder
Binds all abstract methods to cells of the corresponding name (that is, methods called xy() need a cell called "XY", methods called getXy() need a cell called either "XY" or "GETXY").
bindAllMethodsToPrefixedNamedCells(String) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetByNameBinder.CellBinder
Binds all abstract methods to cells of the corresponding name.
bindAllNamedCellsToMethods() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetByNameBinder.CellBinder
Binds all still unbound named cells to methods of the corresponding name (that is, a cell named "XY" must have a method named either xy() or getXy()).
bindAllPrefixedNamedCellsToMethods(String) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetByNameBinder.CellBinder
Binds all still unbound named cells with a given name prefix to methods of the corresponding name.
binder - Variable in class org.formulacompiler.spreadsheet.SpreadsheetByNameBinder.Config
The binder to use for binding specific cells to specific methods.
binding - Variable in class org.formulacompiler.spreadsheet.SpreadsheetToEngineCompiler.Config
The spreadsheet binding to use as input, which also identifies the spreadsheet to use.
ByteCodeEngineDecompiler - Interface in org.formulacompiler.decompiler
Decompiles a JVM byte code engine back to Java source using the JODE library.
ByteCodeEngineDecompiler.Config - Class in org.formulacompiler.decompiler
Configuration data for new instances of ByteCodeEngineDecompiler.
ByteCodeEngineDecompiler.Config() - Constructor for class org.formulacompiler.decompiler.ByteCodeEngineDecompiler.Config
 
ByteCodeEngineDecompiler.Factory - Interface in org.formulacompiler.decompiler
Factory interface for ImplementationLocator.getInstance(Class).
ByteCodeEngineSource - Interface in org.formulacompiler.decompiler
Exposes the reverse-engineered source code of a compiled bytecode engine.

C

CallFrame - Interface in org.formulacompiler.compiler
Represents a call to a method including the argument values for all of the method's parameters.
CallFrame.Factory - Interface in org.formulacompiler.compiler
Constructs instances of CallFrame.
caseInsensitiveMap() - Static method in class org.formulacompiler.runtime.New
 
CellAddress - Interface in org.formulacompiler.runtime.spreadsheet
This interface provides information about location of a cell in a spreadsheet.
cellCalculated(CellComputationEvent) - Method in interface org.formulacompiler.runtime.event.CellComputationListener
Is invoked after a cell value has been computed.
CellComputationEvent - Class in org.formulacompiler.runtime.event
This event is emitted after a cell has been computed.
CellComputationEvent(Object, Object, boolean, boolean) - Constructor for class org.formulacompiler.runtime.event.CellComputationEvent
Creates a new event.
cellComputationListener - Variable in class org.formulacompiler.runtime.Computation.Config
This listener is invoked when a cell value is computed.
CellComputationListener - Interface in org.formulacompiler.runtime.event
Allows to receive notifications about computation events.
CellInfo - Interface in org.formulacompiler.runtime.spreadsheet
Information about a cell.
cellNamesLeftUnbound() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetByNameBinder
Returns the cell name definition this by-name binder has not bound to an input or output method.
cells() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Range
Allows iteration over the cells contained in the range.
chain(Method, Object...) - Method in interface org.formulacompiler.compiler.CallFrame
Constructs a chained call.
charset - Variable in class org.formulacompiler.runtime.Computation.Config
Charset, which is used in CHAR and CODE functions.
collection() - Static method in class org.formulacompiler.runtime.New
 
collection(int) - Static method in class org.formulacompiler.runtime.New
 
compile() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Compiles an executable computation engine from the inputs to this builder.
compile() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetToEngineCompiler
Compiles the engine.
compileEngine(SpreadsheetBinding, NumericType, Class, Method, boolean) - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Returns a new instance of a spreadsheet compiler, which is used to compile a spreadsheet representation, together with a binding associating cells with input and output methods, to an excecutable computation engine.
compileEngine(SpreadsheetBinding, NumericType, boolean) - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Same as SpreadsheetCompiler.compileEngine(SpreadsheetBinding, NumericType, Class, Method, boolean), leaving the factory class and method unspecified.
CompilerException - Exception in org.formulacompiler.compiler
Defines all the errors raised by the functional model compiler of AFC.
CompilerException(String) - Constructor for exception org.formulacompiler.compiler.CompilerException
 
CompilerException(String, Throwable) - Constructor for exception org.formulacompiler.compiler.CompilerException
 
CompilerException(Throwable) - Constructor for exception org.formulacompiler.compiler.CompilerException
 
CompilerException() - Constructor for exception org.formulacompiler.compiler.CompilerException
 
CompilerException.BrokenReference - Exception in org.formulacompiler.compiler
Indicates that a reference to a cell is broken.
CompilerException.BrokenReference(String) - Constructor for exception org.formulacompiler.compiler.CompilerException.BrokenReference
 
CompilerException.ConstructorMissing - Exception in org.formulacompiler.compiler
You specified a factory or output class with no suitable constructor for AFC to call.
CompilerException.ConstructorMissing(String, Throwable) - Constructor for exception org.formulacompiler.compiler.CompilerException.ConstructorMissing
 
CompilerException.DataTypeError - Exception in org.formulacompiler.compiler
You attempted to combine incompatible types in an expression; or you attempted to use an expression which type cannot be determined.
CompilerException.DataTypeError(String) - Constructor for exception org.formulacompiler.compiler.CompilerException.DataTypeError
 
CompilerException.DuplicateDefinition - Exception in org.formulacompiler.compiler
You attempted to define an element twice.
CompilerException.DuplicateDefinition(String) - Constructor for exception org.formulacompiler.compiler.CompilerException.DuplicateDefinition
 
CompilerException.FactoryMethodMissing - Exception in org.formulacompiler.compiler
You specified a factory type with no suitable factory method.
CompilerException.FactoryMethodMissing(Class, Class, Class) - Constructor for exception org.formulacompiler.compiler.CompilerException.FactoryMethodMissing
 
CompilerException.FactoryMethodMissing(Class) - Constructor for exception org.formulacompiler.compiler.CompilerException.FactoryMethodMissing
 
CompilerException.MethodNotImplemented - Exception in org.formulacompiler.compiler
You did not bind all of the abstract methods of the output type to cells.
CompilerException.MethodNotImplemented(Method) - Constructor for exception org.formulacompiler.compiler.CompilerException.MethodNotImplemented
 
CompilerException.NameNotFound - Exception in org.formulacompiler.compiler
Indicates that a required named element was not found.
CompilerException.NameNotFound(String) - Constructor for exception org.formulacompiler.compiler.CompilerException.NameNotFound
 
CompilerException.NameNotFound(String, Throwable) - Constructor for exception org.formulacompiler.compiler.CompilerException.NameNotFound
 
CompilerException.ParallelVectorsSpanDifferentSubSections - Exception in org.formulacompiler.compiler
You aggregated two parallel vectors (using COVAR, for example), but they cross different subsections, or cross them differently.
CompilerException.ParallelVectorsSpanDifferentSubSections(String) - Constructor for exception org.formulacompiler.compiler.CompilerException.ParallelVectorsSpanDifferentSubSections
 
CompilerException.ReferenceToArrayNotAggregated - Exception in org.formulacompiler.compiler
An expression references an array (range) without aggregating it.
CompilerException.ReferenceToArrayNotAggregated() - Constructor for exception org.formulacompiler.compiler.CompilerException.ReferenceToArrayNotAggregated
 
CompilerException.ReferenceToInnerCellNotAggregated - Exception in org.formulacompiler.compiler
An outer cell references an inner cell of a section without aggregating it.
CompilerException.ReferenceToInnerCellNotAggregated() - Constructor for exception org.formulacompiler.compiler.CompilerException.ReferenceToInnerCellNotAggregated
 
CompilerException.ReferenceToOuterInnerCell - Exception in org.formulacompiler.compiler
A cell references another cell which is itside the first cell's section, but contained within a sibling subsection of their common parent section.
CompilerException.ReferenceToOuterInnerCell() - Constructor for exception org.formulacompiler.compiler.CompilerException.ReferenceToOuterInnerCell
 
CompilerException.SectionOrientation - Exception in org.formulacompiler.compiler
The aggregator function you used does not support repeating sections of the given orientation.
CompilerException.SectionOrientation(String) - Constructor for exception org.formulacompiler.compiler.CompilerException.SectionOrientation
 
CompilerException.UnsupportedDataType - Exception in org.formulacompiler.compiler
You attempted to bind a spreadsheet cell to a method with an unsupported return type, or an unsupported parameter type; or you attempted to compile a spreadsheet with an unsupported constant value in a cell referenced by the computation.
CompilerException.UnsupportedDataType(String) - Constructor for exception org.formulacompiler.compiler.CompilerException.UnsupportedDataType
 
CompilerException.UnsupportedExpression - Exception in org.formulacompiler.compiler
You attempted to compile a spreadsheet containing an unsupported expression.
CompilerException.UnsupportedExpression(String) - Constructor for exception org.formulacompiler.compiler.CompilerException.UnsupportedExpression
 
CompilerException.UnsupportedExpression(Throwable) - Constructor for exception org.formulacompiler.compiler.CompilerException.UnsupportedExpression
 
CompilerException.UnsupportedExpressionSource - Exception in org.formulacompiler.compiler
The formula you tried to parse contains an error or an unsupported element.
CompilerException.UnsupportedExpressionSource(Throwable, String, int) - Constructor for exception org.formulacompiler.compiler.CompilerException.UnsupportedExpressionSource
 
CompilerException.UnsupportedExpressionSource(String, String, int) - Constructor for exception org.formulacompiler.compiler.CompilerException.UnsupportedExpressionSource
 
CompilerException.UnsupportedOperator - Exception in org.formulacompiler.compiler
You attempted to compile a spreadsheet containing an expression with an unsupported operator.
CompilerException.UnsupportedOperator(String) - Constructor for exception org.formulacompiler.compiler.CompilerException.UnsupportedOperator
 
compileTimeConfig - Variable in class org.formulacompiler.spreadsheet.SpreadsheetBinder.Config
The compile-time configuration to use; may be left null.
compileToReadableCode - Variable in class org.formulacompiler.spreadsheet.SpreadsheetToEngineCompiler.Config
Controls whether AFC should attempt to compile more readable code (when decompiled), possibly at the expense of engine size and performance.
Computation - Interface in org.formulacompiler.runtime
Marker interface which is implemented by all computations generated by AFC.
Computation.Config - Class in org.formulacompiler.runtime
Provides configuration information for an execution environment for computations.
Computation.Config() - Constructor for class org.formulacompiler.runtime.Computation.Config
Uses default settings for all fields.
Computation.Config(Locale) - Constructor for class org.formulacompiler.runtime.Computation.Config
Overrides the Computation.Config.locale field.
Computation.Config(TimeZone) - Constructor for class org.formulacompiler.runtime.Computation.Config
Overrides the Computation.Config.timeZone field.
Computation.Config(Locale, TimeZone) - Constructor for class org.formulacompiler.runtime.Computation.Config
Overrides the Computation.Config.locale and Computation.Config.timeZone fields.
Computation.Config(Locale, DecimalFormatSymbols) - Constructor for class org.formulacompiler.runtime.Computation.Config
Overrides the Computation.Config.locale, and Computation.Config.decimalFormatSymbols fields.
Computation.Config(Locale, DecimalFormatSymbols, TimeZone) - Constructor for class org.formulacompiler.runtime.Computation.Config
Overrides the Computation.Config.locale, and Computation.Config.decimalFormatSymbols, and Computation.Config.timeZone fields.
ComputationException - Exception in org.formulacompiler.runtime
Base class of runtime exceptions thrown by compiled computations for error conditions.
ComputationException() - Constructor for exception org.formulacompiler.runtime.ComputationException
 
ComputationException(String, Throwable) - Constructor for exception org.formulacompiler.runtime.ComputationException
 
ComputationException(String) - Constructor for exception org.formulacompiler.runtime.ComputationException
 
ComputationException(Throwable) - Constructor for exception org.formulacompiler.runtime.ComputationException
 
ComputationFactory - Interface in org.formulacompiler.runtime
Interface which is implemented by all computation factories generated by AFC.
computationListenerEnabled - Variable in class org.formulacompiler.spreadsheet.SpreadsheetToEngineCompiler.Config
Allows logging intermediate cell values.
ComputationMode - Enum in org.formulacompiler.runtime
This enumeration is used to tell the compiler which spreadsheet application behavior to adhere to.
computationMode - Variable in class org.formulacompiler.spreadsheet.SpreadsheetToEngineCompiler.Config
Tells AFC to calculate expressions as for example Excel or OpenOffice does.
constantCellCalculated(SpreadsheetCellComputationEvent) - Method in interface org.formulacompiler.spreadsheet.ConstantExpressionOptimizationListener
Is invoked when the compiler replaced an expression which always evaluates to constant by its value.
ConstantExpressionOptimizationListener - Interface in org.formulacompiler.spreadsheet
Allows to receive notifications about events during compilation process.
constantExpressionOptimizationListener - Variable in class org.formulacompiler.spreadsheet.SpreadsheetToEngineCompiler.Config
Allows to receive notifications about events during compilation process.
contains(Spreadsheet.Range) - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Range
Tests whether the other range is completely contained within this one.
createCellNamesFromRowTitles() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Uses a SpreadsheetNameCreator to create cell names from row titles in the first sheet of the spreadsheet.
createCellNamesFromRowTitles() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetNameCreator
Creates cell names from row titles.
cst(Number) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Returns a numeric constant value.
cst(String) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Returns a string constant value.
cst(Date) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Returns a date constant value.
cst(boolean) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Returns a boolean constant value.
currentCell() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Returns a reference to the cell created last.

D

decimalFormatSymbols - Variable in class org.formulacompiler.runtime.Computation.Config
A set of symbols (such as the decimal separator, the grouping separator, and so on) needed to format numbers.
decompile() - Method in interface org.formulacompiler.decompiler.ByteCodeEngineDecompiler
Decompiles the engine and returns a source code description object.
decompile(Engine) - Static method in class org.formulacompiler.decompiler.FormulaDecompiler
Returns an object describing a compiled engine as decompiled Java source code.
DEFAULT_NUMERIC_TYPE - Static variable in class org.formulacompiler.compiler.FormulaCompiler
Default type used when no explicit type is specified.
defineAdditionalRangeName(String, Spreadsheet.Range) - Method in interface org.formulacompiler.spreadsheet.Spreadsheet
Defines an additional range name to be returned by getRangeNames et al.
defineInputCell(Spreadsheet.Cell, CallFrame) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder.Section
Marks a given spreadsheet cell as a variable input to the constructed engine and binds it to the given method call chain.
defineInputCell(Spreadsheet.Cell, Method, Object...) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder.Section
Like SpreadsheetBinder.Section.defineInputCell(org.formulacompiler.spreadsheet.Spreadsheet.Cell, CallFrame), but constructs the CallFrame directly.
defineInputCell(Spreadsheet.Cell, String) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder.Section
Like SpreadsheetBinder.Section.defineInputCell(org.formulacompiler.spreadsheet.Spreadsheet.Cell, CallFrame), but constructs the CallFrame directly from a method looked up by name on SpreadsheetBinder.Section.getInputClass().
defineOutputCell(Spreadsheet.Cell, CallFrame) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder.Section
Marks a given spreadsheet cell as a computable output of the constructed engine and binds it to the given call.
defineOutputCell(Spreadsheet.Cell, Method, Object...) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder.Section
Like SpreadsheetBinder.Section.defineOutputCell(org.formulacompiler.spreadsheet.Spreadsheet.Cell, CallFrame), but constructs the CallFrame directly.
defineOutputCell(Spreadsheet.Cell, String) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder.Section
Like SpreadsheetBinder.Section.defineOutputCell(org.formulacompiler.spreadsheet.Spreadsheet.Cell, CallFrame), but constructs the CallFrame directly from a method looked up by name on SpreadsheetBinder.Section.getOutputClass().
defineRepeatingSection(Spreadsheet.Range, Orientation, CallFrame, Class, CallFrame, Class) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder.Section
Defines a range in the spreadsheet as a section of similar, repeating rows (or columns).
defineRepeatingSection(Spreadsheet.Range, Orientation, Method, Class, Method, Class) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder.Section
Like SpreadsheetBinder.Section.defineRepeatingSection(org.formulacompiler.spreadsheet.Spreadsheet.Range, Orientation, CallFrame, Class, CallFrame, Class), but constructs the CallFrame instances directly.
defineRepeatingSection(Spreadsheet.Range, Orientation, String, Class, String, Class) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder.Section
Like SpreadsheetBinder.Section.defineRepeatingSection(org.formulacompiler.spreadsheet.Spreadsheet.Range, Orientation, CallFrame, Class, CallFrame, Class), but constructs the CallFrame instances directly.
Describable - Interface in org.formulacompiler.compiler
Interface implemented by all self-describing classes in AFC.
describe() - Method in interface org.formulacompiler.compiler.Describable
Describes this object in a string meant for human consumption.
DOUBLE - Static variable in class org.formulacompiler.compiler.FormulaCompiler
Default type, consistent with the type used internally by Excel and other spreadsheet applications.

E

engine - Variable in class org.formulacompiler.decompiler.ByteCodeEngineDecompiler.Config
The engine to decompile.
Engine - Interface in org.formulacompiler.runtime
API to a computation engine.
EngineBuilder - Interface in org.formulacompiler.spreadsheet
Simplified interface to AFC's spreadsheet compiler functionality for the most typical use-cases.
EngineBuilder.Factory - Interface in org.formulacompiler.spreadsheet
Factory interface for ImplementationLocator.getInstance(Class).
EngineException - Exception in org.formulacompiler.runtime
Base class for all exceptions thrown by the run-time engine support of AFC, except for computation errors.
EngineException(String, Throwable) - Constructor for exception org.formulacompiler.runtime.EngineException
 
EngineException(String) - Constructor for exception org.formulacompiler.runtime.EngineException
 
EngineException(Throwable) - Constructor for exception org.formulacompiler.runtime.EngineException
 
EngineLoader - Interface in org.formulacompiler.runtime
Interface for deserializing instances of the Engine class.
EngineLoader.Config - Class in org.formulacompiler.runtime
Configuration data for new instances of EngineLoader.
EngineLoader.Config() - Constructor for class org.formulacompiler.runtime.EngineLoader.Config
 
EngineLoader.Factory - Interface in org.formulacompiler.runtime
Factory interface for ImplementationLocator.getInstance(Class).

F

factoryClass - Variable in class org.formulacompiler.spreadsheet.SpreadsheetToEngineCompiler.Config
Specifies either a class from which to descend the generated computation factory, or an interface which the generated factory should implement.
factoryMethod - Variable in class org.formulacompiler.spreadsheet.SpreadsheetToEngineCompiler.Config
The method of the SpreadsheetToEngineCompiler.Config.factoryClass which AFC should implement to return new computation instances.
failIfByNameBindingLeftNamedCellsUnbound() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Raises an exception if there are named cells that were not bound.
failIfByNameBindingLeftNamedCellsUnbound(String, String) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Raises an exception if there are named cells with one of the given prefixes that were not bound.
failIfCellNamesAreStillUnbound(String) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetByNameBinder.CellBinder
Raises an exception if there are named cells with the given prefix that were not bound to the type (input/output) of this cell binder.
failIfCellNamesAreStillUnbound() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetByNameBinder
Raises an exception if there are named cells that were not bound.
FormulaCompiler - Class in org.formulacompiler.compiler
Static class defining factory methods for the various elements of the core AFC compiler.
FormulaCompiler() - Constructor for class org.formulacompiler.compiler.FormulaCompiler
 
FormulaCompilerException - Exception in org.formulacompiler.runtime
Base class for all exceptions thrown by AFC.
FormulaCompilerException() - Constructor for exception org.formulacompiler.runtime.FormulaCompilerException
 
FormulaCompilerException(String, Throwable) - Constructor for exception org.formulacompiler.runtime.FormulaCompilerException
 
FormulaCompilerException(String) - Constructor for exception org.formulacompiler.runtime.FormulaCompilerException
 
FormulaCompilerException(Throwable) - Constructor for exception org.formulacompiler.runtime.FormulaCompilerException
 
FormulaDecompiler - Class in org.formulacompiler.decompiler
Provides methods to decompile engines generated by the Java bytecode generating backend of AFC.
FormulaDecompiler() - Constructor for class org.formulacompiler.decompiler.FormulaDecompiler
 
FormulaException - Exception in org.formulacompiler.runtime
Runtime exception thrown by compiled computations for conditions normally flagged as #VALUE!, #NUM!, or #DIV/0!.
FormulaException() - Constructor for exception org.formulacompiler.runtime.FormulaException
 
FormulaException(String, Throwable) - Constructor for exception org.formulacompiler.runtime.FormulaException
 
FormulaException(String) - Constructor for exception org.formulacompiler.runtime.FormulaException
 
FormulaException(Throwable) - Constructor for exception org.formulacompiler.runtime.FormulaException
 
FormulaRuntime - Class in org.formulacompiler.runtime
Static class defining factory methods for run-time-only elements of AFC.
fullCaching - Variable in class org.formulacompiler.spreadsheet.SpreadsheetToEngineCompiler.Config
Controls whether AFC should compile the computation with full internal caching of values, or only (usually minimal) caching at its own discretion.
fun(Function, SpreadsheetBuilder.ExprNode...) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Returns an expression tree node which applies a function to the values of its argument nodes.
Function - Enum in org.formulacompiler.compiler
Lists all the functions supported by AFC.

G

getArgs() - Method in interface org.formulacompiler.compiler.CallFrame
The list of argument values for the method's parameters.
getBinding() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder
Finalizes and returns the binding built by this class.
getBottomRight() - Method in interface org.formulacompiler.runtime.spreadsheet.RangeAddress
Returns the bottom right corner of the range (on the rightmost sheet of the range).
getBottomRight() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Range
Returns the bottom right corner of the range (on the rightmost sheet of the range).
getByNameBinder() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Returns the SpreadsheetByNameBinder used by this engine builder to associate cells with Java methods.
getCell(int, int, int) - Method in interface org.formulacompiler.spreadsheet.Spreadsheet
Get a cell by its index.
getCell(String) - Method in interface org.formulacompiler.spreadsheet.Spreadsheet
Get a cell by its range name.
getCellA1(String) - Method in interface org.formulacompiler.spreadsheet.Spreadsheet
Get a cell by its A1-style name.
getCellAddress() - Method in interface org.formulacompiler.runtime.spreadsheet.CellInfo
Returns cell index.
getCellInfo() - Method in class org.formulacompiler.runtime.spreadsheet.SpreadsheetCellComputationEvent
Returns information about the cell.
getCells() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Row
Returns the cells defined in the row.
getColumnIndex() - Method in interface org.formulacompiler.runtime.spreadsheet.CellAddress
Returns cell's column.
getColumnIndex() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Cell
Returns the cell index (0 based) within the row.
getCompileTimeConfig() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Let's you control the compile-time locale and timezone configuration by setting fields of the returned object.
getCompileToReadableCode() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Controls whether AFC should attempt to compile more readable code (when decompiled), possibly at the expense of engine size and performance.
getComputationFactory() - Method in interface org.formulacompiler.runtime.Engine
Returns the factory for computations implemented by this engine.
getComputationFactory(Computation.Config) - Method in interface org.formulacompiler.runtime.Engine
Returns a factory with explicit computation environment configuration for computations implemented by this engine.
getComputationListenerEnabled() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Controls whether AFC should compile the computation with support for CellComputationListener.
getComputationMode() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Returns the computation mode to be used for compiled engines.
getConstantExpressionOptimizationListener() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Returns a listener that receives notifications about events during compilation process, if any.
getConstantValue() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Cell
Returns the constant value of the cell, as defined in the spreadsheet.
getErrorText() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Cell
Returns the error text of the cell, as defined in the spreadsheet.
getExpressionText() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Cell
Returns the expression text of the cell, as parsed from the spreadsheet by AFC.
getFactoryClass() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Returns the application-specific type to be used for the generated factory.
getFactoryMethod() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Returns the application-specific factory method.
getFrames() - Method in interface org.formulacompiler.compiler.CallFrame
The call frames arranged in proper order to be called one by one, starting with an object of the head's class.
getFullCaching() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Indicates whether AFC should compile the computation with full internal caching of values, or only (usually minimal) caching at its own discretion.
getHead() - Method in interface org.formulacompiler.compiler.CallFrame
The first call in the chain of calls.
getIndex() - Method in interface org.formulacompiler.runtime.spreadsheet.SectionInfo
Returns row or column index.
getInputClass() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Returns the application-specific type defining the methods which input cells can call.
getInputClass() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder.Section
The class of the input type to whose methods you are binding input elements.
getInputClass() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinding
Returns the type to which input cells and ranges were bound.
getInstance(Class, int, int) - Method in interface org.formulacompiler.compiler.NumericType.Factory
Factory method.
getInstance(Class, MathContext) - Method in interface org.formulacompiler.compiler.NumericType.Factory
Factory method.
getInstance(Class<T>) - Static method in class org.formulacompiler.runtime.ImplementationLocator
Returns a newly constructed instance of the implementor class of the given abstract class or interface.
getInstances(Class<T>) - Static method in class org.formulacompiler.runtime.ImplementationLocator
Like ImplementationLocator.getInstance(Class), but returns a collection of all matching implementations.
getMessage() - Method in exception org.formulacompiler.runtime.FormulaCompilerException
Override that appends the current message context to the message.
getMessageContext() - Method in exception org.formulacompiler.runtime.FormulaCompilerException
Returns the current message context.
getMethod() - Method in interface org.formulacompiler.compiler.CallFrame
The method to call.
getName() - Method in enum org.formulacompiler.compiler.Function
 
getName() - Method in enum org.formulacompiler.compiler.Operator
 
getName() - Method in interface org.formulacompiler.runtime.spreadsheet.CellInfo
Returns cell defined name, if any.
getName() - Method in interface org.formulacompiler.runtime.spreadsheet.SectionInfo
Returns range defined name, if any.
getName() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Sheet
Returns the name.
getNumericType(Class, int, int) - Static method in class org.formulacompiler.compiler.FormulaCompiler
Returns the numeric type instance with the specified attributes.
getNumericType(Class) - Static method in class org.formulacompiler.compiler.FormulaCompiler
Same as FormulaCompiler.getNumericType(Class, int, int) with an undefined scale and truncating results.
getNumericType(Class, int) - Static method in class org.formulacompiler.compiler.FormulaCompiler
Same as FormulaCompiler.getNumericType(Class, int, int) and truncating results.
getNumericType(Class, MathContext) - Static method in class org.formulacompiler.compiler.FormulaCompiler
Returns the numeric type instance with the specified attributes.
getNumericType() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Returns the numeric type used by computations compiled by this builder.
getOne() - Method in interface org.formulacompiler.compiler.NumericType
Returns the number 1.
getOutputClass() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Returns the application-specific type defining the methods which output cells can implement.
getOutputClass() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder.Section
The class of the output type whose methods you are binding to output elements.
getOutputClass() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinding
Returns the type to which output cells and ranges were bound.
getParentClassLoaderForEngine() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Returns the parent class loader used for the compiled engine (which is itself class loader).
getPrev() - Method in interface org.formulacompiler.compiler.CallFrame
The previous call in the chain of calls.
getPureMessage() - Method in exception org.formulacompiler.runtime.FormulaCompilerException
Returns the pure, unchanged message.
getRange() - Method in interface org.formulacompiler.runtime.spreadsheet.SectionInfo
Returns range.
getRange(String) - Method in interface org.formulacompiler.spreadsheet.Spreadsheet
Get a range by its name.
getRangeNames() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet
Get all the range (and cell) names defined for this spreadsheet.
getReturnType() - Method in interface org.formulacompiler.compiler.CallFrame
The return type of the final call in the chain.
getRoot() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder
Returns the root section, which represents the entire worksheet.
getRootBinder() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Returns the root of the SpreadsheetBinder used by this engine builder to associate cells with Java methods.
getRow() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Cell
Returns the row this cell is part of.
getRowIndex() - Method in interface org.formulacompiler.runtime.spreadsheet.CellAddress
Returns cell's row.
getRowIndex() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Row
Returns the row index (0 based) within the sheet.
getRows() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Sheet
Returns the rows defined in the worksheet.
getSectionInfo() - Method in class org.formulacompiler.runtime.spreadsheet.SpreadsheetCellComputationEvent
Returns information about the section.
getSheet() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Row
Returns the sheet this row is part of.
getSheetIndex() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Sheet
Returns the sheet index (0 based) within the spreadsheet.
getSheetName() - Method in interface org.formulacompiler.runtime.spreadsheet.CellAddress
Returns cell's sheet name.
getSheets() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet
Returns the worksheets defined in the spreadsheet.
getSingleton() - Method in interface org.formulacompiler.compiler.Validation.Factory
 
getSortedClasses() - Method in interface org.formulacompiler.decompiler.ByteCodeEngineSource
Returns a map with class names and class sources, sorted by class name.
getSpreadsheet() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Gets the spreadsheet representation that this builder compiles.
getSpreadsheet() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Sheet
Returns the spreadsheet this worksheet is part of.
getSpreadsheet() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder
Returns the spreadsheet model of which elements are bound.
getSpreadsheet() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinding
Returns the spreadsheet whose cells are bound by this instance.
getSpreadsheet() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Returns the constructed spreadsheet.
getSymbol() - Method in enum org.formulacompiler.compiler.Operator
 
getTopLeft() - Method in interface org.formulacompiler.runtime.spreadsheet.RangeAddress
Returns the top left corner of the range (on the leftmost sheet of the range).
getTopLeft() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Range
Returns the top left corner of the range (on the leftmost sheet of the range).
getValue() - Method in class org.formulacompiler.runtime.event.CellComputationEvent
Returns the computed cell value.
getValue() - Method in interface org.formulacompiler.spreadsheet.Spreadsheet.Cell
Returns the value of the cell, as saved in the spreadsheet.
getZero() - Method in interface org.formulacompiler.compiler.NumericType
Returns the number 0.

H

hashMap() - Static method in class org.formulacompiler.runtime.New
 

I

ImplementationLocator - Class in org.formulacompiler.runtime
Very simple service locator for AFC.
ImplementationLocator() - Constructor for class org.formulacompiler.runtime.ImplementationLocator
 
ImplementationLocator.ConfigurationException - Exception in org.formulacompiler.runtime
Exception thrown when configuration errors occur.
ImplementationLocator.ConfigurationMissingException - Exception in org.formulacompiler.runtime
Exception thrown when a configuration is missing for a single instance request.
inputClass - Variable in class org.formulacompiler.spreadsheet.SpreadsheetBinder.Config
The class of the input type to whose methods you want to bind input elements; must not be null.
inputs() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetByNameBinder
Cell binder for input cells.
inverse() - Method in enum org.formulacompiler.compiler.Operator
 
isInput() - Method in class org.formulacompiler.runtime.event.CellComputationEvent
Reports if a cell is bound to an input method.
isInputCell(Spreadsheet.Cell) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder
Checks if a given cell already is bound to an input method.
isOutput() - Method in class org.formulacompiler.runtime.event.CellComputationEvent
Reports if a cell is bound to an output method.
isOutputCell(Spreadsheet.Cell) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder
Checks if a given cell already is bound to an output method.
isPrefix() - Method in enum org.formulacompiler.compiler.Operator
 
isVolatile() - Method in enum org.formulacompiler.compiler.Function
 

L

list() - Static method in class org.formulacompiler.runtime.New
 
list(int) - Static method in class org.formulacompiler.runtime.New
 
loadAllCellValues - Variable in class org.formulacompiler.spreadsheet.SpreadsheetLoader.Config
The sheet of the spreadsheet representation in which to name cells.
loadEngine(InputStream) - Static method in class org.formulacompiler.runtime.FormulaRuntime
Returns a new engine deserialized by a registered engine loader (see register()) - it must have been saved using SaveableEngine.saveTo(java.io.OutputStream).
loadEngine(EngineLoader.Config, InputStream) - Static method in class org.formulacompiler.runtime.FormulaRuntime
Like FormulaRuntime.loadEngine(InputStream), but with full configuration options.
loadEngineData(InputStream) - Method in interface org.formulacompiler.runtime.EngineLoader
Loads an engine.
loadFrom(String, InputStream) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetLoader
Loads a spreadsheet stream into an AFC spreadsheet model.
loadSpreadsheet(File) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Loads the input spreadsheet from a file.
loadSpreadsheet(File) - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Loads a spreadsheet from a file and constructs an internal representation of it.
loadSpreadsheet(File, SpreadsheetLoader.Config) - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Loads a spreadsheet from a file and constructs an internal representation of it.
loadSpreadsheet(String, InputStream) - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Loads a spreadsheet from a file and constructs an internal representation of it.
loadSpreadsheet(String, InputStream, SpreadsheetLoader.Config) - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Loads a spreadsheet from a file and constructs an internal representation of it.
locale - Variable in class org.formulacompiler.runtime.Computation.Config
Locale to use for, for example, labelling weekdays and months.
LONG - Static variable in class org.formulacompiler.compiler.FormulaCompiler
Unscaled long for fast, strictly integer computations.
LONG_SCALE4 - Static variable in class org.formulacompiler.compiler.FormulaCompiler
long scaled to 4 decimal places for fast, fixed point computations (similar to the currency type found in Borland Delphi).
LONG_SCALE6 - Static variable in class org.formulacompiler.compiler.FormulaCompiler
long scaled to 6 decimal places for fast, fixed point computations with sufficient precision for seconds in time values.

M

map() - Static method in class org.formulacompiler.runtime.New
 
mathContext() - Method in interface org.formulacompiler.compiler.NumericType
Returns the MathContext to use, or else null.
Milliseconds - Annotation Type in org.formulacompiler.runtime
Indicates to AFC that a long value is actually a number of milliseconds for an Excel time-of-day or time duration cell.
MillisecondsSinceUTC1970 - Annotation Type in org.formulacompiler.runtime
Indicates to AFC that a long value is actually a Java UTC date/time in milliseconds.

N

nameCell(String) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Defines a name for the cell created last.
nameRange(SpreadsheetBuilder.RangeRef, String) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Defines a name for the given range.
New - Class in org.formulacompiler.runtime
Provides static generic collection constructors which make use of Java 5 type inference as suggested by Josh Bloch in his Google slides on "Effective Java Reloaded".
New() - Constructor for class org.formulacompiler.runtime.New
 
newCallFrame(Method, Object...) - Method in interface org.formulacompiler.compiler.CallFrame.Factory
Constructs a call, possibly the initial call in a chain of calls.
newCallFrame(Method, Object...) - Static method in class org.formulacompiler.compiler.FormulaCompiler
Constructs a call, possibly the initial call in a chain of calls.
newCallFrame(Method, Object...) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Constructs a call, possibly the initial call in a chain of calls.
newCell(SpreadsheetBuilder.Constant) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Creates a new cell in the current row with a constant value.
newCell(SpreadsheetBuilder.ExprNode) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Creates a new, calculated cell in the current row, with the given expression tree defining its formula.
newCell() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Creates a new, blank cell in the current row.
newComputation(Object) - Method in interface org.formulacompiler.runtime.ComputationFactory
Returns a new instance of a computation.
newEngineBuilder() - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Returns a new instance of an engine builder, which handles the most typical use-cases for compiling a spreadsheet to an computation engine.
newInstance(ByteCodeEngineDecompiler.Config) - Method in interface org.formulacompiler.decompiler.ByteCodeEngineDecompiler.Factory
Factory method.
newInstance(EngineLoader.Config) - Method in interface org.formulacompiler.runtime.EngineLoader.Factory
Factory method.
newInstance() - Method in interface org.formulacompiler.spreadsheet.EngineBuilder.Factory
Factory method.
newInstance(SpreadsheetBinder.Config) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBinder.Factory
Factory method.
newInstance() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder.Factory
Factory method.
newInstance(SpreadsheetByNameBinder.Config) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetByNameBinder.Factory
Factory method.
newInstance(SpreadsheetLoader.Config) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetLoader.Factory
Factory method.
newInstance(SpreadsheetNameCreator.Config) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetNameCreator.Factory
Factory method.
newInstance(SpreadsheetSaver.Config) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetSaver.Factory
Factory method.
newInstance(SpreadsheetToEngineCompiler.Config) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetToEngineCompiler.Factory
Factory method.
newRow() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Terminates the current row and starts a new, empty one in the current sheet.
newSheet() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Terminates the current sheet and starts a new one, with a new, empty first row.
newSpreadsheetBinder(Spreadsheet, Class, Class) - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Returns a new instance of a spreadsheet binder, which is used to associate input and output cells of a spreadsheet with Java methods.
newSpreadsheetBinder(SpreadsheetBinder.Config) - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Returns a new instance of a spreadsheet binder, which is used to associate input and output cells of a spreadsheet with Java methods.
newSpreadsheetBuilder() - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Returns a new instance of a spreadsheet builder, which can be used to build a spreadsheet representation in memory from scratch.
newSpreadsheetByNameBinder(SpreadsheetBinder) - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Returns a new instance of a spreadsheet binder utility class, which uses reflection and cell names defined in the spreadsheet to associate cells with methods.
newSpreadsheetByNameBinder(SpreadsheetByNameBinder.Config) - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Returns a new instance of a spreadsheet binder utility class, which uses reflection and cell names defined in the spreadsheet to associate cells with methods.
newSpreadsheetCellNameCreator(Spreadsheet.Sheet) - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Returns a new instance of a spreadsheet cell name creator utility class, which names spreadsheet cells according to their row titles.
newSpreadsheetCompiler(SpreadsheetToEngineCompiler.Config) - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Returns a new instance of a spreadsheet compiler, which is used to compile a spreadsheet representation, together with a binding associating cells with input and output methods, to an excecutable computation engine.
newSpreadsheetSaver(SpreadsheetSaver.Config) - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Returns a new instance of a spreadsheet saver, which is used to save a spreadsheet representation to a spreadsheet file (to give users a something to start with).
NotAvailableException - Exception in org.formulacompiler.runtime
Runtime exception thrown by compiled computations for the NA() spreadsheet function, which is normally displayed as #N/A.
NotAvailableException() - Constructor for exception org.formulacompiler.runtime.NotAvailableException
 
NotAvailableException(String, Throwable) - Constructor for exception org.formulacompiler.runtime.NotAvailableException
 
NotAvailableException(String) - Constructor for exception org.formulacompiler.runtime.NotAvailableException
 
NotAvailableException(Throwable) - Constructor for exception org.formulacompiler.runtime.NotAvailableException
 
NumericType - Interface in org.formulacompiler.compiler
Immutable class representing the type to be used by the numeric computations of generated engines.
numericType - Variable in class org.formulacompiler.spreadsheet.SpreadsheetToEngineCompiler.Config
The numeric type to use for all internal computations.
NumericType.Factory - Interface in org.formulacompiler.compiler
Factory interface for ImplementationLocator.getInstance(Class).

O

ONE - Static variable in class org.formulacompiler.runtime.ScaledLongSupport
The number 1 for the scaled long type at the different supported scales.
op(Operator, SpreadsheetBuilder.ExprNode...) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Returns an expression tree node which applies an operator to the values of its argument nodes.
Operator - Enum in org.formulacompiler.compiler
Lists all the expression operators supported by AFC.
org.formulacompiler.compiler - package org.formulacompiler.compiler
Contains the public compile-time API of AFC's core functional model compiler.
org.formulacompiler.decompiler - package org.formulacompiler.decompiler
Contains the public bytecode decompiler API of AFC.
org.formulacompiler.runtime - package org.formulacompiler.runtime
Contains the public run-time API of AFC.
org.formulacompiler.runtime.event - package org.formulacompiler.runtime.event
Contains interfaces and classes for dealing with events.
org.formulacompiler.runtime.spreadsheet - package org.formulacompiler.runtime.spreadsheet
Contains spreadsheet information needed at run-time.
org.formulacompiler.spreadsheet - package org.formulacompiler.spreadsheet
Contains the public compile-time API of AFC's spreadsheet compiler, which extends the core functional model compiler.
Orientation - Enum in org.formulacompiler.spreadsheet
Lists the two possible options for the variable extend of a section.
outputClass - Variable in class org.formulacompiler.spreadsheet.SpreadsheetBinder.Config
The class of the output type whose methods you want to bind to output elements; must not be null.
outputs() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetByNameBinder
Cell binder for output cells.
outputStream - Variable in class org.formulacompiler.spreadsheet.SpreadsheetSaver.Config
Mandatory stream to which the spreadsheet will be written.

P

parentClassLoader - Variable in class org.formulacompiler.runtime.EngineLoader.Config
The parent class loader to use for the loaded engine.
parentClassLoader - Variable in class org.formulacompiler.spreadsheet.SpreadsheetToEngineCompiler.Config
The parent class loader to use for the compiled engine.

R

range(SpreadsheetBuilder.CellRef, SpreadsheetBuilder.CellRef) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Returns a range defined by two diagonally opposed corner cells.
RangeAddress - Interface in org.formulacompiler.runtime.spreadsheet
This interface provides information about location of a range in a spreadsheet.
ref(SpreadsheetBuilder.CellRef) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Returns an expression tree node which evaluates to the value of another cell, defined earlier.
ref(SpreadsheetBuilder.RangeRef) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Returns an expression tree node which specifies a range of cells, defined earlier.
ref(SpreadsheetBuilder.Constant) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Returns an expression tree node which always evaluates to the given, constant value.
REPEAT_COLUMNS - Static variable in enum org.formulacompiler.spreadsheet.Orientation
 
REPEAT_ROWS - Static variable in enum org.formulacompiler.spreadsheet.Orientation
 
reset() - Method in interface org.formulacompiler.runtime.Resettable
Clears all internal caches of the computation so it can be reused with changed input values.
Resettable - Interface in org.formulacompiler.runtime
Interface that must be implemented by an output class (or extended by an output interface) of computations that need to reset internal caches of values - typically for reuse on modified input values.
returnsInt() - Method in enum org.formulacompiler.compiler.Function
 
roundingMode() - Method in interface org.formulacompiler.compiler.NumericType
Returns the rounding mode.

S

save() - Method in interface org.formulacompiler.spreadsheet.SpreadsheetSaver
Saves the configured model to the output stream.
SaveableEngine - Interface in org.formulacompiler.compiler
Defines the SaveableEngine.saveTo(OutputStream) method for engines returned by an engine compiler.
saveSpreadsheet(Spreadsheet, File, File) - Static method in class org.formulacompiler.spreadsheet.SpreadsheetCompiler
Saves a spreadsheet model to a new spreadsheet file.
saveTo(OutputStream) - Method in interface org.formulacompiler.compiler.SaveableEngine
Saves a compiled engine to a stream.
saveTo(File) - Method in interface org.formulacompiler.decompiler.ByteCodeEngineSource
Saves the decompiled engine's source to a target folder into which a proper java package/source structure is written.
scale() - Method in interface org.formulacompiler.compiler.NumericType
Returns the fixed scale, or else NumericType.UNDEFINED_SCALE.
scale(long, int) - Static method in class org.formulacompiler.runtime.ScaledLongSupport
Returns a scaled version of an unscaled long value.
ScaledLong - Annotation Type in org.formulacompiler.runtime
Indicates to AFC that a long value is scaled.
ScaledLongSupport - Class in org.formulacompiler.runtime
Support class for handling scaled longs.
SectionInfo - Interface in org.formulacompiler.runtime.spreadsheet
Information about a section.
set() - Static method in class org.formulacompiler.runtime.New
 
setCompileTimeConfig(Computation.Config) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Let's you replace the entire compile-time configuration in one go.
setCompileToReadableCode(boolean) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Controls whether AFC should attempt to compile more readable code (when decompiled), possibly at the expense of engine size and performance.
setComputationListenerEnabled(boolean) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Controls whether AFC should compile the computation with support for CellComputationListener.
setComputationMode(ComputationMode) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Tells AFC to calculate expressions as for example Excel or OpenOffice does.
setConstantExpressionOptimizationListener(ConstantExpressionOptimizationListener) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Sets a listener that receives notifications about events during compilation process.
setFactoryClass(Class) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Sets either an application-specific class from which to descend the generated computation factory, or an application-specific interface which the generated factory should implement.
setFactoryMethod(Method) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Sets the application-specific method of the given factory type, EngineBuilder.setFactoryClass(Class), which AFC should implement to return new computation instances.
setFullCaching(boolean) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Controls whether AFC should compile the computation with full internal caching of values, or only (usually minimal) caching at its own discretion.
setInputClass(Class) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Sets the application-specific type defining the methods which input cells can call.
setLoadAllCellValues(boolean) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Controls whether Spreadsheet.Cell.getValue() should return valid values instead of null for computed cells.
setMessageContext(String) - Method in exception org.formulacompiler.runtime.FormulaCompilerException
Sets the current message context.
setNumericType(NumericType) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Sets the numeric type to be used by computations compiled by this builder.
setOutputClass(Class) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Sets the application-specific type defining the methods output cells can implement.
setParentClassLoaderForEngine(ClassLoader) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Sets the parent class loader to be used for the compiled engine (which is itself a class loader).
setSpreadsheet(Spreadsheet) - Method in interface org.formulacompiler.spreadsheet.EngineBuilder
Sets the spreadsheet representation that this builder compiles.
sheet - Variable in class org.formulacompiler.spreadsheet.SpreadsheetNameCreator.Config
The sheet of the spreadsheet representation in which to name cells.
SINGLETON - Static variable in interface org.formulacompiler.compiler.Validation
 
sortedMap() - Static method in class org.formulacompiler.runtime.New
 
sortedSet() - Static method in class org.formulacompiler.runtime.New
 
Spreadsheet - Interface in org.formulacompiler.spreadsheet
Represents a spreadsheet model in memory.
spreadsheet - Variable in class org.formulacompiler.spreadsheet.SpreadsheetBinder.Config
The spreadsheet whose elements you want to bind; must not be null.
spreadsheet - Variable in class org.formulacompiler.spreadsheet.SpreadsheetSaver.Config
Mandatory internal spreadsheet model that should be written out as a real spreadsheet file.
Spreadsheet.Cell - Interface in org.formulacompiler.spreadsheet
Returns information about a spreadsheet cell.
Spreadsheet.Range - Interface in org.formulacompiler.spreadsheet
Marker interface for a spreadsheet range in the spreadsheet model.
Spreadsheet.Row - Interface in org.formulacompiler.spreadsheet
Returns information about a row.
Spreadsheet.Sheet - Interface in org.formulacompiler.spreadsheet
Returns information about a worksheet.
SpreadsheetBinder - Interface in org.formulacompiler.spreadsheet
Defines the bindings of spreadsheet cells and sections to Java elements.
SpreadsheetBinder.Config - Class in org.formulacompiler.spreadsheet
Configuration data for new instances of SpreadsheetBinder.
SpreadsheetBinder.Config() - Constructor for class org.formulacompiler.spreadsheet.SpreadsheetBinder.Config
 
SpreadsheetBinder.Factory - Interface in org.formulacompiler.spreadsheet
Factory interface for ImplementationLocator.getInstance(Class).
SpreadsheetBinder.Section - Interface in org.formulacompiler.spreadsheet
Represents both the container for the definitions of global spreadsheet cells and instances of horizontal or vertical sections within a spreadsheet.
SpreadsheetBinding - Interface in org.formulacompiler.spreadsheet
Represents the association of spreadsheet cells and ranges to methods of the application's input and output types.
SpreadsheetBuilder - Interface in org.formulacompiler.spreadsheet
This interface allows you to build a spreadsheet representation in memory from scratch.
SpreadsheetBuilder.CellRef - Interface in org.formulacompiler.spreadsheet
Opaque handle for a constructed cell in a spreadsheet, used to reference the cell again in the expression of other, calculated cells.
SpreadsheetBuilder.Constant - Interface in org.formulacompiler.spreadsheet
Opaque handle for a constant value supported by the spreadsheet builder.
SpreadsheetBuilder.ExprNode - Interface in org.formulacompiler.spreadsheet
Opaque handle for an node of an expression tree used to define calculated cells.
SpreadsheetBuilder.Factory - Interface in org.formulacompiler.spreadsheet
Factory interface for ImplementationLocator.getInstance(Class).
SpreadsheetBuilder.RangeRef - Interface in org.formulacompiler.spreadsheet
Opaque handle for a range in a spreadsheet, used to reference the range again in the expression of other, calculated cells.
SpreadsheetByNameBinder - Interface in org.formulacompiler.spreadsheet
Utility interface that supports simple cell binding using the cell names in the spreadsheet and reflection on the input and output types.
SpreadsheetByNameBinder.CellBinder - Interface in org.formulacompiler.spreadsheet
Interface to a cell binder for either input or output cells.
SpreadsheetByNameBinder.Config - Class in org.formulacompiler.spreadsheet
Configuration data for new instances of SpreadsheetByNameBinder.
SpreadsheetByNameBinder.Config() - Constructor for class org.formulacompiler.spreadsheet.SpreadsheetByNameBinder.Config
 
SpreadsheetByNameBinder.Factory - Interface in org.formulacompiler.spreadsheet
Factory interface for ImplementationLocator.getInstance(Class).
SpreadsheetCellComputationEvent - Class in org.formulacompiler.runtime.spreadsheet
This event is emitted after a cell has been computed.
SpreadsheetCellComputationEvent(CellInfo, SectionInfo, Object, boolean, boolean) - Constructor for class org.formulacompiler.runtime.spreadsheet.SpreadsheetCellComputationEvent
Creates a new event.
SpreadsheetCompiler - Class in org.formulacompiler.spreadsheet
Static class defining factory methods for the various elements of AFC.
SpreadsheetCompiler() - Constructor for class org.formulacompiler.spreadsheet.SpreadsheetCompiler
 
SpreadsheetException - Exception in org.formulacompiler.spreadsheet
Base class for all spreadsheet-related errors thrown by AFC.
SpreadsheetException(String) - Constructor for exception org.formulacompiler.spreadsheet.SpreadsheetException
 
SpreadsheetException(String, Throwable) - Constructor for exception org.formulacompiler.spreadsheet.SpreadsheetException
 
SpreadsheetException(Throwable) - Constructor for exception org.formulacompiler.spreadsheet.SpreadsheetException
 
SpreadsheetException.CellRangeNotUniDimensional - Exception in org.formulacompiler.spreadsheet
When a formula gives a range name in a place where a single cell is expected, then the range must be unidimensional.
SpreadsheetException.CellRangeNotUniDimensional(String) - Constructor for exception org.formulacompiler.spreadsheet.SpreadsheetException.CellRangeNotUniDimensional
 
SpreadsheetException.LoadError - Exception in org.formulacompiler.spreadsheet
An internal spreadsheet model could not be saved.
SpreadsheetException.LoadError(String, Throwable) - Constructor for exception org.formulacompiler.spreadsheet.SpreadsheetException.LoadError
 
SpreadsheetException.LoadError(String) - Constructor for exception org.formulacompiler.spreadsheet.SpreadsheetException.LoadError
 
SpreadsheetException.NameNotFound - Exception in org.formulacompiler.spreadsheet
You attempted to access a cell or range by a name which is not defined.
SpreadsheetException.NameNotFound(String) - Constructor for exception org.formulacompiler.spreadsheet.SpreadsheetException.NameNotFound
 
SpreadsheetException.NameNotFound(String, Throwable) - Constructor for exception org.formulacompiler.spreadsheet.SpreadsheetException.NameNotFound
 
SpreadsheetException.NotInSection - Exception in org.formulacompiler.spreadsheet
You attempted to define an input or output cell or range within a section, but the cell or range is not fully contained with said section.
SpreadsheetException.NotInSection(String, String, String, String) - Constructor for exception org.formulacompiler.spreadsheet.SpreadsheetException.NotInSection
 
SpreadsheetException.SaveError - Exception in org.formulacompiler.spreadsheet
An internal spreadsheet model could not be saved.
SpreadsheetException.SaveError(Throwable) - Constructor for exception org.formulacompiler.spreadsheet.SpreadsheetException.SaveError
 
SpreadsheetException.SectionExtentNotCovered - Exception in org.formulacompiler.spreadsheet
You are compiling a spreadsheet with an aggregate function over a range that overlaps, but does not exactly match the variable extent of a section.
SpreadsheetException.SectionExtentNotCovered(String, String, Orientation) - Constructor for exception org.formulacompiler.spreadsheet.SpreadsheetException.SectionExtentNotCovered
 
SpreadsheetException.SectionOverlap - Exception in org.formulacompiler.spreadsheet
You attempted to define a section that overlaps another.
SpreadsheetException.SectionOverlap(String) - Constructor for exception org.formulacompiler.spreadsheet.SpreadsheetException.SectionOverlap
 
SpreadsheetException.SectionSpan - Exception in org.formulacompiler.spreadsheet
You attempted to aggregate a range that spans cells and/or subsections in an unsupported way.
SpreadsheetException.SectionSpan(String, String) - Constructor for exception org.formulacompiler.spreadsheet.SpreadsheetException.SectionSpan
 
SpreadsheetException.UnsupportedExpression - Exception in org.formulacompiler.spreadsheet
A cell formula contains a parsing error.
SpreadsheetException.UnsupportedExpression(Throwable) - Constructor for exception org.formulacompiler.spreadsheet.SpreadsheetException.UnsupportedExpression
 
SpreadsheetException.UnsupportedFormat - Exception in org.formulacompiler.spreadsheet
A unsupported spreadsheet file format extension was encountered.
SpreadsheetException.UnsupportedFormat(String) - Constructor for exception org.formulacompiler.spreadsheet.SpreadsheetException.UnsupportedFormat
 
SpreadsheetLoader - Interface in org.formulacompiler.spreadsheet
Allows loading of spreadsheets from external sources (like Excel files).
SpreadsheetLoader.Config - Class in org.formulacompiler.spreadsheet
Configuration data for new instances of SpreadsheetLoader.
SpreadsheetLoader.Config() - Constructor for class org.formulacompiler.spreadsheet.SpreadsheetLoader.Config
 
SpreadsheetLoader.Factory - Interface in org.formulacompiler.spreadsheet
Factory interface for ImplementationLocator.getInstance(Class).
SpreadsheetNameCreator - Interface in org.formulacompiler.spreadsheet
Utility interface that supports the creation of cell names from other cells' values.
SpreadsheetNameCreator.Config - Class in org.formulacompiler.spreadsheet
Configuration data for new instances of SpreadsheetNameCreator.
SpreadsheetNameCreator.Config() - Constructor for class org.formulacompiler.spreadsheet.SpreadsheetNameCreator.Config
 
SpreadsheetNameCreator.Factory - Interface in org.formulacompiler.spreadsheet
Factory interface for ImplementationLocator.getInstance(Class).
SpreadsheetSaver - Interface in org.formulacompiler.spreadsheet
This interface allows you to save a spreadsheet representation.
SpreadsheetSaver.Config - Class in org.formulacompiler.spreadsheet
Configuration data for new instances of SpreadsheetSaver.
SpreadsheetSaver.Config() - Constructor for class org.formulacompiler.spreadsheet.SpreadsheetSaver.Config
 
SpreadsheetSaver.Factory - Interface in org.formulacompiler.spreadsheet
Factory interface for ImplementationLocator.getInstance(Class).
SpreadsheetToEngineCompiler - Interface in org.formulacompiler.spreadsheet
Lets you compile a bound spreadsheet to a Java byte-code computation engine.
SpreadsheetToEngineCompiler.Config - Class in org.formulacompiler.spreadsheet
Configuration data for new instances of SpreadsheetToEngineCompiler.
SpreadsheetToEngineCompiler.Config() - Constructor for class org.formulacompiler.spreadsheet.SpreadsheetToEngineCompiler.Config
 
SpreadsheetToEngineCompiler.Factory - Interface in org.formulacompiler.spreadsheet
Factory interface for ImplementationLocator.getInstance(Class).
stack() - Static method in class org.formulacompiler.runtime.New
 
styleCell(String) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Remembers a style name for this cell for use by the SpreadsheetSaver.
styleRow(String) - Method in interface org.formulacompiler.spreadsheet.SpreadsheetBuilder
Remembers a style name for this row for use by the SpreadsheetSaver.

T

templateInputStream - Variable in class org.formulacompiler.spreadsheet.SpreadsheetSaver.Config
Optional stream from which to load the template spreadsheet, or null.
timeZone - Variable in class org.formulacompiler.runtime.Computation.Config
Time zone to use to, for example, convert spreadsheet-internal numeric dates to Date.
timeZone - Variable in class org.formulacompiler.spreadsheet.SpreadsheetSaver.Config
Optional time zone to use for converting date constants, or null which signifies to use the JRE default time zone.
toString() - Method in interface org.formulacompiler.compiler.Describable
Describes this object in a string meant for human consumption.
toString() - Method in class org.formulacompiler.runtime.Computation.Config
 
toString() - Method in class org.formulacompiler.runtime.event.CellComputationEvent
 
toString() - Method in class org.formulacompiler.runtime.spreadsheet.SpreadsheetCellComputationEvent
 
typeExtension - Variable in class org.formulacompiler.spreadsheet.SpreadsheetSaver.Config
Mandatory file name extension of the format in which the spreadsheet should be written (.xls, .xml, .xsd, etc.).

U

UNDEFINED_SCALE - Static variable in interface org.formulacompiler.compiler.NumericType
For BigDecimal types, indicates that no explicit scaling should be performed by the engine.
UNDEFINED_SCALE - Static variable in class org.formulacompiler.runtime.FormulaRuntime
For BigDecimal types, indicates that no explicit scaling should be performed by the engine.
UNLIMITED_FRACTIONAL_DIGITS - Static variable in interface org.formulacompiler.compiler.NumericType
Indicates no final rounding due to number formats with a maximum number of fractional digits.

V

validate() - Method in class org.formulacompiler.decompiler.ByteCodeEngineDecompiler.Config
Validates the configuration for missing or improperly set values.
validate() - Method in class org.formulacompiler.runtime.Computation.Config
Validates the configuration for missing or improperly set values.
validate() - Method in class org.formulacompiler.runtime.EngineLoader.Config
Validates the configuration for missing or improperly set values.
validate() - Method in class org.formulacompiler.spreadsheet.SpreadsheetBinder.Config
Validates the configuration for missing or improperly set values.
validate() - Method in class org.formulacompiler.spreadsheet.SpreadsheetByNameBinder.Config
Validates the configuration.
validate() - Method in class org.formulacompiler.spreadsheet.SpreadsheetLoader.Config
Validates the configuration.
validate() - Method in class org.formulacompiler.spreadsheet.SpreadsheetNameCreator.Config
Validates the configuration.
validate() - Method in class org.formulacompiler.spreadsheet.SpreadsheetSaver.Config
Validates the configuration.
validate() - Method in class org.formulacompiler.spreadsheet.SpreadsheetToEngineCompiler.Config
Validates the configuration.
validateCallable(Class, Method) - Method in interface org.formulacompiler.compiler.Validation
 
validateFactory(Class, Method, Class, Class) - Method in interface org.formulacompiler.compiler.Validation
 
validateIsAccessible(Class, String) - Method in interface org.formulacompiler.compiler.Validation
 
validateIsAccessible(Method, String) - Method in interface org.formulacompiler.compiler.Validation
 
validateIsImplementable(Class, String) - Method in interface org.formulacompiler.compiler.Validation
 
validateIsImplementable(Method, String) - Method in interface org.formulacompiler.compiler.Validation
 
Validation - Interface in org.formulacompiler.compiler
PRIVATE INTERFACE - DO NOT USE.
Validation.Factory - Interface in org.formulacompiler.compiler
PRIVATE INTERFACE - DO NOT USE.
valueOf(String) - Static method in enum org.formulacompiler.compiler.Function
Returns the enum constant of this type with the specified name.
valueOf(Number) - Method in interface org.formulacompiler.compiler.NumericType
Converts a number to this type.
valueOf(String) - Method in interface org.formulacompiler.compiler.NumericType
Parses a string into a value using the default environment config.
valueOf(String, Computation.Config) - Method in interface org.formulacompiler.compiler.NumericType
Parses a string into a value using the given environment config.
valueOf(String) - Static method in enum org.formulacompiler.compiler.Operator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.formulacompiler.runtime.ComputationMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.formulacompiler.spreadsheet.Orientation
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.formulacompiler.compiler.Function
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.formulacompiler.compiler.Operator
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.formulacompiler.runtime.ComputationMode
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.formulacompiler.spreadsheet.Orientation
Returns an array containing the constants of this enum type, in the order they're declared.
valueToConciseString(Number) - Method in interface org.formulacompiler.compiler.NumericType
Returns the value as a string with no superfluous leading or trailing zeroes and decimal point using the default environment config.
valueToConciseString(Number, Computation.Config) - Method in interface org.formulacompiler.compiler.NumericType
Returns the value as a string with no superfluous leading or trailing zeroes and decimal point using the given environment config.
valueToString(Number) - Method in interface org.formulacompiler.compiler.NumericType
Returns the value as a string in its canonical representation using the default environment config.
valueToString(Number, Computation.Config) - Method in interface org.formulacompiler.compiler.NumericType
Returns the value as a string in its canonical representation using the given environment config.
valueType() - Method in interface org.formulacompiler.compiler.NumericType
Returns the Java class of the base type.

A B C D E F G H I L M N O P R S T U V