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.
|
Modifier and Type | Method and Description |
---|---|
Value.Type |
IllegalValueTypeException.getExpectedValueType()
Returns the expected type of the value.
|
Value.Type |
Value.getType()
Returns the type of the value.
|
static Value.Type |
Value.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Value.Type[] |
Value.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Value.isOfType(Value.Type type)
Returns whether the value is of the given type.
|
static Value |
Value.parseValue(String value,
Value.Type... types)
Attempts to parse a value from the given string.
|
Constructor and Description |
---|
IllegalValueTypeException(Value value,
Value.Type expectedValueType)
Creates a new illegal value type exception.
|
Modifier and Type | Method and Description |
---|---|
Value.Type |
Operator.getOperandValueType()
Returns the type of value that the operator's operands can have.
|
Value.Type |
FunctionParameter.getValueType()
Returns the value type of the argument.
|
Constructor and Description |
---|
FunctionParameter(Value.Type valueType,
String name,
boolean optional,
String description)
Creates a new function parameter.
|
Modifier and Type | Method and Description |
---|---|
Value.Type |
Subtracter.getOperandValueType() |
Value.Type |
RelationalOperator.getOperandValueType() |
Value.Type |
RangeReference.getOperandValueType() |
Value.Type |
Percent.getOperandValueType() |
Value.Type |
NotEqual.getOperandValueType() |
Value.Type |
Negator.getOperandValueType() |
Value.Type |
Multiplier.getOperandValueType() |
Value.Type |
LessThanOrEqual.getOperandValueType() |
Value.Type |
LessThan.getOperandValueType() |
Value.Type |
GreaterThanOrEqual.getOperandValueType() |
Value.Type |
GreaterThan.getOperandValueType() |
Value.Type |
Exponentiator.getOperandValueType() |
Value.Type |
Equal.getOperandValueType() |
Value.Type |
Divider.getOperandValueType() |
Value.Type |
Concatenator.getOperandValueType() |
Value.Type |
Attribution.getOperandValueType() |
Value.Type |
Adder.getOperandValueType() |