title: java enum ArrayList - is this possible?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6969841/adding-enum-type-to-a-list">Adding enum type to a list</a>  </p>
  </blockquote>
  
  
  
  <p>I have an enum class:</p>
  
  <pre><code>public enum MyEnum {
      ONE, TWO, THREE;
  }
  </code></pre>
  
  <p>And in another class, MyClass.java, I want to have the following</p>
  
  <pre><code>ArrayList&lt;MyEnum&gt; list;
  </code></pre>
  
  <p>is this possible? because I'm encountering some issues.</p>