org.seasar.doma.internal.expr
クラス ExpressionEvaluator.Decimal
java.lang.Object
org.seasar.doma.internal.expr.ExpressionEvaluator.Decimal
- 含まれているクラス:
- ExpressionEvaluator
protected static class ExpressionEvaluator.Decimal
- extends Object
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
priorityMap
protected static final Map<Class<?>,Integer> priorityMap
operatorNode
protected final ArithmeticOperatorNode operatorNode
operandNode
protected final ExpressionNode operandNode
decimalValue
protected final BigDecimal decimalValue
realClass
protected final Class<?> realClass
priority
protected final Integer priority
ExpressionEvaluator.Decimal
protected ExpressionEvaluator.Decimal(ArithmeticOperatorNode operatorNode,
ExpressionNode operandNode,
EvaluationResult evaluationResult)
widenValue
protected BigDecimal widenValue(ArithmeticOperatorNode operatorNode,
ExpressionNode operandNode,
Object value,
Class<?> clazz)
narrowValue
protected Object narrowValue(BigDecimal value,
Class<?> clazz)
add
protected EvaluationResult add(ExpressionEvaluator.Decimal other)
subtract
protected EvaluationResult subtract(ExpressionEvaluator.Decimal other)
multiply
protected EvaluationResult multiply(ExpressionEvaluator.Decimal other)
divide
protected EvaluationResult divide(ExpressionEvaluator.Decimal other)
handleArithmeticException
protected void handleArithmeticException(ArithmeticException e)
createEvaluationResult
protected EvaluationResult createEvaluationResult(ExpressionEvaluator.Decimal other,
BigDecimal newValue)
Copyright © 2009 The Seasar Foundation. All Rights Reserved.