How to modify two Double objects in java function?
<p>My function takes as input two Double objects, and I would like to modify them both
inside the function. It seems it is not possible, it seems java copies them inside
the function. How is this done in java, in c++ you pass by reference.</p>

<p>Thanks</p>
