title: Are varargs allowed in a java enum constructor?
body: <pre><code>enum MyEnum {
       A( 1, 2, 3, 4),
       B(1, 2),
       C(4, 5, 8, 8, 9);
  
      private MyEnum( int firstInt, int... otherInts ) {
       // do something with arguments, perhaps initialize a List
      }
  }
  </code></pre>
  
  <p>Are there any problems with this? Any reasons not to do it?</p>