>
> +1 to add both of these, though I would suggest one of the following
> pairs of names:
> 0) negate, invert
> 1) opposite, reciprocal
> 2) additiveInverse, multiplicativeInverse
>
> Probably 2) is clearest, but a bit long.  I am fine with any of them.
>
> Phil
>
I do think these two features might prove useful. There are
workarounds, but they tend to verbose code.
As for the options you suggest, Phil, I agree my proposition was
probably not the best. We must be careful with consistency, because
some classes already implement those methods (Complex has a method
negate()). I will look into it, and open a JIRA ticket.

Sébastien

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to