3 ms·
And that's not the only case. For instance you may want "a" to be mutable, but you also want to use its value when the closure gets executed. I don't think I'
by bad_user 17y ago
And that's not the only case.
For instance you may want "a" to be mutable, but you also want to use its value when the closure gets executed.
I don't think I've ever used a framework in Java that relies on event-handlers / callbacks where I didn't had to box local variables.