I need pass by reference please
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/40480/is-java-pass-by-reference">Is Java pass by reference?</a>  </p>
</blockquote>



<p>As I understand it, in Java there is no pass by reference, always pass by value.  Does this mean that an object passed as an argument will be copied, everytime?  Or is this some sort of pass by value but Java isn't so stupid that it copies the entire object?</p>

<p>I'm working on a fairly dense OpenGL project on Android.  And the object holding all the scene data is not exactly small in size.  That object is passed down from one function to another.  So basically, if Java has no pass by reference it will be many copies of a big object.</p>
