title: Java array of enum values
body: <p>Machine is defined as <code>public enum Machine{...}</code></p>
  
  <p><code>_machines</code> is defined as <code>private Machine[] _machines;</code></p>
  
  <p>Don't know why this doesn't work: </p>
  
  <pre><code>_machines = {Machine.a, Machine.b};
  </code></pre>
  
  <p>error message:   </p>
  
  <blockquote>
    <p><strong>illegal start of expression</strong></p>
  </blockquote>
  
  <p>Thank you guys!</p>