Code example for BigDecimal

Methods: equals

0
			return false; 
		Amount other = (Amount) obj;
		if (amount == null) {
			if (other.amount != null)
				return false; 
		} else if (!amount.equals(other.amount))
			return false; 
		return true; 
	} 
 
	@Override 
	public String toString() {
		return "Amount [amout=" + amount + "]";
	} 
}