BalancedGroups

laika.helium.generate.BalancedGroups$

Utility for splitting a collection into a balanced group of items as opposed to the unbalanced grouped method of the Scala collection API.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def create[A](items: Vector[A], size: Int): Vector[Vector[A]]

Creates a balanced group of items based on the given desired size.

Creates a balanced group of items based on the given desired size.

Attributes