title: Is there a Java 8 equivalent of the collate method in grails?
body: <p>I'm trying to break a list into a list of lists. In groovy I can easily do this:</p>
  
  <pre><code>def letters = 'a'..'g'
  
  assert letters.collate(3) == [['a', 'b', 'c'], ['d', 'e', 'f'], ['g']]
  </code></pre>
  
  <p>Is there an equivalent in Java 8? I've looked into Collectors, but it seems a bit complicated. I really just want to group the items in the list into x.</p>