SeqUtils
harness.core.SeqUtils$
object SeqUtils
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SeqUtils.type
Members list
Value members
Concrete methods
Converts something like: List( List("A", "B", "C"), List("A", "B"), List("A"), ) into: List( List("A", "B", "C"), List("A", "B", "" ), List("A", "", "" ), )
Converts something like: List( List("A", "B", "C"), List("A", "B"), List("A"), ) into: List( List("A", "B", "C"), List("A", "B", "" ), List("A", "", "" ), )
Attributes
def makeTable[Input, Headers <: Tuple, Row <: Tuple, HeaderAlignments <: Tuple, RowAlignments <: Tuple](inputs: Seq[Input])(headers: Headers, headerAlignments: HeaderAlignments, rowAlignments: RowAlignments, padding: Int)(makeRow: Input => Row)(implicit headersAreStrings: Union[Headers] =:= String, headerAlignmentsAreAlignments: Union[HeaderAlignments] =:= Alignment, rowAlignmentsAreAlignments: Union[RowAlignments] =:= Alignment, rowSameSizeAsHeaders: Size[Row] =:= Size[Headers], headerAlignmentsSameSizeAsHeaders: Size[HeaderAlignments] =:= Size[Headers], rowAlignmentsSameSizeAsRows: Size[RowAlignments] =:= Size[Row]): String
Assumes all lists have same size, will throw if this is not the case
Assumes all lists have same size, will throw if this is not the case
Attributes
In this article