| package org.eclipse.nebula.widgets.nattable.core.math |
| |
| import java.math.BigDecimal |
| |
| class BigDecimalExtensions { |
| |
| def static operator_lessThan(BigDecimal a, BigDecimal b) { |
| a.compareTo(b) < 0 |
| } |
| |
| def static operator_lessEqualsThan(BigDecimal a, BigDecimal b) { |
| a.compareTo(b) <= 0 |
| } |
| |
| def static operator_equals(BigDecimal a, BigDecimal b) { |
| a.compareTo(b) == 0 |
| } |
| |
| def static operator_greaterThan(BigDecimal a, BigDecimal b) { |
| a.compareTo(b) > 0 |
| } |
| |
| def static operator_greaterEqualsThan(BigDecimal a, BigDecimal b) { |
| a.compareTo(b) >= 0 |
| } |
| |
| } |