java.lang.Object
org.seasar.doma.internal.expr.ExpressionEvaluator.Number
- Enclosing class:
- ExpressionEvaluator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final BigDecimalprotected final ArithmeticOperatorNodeprotected final Integerprotected final Class<?> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNumber(ArithmeticOperatorNode operatorNode, Object value, Class<?> valueClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected EvaluationResultadd(ExpressionEvaluator.Number other) protected EvaluationResultcreateEvaluationResult(ExpressionEvaluator.Number other, BigDecimal newValue) protected EvaluationResultdivide(ExpressionEvaluator.Number other) protected voidprotected static booleanisAcceptable(Class<?> valueClass) protected EvaluationResultmod(ExpressionEvaluator.Number other) protected EvaluationResultprotected ObjectnarrowValue(BigDecimal value, Class<?> clazz) protected EvaluationResultprotected BigDecimalwidenValue(Object value, Class<?> clazz)
-
Field Details
-
priorityMap
-
operatorNode
-
numberValue
-
realClass
-
priority
-
-
Constructor Details
-
Number
-
-
Method Details
-
isAcceptable
-
widenValue
-
narrowValue
-
add
-
subtract
-
multiply
-
divide
-
mod
-
handleArithmeticException
-
createEvaluationResult
protected EvaluationResult createEvaluationResult(ExpressionEvaluator.Number other, BigDecimal newValue)
-