@Override
    public boolean equals(Object obj) {
	if (this == obj) {
	    return true;
	}
	if (obj == null) {
	    return false;
	}
	if (getClass() != obj.getClass()) {
	    return false;
	}
	Credit other = (Credit) obj;
	if (Double.doubleToLongBits(this.ac) != Double
		.doubleToLongBits(other.ac)) {
	    return false;
	}
	if (Double.doubleToLongBits(this.ects) != Double
		.doubleToLongBits(other.ects)) {
	    return false;
	}
	return true;
    }