title: How to perform Stream functions on an Iterable?
body: <p>In Java 8, the <code>Stream</code> class does not have any method to wrap a an <code>Iterable</code>.</p>
  
  <p>Instead, I am obtaining the <code>Spliterator</code> from the <code>Iterable</code> and then obtaining a <code>Stream</code> from <code>StreamSupport</code> like this:</p>
  
  <pre><code>boolean parallel = true;
  
  StreamSupport.stream(spliterator(), parallel)
                  .filter(Row::isEmpty)
                  .collect(Collectors.toList())
                  .forEach(this::deleteRow);
  </code></pre>
  
  <p>Is there some other way of generating <code>Stream</code> operations on an <code>Iterable</code> that I am missing?</p>