Code example for BigDecimal

Methods: hashCode

0
		this.amout = theAmout;
	} 
 
	@Override 
	public final int hashCode() { 
		return amout.hashCode();
	} 
 
	@Override 
	public final boolean equals(final Object obj) {
		if (obj == null) {
			return false; 
		} 
		if (getClass() != obj.getClass()) {
			return false; 
		} 
		final Amount other = (Amount) obj;
		if (this.amout != other.amout
				&& (this.amout == null || !this.amout.equals(other.amout))) {
			return false; 
		}