title: Java array assignment (multiple values)
body: <p>I have a Java array defined already e.g.</p>
  
  <pre><code>float[] values = new float[3];
  </code></pre>
  
  <p>I would like to do something like this further on in the code:</p>
  
  <pre><code>values = {0.1f, 0.2f, 0.3f};
  </code></pre>
  
  <p>But that gives me a compile error. Is there a nicer way to define multiple values at once, rather than doing this?:</p>
  
  <pre><code>values[0] = 0.1f;
  values[1] = 0.2f;
  values[2] = 0.3f;
  </code></pre>
  
  <p>Thanks!</p>