title: How can I create a stream from an array?
body: <p>Currently whenever I need to create stream from an array, I do</p>
  
  <pre><code>String[] array = {"x1", "x2"};
  Arrays.asList(array).stream();
  </code></pre>
  
  <p>Is there some direct way to create stream from an array?</p>