Method | Signature | Comments/Sample |
---|
add
| Weight add(Weight w)
| Â |
compareTo
| integer compareTo(Weight w)
| Â |
divide
| Weight divide(BigDecimal num, integer scale, integer roundingMode)
| Â |
getInUOM
| Weight getInUOM(string uom)
| Â |
getValueInUOM
| BigDecimal getValueInUOM(string uom)
| Â |
greaterThan
| boolean greaterThan(Weight w)
| Â |
isNegative
| boolean isNegative()
| Â |
isNonZero
| boolean isNonZero()
| Â |
isPositive
| boolean isPositive()
| Â |
isZero
| boolean isZero()
| Â |
lessThan
| boolean lessThan(Weight w)
| Â |
multiply
| Weight multiply(integer num)
| Â |
multiply
| Weight multiply(BigDecimal num)
| Â |
subtract
| Weight subtract(Weight w)
| Â |