Factory method for creating a new TableFor22.
Factory method for creating a new TableFor22.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple22s containing the data of this table
Factory method for creating a new TableFor21.
Factory method for creating a new TableFor21.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple21s containing the data of this table
Factory method for creating a new TableFor20.
Factory method for creating a new TableFor20.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple20s containing the data of this table
Factory method for creating a new TableFor19.
Factory method for creating a new TableFor19.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple19s containing the data of this table
Factory method for creating a new TableFor18.
Factory method for creating a new TableFor18.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple18s containing the data of this table
Factory method for creating a new TableFor17.
Factory method for creating a new TableFor17.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple17s containing the data of this table
Factory method for creating a new TableFor16.
Factory method for creating a new TableFor16.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple16s containing the data of this table
Factory method for creating a new TableFor15.
Factory method for creating a new TableFor15.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple15s containing the data of this table
Factory method for creating a new TableFor14.
Factory method for creating a new TableFor14.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple14s containing the data of this table
Factory method for creating a new TableFor13.
Factory method for creating a new TableFor13.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple13s containing the data of this table
Factory method for creating a new TableFor12.
Factory method for creating a new TableFor12.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple12s containing the data of this table
Factory method for creating a new TableFor11.
Factory method for creating a new TableFor11.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple11s containing the data of this table
Factory method for creating a new TableFor10.
Factory method for creating a new TableFor10.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple10s containing the data of this table
Factory method for creating a new TableFor9.
Factory method for creating a new TableFor9.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple9s containing the data of this table
Factory method for creating a new TableFor8.
Factory method for creating a new TableFor8.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple8s containing the data of this table
Factory method for creating a new TableFor7.
Factory method for creating a new TableFor7.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple7s containing the data of this table
Factory method for creating a new TableFor6.
Factory method for creating a new TableFor6.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple6s containing the data of this table
Factory method for creating a new TableFor5.
Factory method for creating a new TableFor5.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple5s containing the data of this table
Factory method for creating a new TableFor4.
Factory method for creating a new TableFor4.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple4s containing the data of this table
Factory method for creating a new TableFor3.
Factory method for creating a new TableFor3.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple3s containing the data of this table
Factory method for creating a new TableFor2.
Factory method for creating a new TableFor2.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple2s containing the data of this table
Factory method for creating a new TableFor1.
Factory method for creating a new TableFor1.
a tuple containing string names of the columns in this table
a variable length parameter list of Tuple1s containing the data of this table
Object containing one
applyfactory method for eachTableFor<n>class.For example, you could create a table of 5 rows and 2 colums like this:
Because you supplied 2 members in each tuple, the type you'll get back will be a
TableFor2. If you wanted a table with just one column you could write this:Or if you wanted a table with 10 columns and 10 rows, you could do this:
The type of
multiplicationTablewould beTableFor10. You can pass the resulting tables to aforAllmethod (defined in traitPropertyChecks), to perform a property check with the data in the table. Or, because tables are sequences of tuples, you can treat them as aSeq.