apply

Doug Lea dl at cs.oswego.edu
Sun Dec 16 15:00:56 PST 2012


On 12/16/12 17:47, Doug Lea wrote:

> Where I guess "Framework writers" must mean:
> 1. anyone using higher-order functions
> 2. anyone needing to remember to for example use "operateAsDouble"
> vs the "operate" version in DoubleBinaryOperator to ensure lack of boxing.
>
>

... but my question was, why do people need to remember
two weird rules instead of one weird rule? Couldn't
this just be apply vs applyAsDouble in DoubleBinaryOperator?
And similarly for all of them?

-Doug




More information about the lambda-libs-spec-observers mailing list