Package | Description |
---|---|
csheets.core |
Provides the core classes for the application's data model, i.e. workbooks,
spreadsheets, cells, addresses and values.
|
csheets.core.formula |
Provides classes for representing formulas.
|
csheets.core.formula.lang |
Provides the operators, functions and references supported by the formula
language.
|
csheets.core.formula.util |
Provides utilities for performing operations on formulas.
|
csheets.ext |
Provides an extension mechanism for the application.
|
csheets.ext.assertion |
Provides support for user-specified and system-generated assertions.
|
csheets.ext.test |
Provides support for test cases and test case parameters.
|
Modifier and Type | Method and Description |
---|---|
Value |
IllegalValueTypeException.getValue()
Returns the value.
|
Value |
CellImpl.getValue() |
Value |
Cell.getValue()
Returns the value of the cell.
|
static Value |
Value.parseBooleanValue(String value)
Attempts to parse a boolean from the given string.
|
static Value |
Value.parseDateValue(String value)
Attempts to parse a date, time or date/time from the given string.
|
static Value |
Value.parseNumericValue(String value)
Attempts to parse a number from the given string.
|
static Value |
Value.parseValue(String value,
Value.Type... types)
Attempts to parse a value from the given string.
|
Value[][] |
Value.toMatrix()
Returns a matrix representation of the value.
|
Modifier and Type | Method and Description |
---|---|
int |
Value.compareTo(Value otherValue)
Compares this value with the given value for order.
|
void |
UpdateCellContent.triggerUpdate(Cell cell,
Value value)
updates a cell's content
|
Constructor and Description |
---|
IllegalValueTypeException(Value value,
Value.Type expectedValueType)
Creates a new illegal value type exception.
|
Value(Value[] matrix)
Creates a one-dimensional matrix value (vector).
|
Value(Value[][] matrix)
Creates a two-dimensional matrix value.
|
Modifier and Type | Method and Description |
---|---|
Value |
UnaryOperator.applyTo(Expression operand)
Applies the operator to the given operand and returns the result.
|
Value |
Function.applyTo(Expression[] args)
Invokes the function using the given arguments and returns the result.
|
Value |
BinaryOperator.applyTo(Expression leftOperand,
Expression rightOperand)
Applies the operator to the given operands and returns the result.
|
Value |
UnaryOperation.evaluate() |
Value |
Reference.evaluate() |
Value |
Literal.evaluate() |
Value |
FunctionCall.evaluate() |
Value |
Formula.evaluate() |
Value |
Expression.evaluate()
Evaluates the expression and returns the result.
|
Value |
BinaryOperation.evaluate() |
Value |
Literal.getValue()
Returns the value of the literal.
|
Constructor and Description |
---|
Literal(Value value)
Creates a new literal.
|
Modifier and Type | Method and Description |
---|---|
Value |
Percent.applyTo(Expression operand)
Returns the operand's value divided by 100.
|
Value |
Negator.applyTo(Expression operand)
Returns the negation of the operand's value.
|
Value |
Whiledo.applyTo(Expression[] args) |
Value |
True.applyTo(Expression[] arguments) |
Value |
Sum.applyTo(Expression[] arguments) |
Value |
Or.applyTo(Expression[] arguments) |
Value |
NumericFunction.applyTo(Expression[] arguments) |
Value |
Not.applyTo(Expression[] arguments) |
Value |
If.applyTo(Expression[] arguments) |
Value |
False.applyTo(Expression[] arguments) |
Value |
Factorial.applyTo(Expression[] arguments) |
Value |
Eval.applyTo(Expression[] args) |
Value |
Dowhile.applyTo(Expression[] args) |
Value |
Do.applyTo(Expression[] arguments) |
Value |
Count.applyTo(Expression[] arguments) |
Value |
Average.applyTo(Expression[] arguments) |
Value |
And.applyTo(Expression[] arguments) |
Value |
Subtracter.applyTo(Expression leftOperand,
Expression rightOperand) |
Value |
RelationalOperator.applyTo(Expression leftOperand,
Expression rightOperand) |
Value |
RangeReference.applyTo(Expression leftOperand,
Expression rightOperand) |
Value |
Multiplier.applyTo(Expression leftOperand,
Expression rightOperand) |
Value |
Exponentiator.applyTo(Expression leftOperand,
Expression rightOperand) |
Value |
Divider.applyTo(Expression leftOperand,
Expression rightOperand) |
Value |
Concatenator.applyTo(Expression leftOperand,
Expression rightOperand) |
Value |
Attribution.applyTo(Expression leftOperand,
Expression rightOperand)
applies attribution given a right and left operand
|
Value |
Adder.applyTo(Expression leftOperand,
Expression rightOperand) |
Value |
RelationalOperatorImpl.evaluate() |
Value |
ReferenceOperation.evaluate() |
Value |
CellReference.evaluate() |
Modifier and Type | Method and Description |
---|---|
abstract Value |
Interpreter.visitBinaryOperation(BinaryOperation operation) |
abstract Value |
Interpreter.visitFunctionCall(FunctionCall call) |
Value |
Interpreter.visitLiteral(Literal literal) |
Value |
Interpreter.visitReference(Reference reference) |
abstract Value |
Interpreter.visitUnaryOperation(UnaryOperation operation) |
Modifier and Type | Method and Description |
---|---|
Value |
CellExtension.getValue() |
Modifier and Type | Method and Description |
---|---|
Assertion.Result |
AssertableCell.assertAny(Value value)
Asserts the specified value using any (or both) assertion(s) associated with the cell.
|
Assertion.Result |
AssertableCell.assertSG(Value value)
Asserts the specified value using the system generated assertion associated with the cell.
|
Assertion.Result |
AssertableCell.assertUS(Value value)
Asserts the specified value using the user supplied assertion associated with the cell.
|
Assertion.Result |
Assertion.validate(Value value)
Checks if the current assertion holds for the given value.
|
Modifier and Type | Method and Description |
---|---|
Value |
TestCase.evaluate() |
Modifier and Type | Method and Description |
---|---|
TestCaseParam |
TestableCell.addTestCaseParam(Value value)
Add a test case parameter to the cell's set of test case parameters.
|
TestCaseParam |
TestableCell.addTestCaseParam(Value value,
TestCaseParam.Type type)
Add a test case parameter to the cell's set of test case parameters.
|
Constructor and Description |
---|
TestCaseParam(TestableCell cell,
Value value,
TestCaseParam.Type type)
Creates the Test Case Parameter.
|