title: Java 8 - Cannot invoke stream() on the array type Enum[]
body: <p>Why I cannot invoke <code>stream()</code> on the array type <code>Enum</code>?</p>
  
  <pre><code>DummyEnum[] array = DummyEnum.values();
  array.stream(); // Compile Error
  </code></pre>
  
  <p><strong>ENUM:</strong></p>
  
  <pre><code>public enum DummyEnum {
      Hello("Hello"), Welcome("Welcome");
      private String greeting;
  
      private DummyEnum(final String greeting) {
          this.greeting = greeting;
      }
  
      public String getValue() {
          return greeting;
      }
  }
  </code></pre>