Hi.
Le ven. 6 déc. 2019 à 16:47, Alex Herbert a écrit :
>
> I think this method is redundant:
>
> public Complex multiply(final int factor) {
> return new Complex(real * factor, imaginary * factor);
> }
>
> given that there is:
>
> public Complex multiply(double factor) {
> return new C
I think this method is redundant:
public Complex multiply(final int factor) {
return new Complex(real * factor, imaginary * factor);
}
given that there is:
public Complex multiply(double factor) {
return new Complex(real * factor, imaginary * factor);
}
This would be equivalent after t