How to convert a DataTable in Cucumber to a List of objects?
问题 Original Title: What does scalar mean in Cucumber DataTables in Java? From this reference: Java provides several scalar types. These include primitive numeric types, plus boolean and char. Every scalar (primitive) type has an associated wrapper class or reference type. Reading the javadocs: /** * Converts the table to a List. * * If {@code itemType} is a scalar type the table is flattened. * * Otherwise, the top row is used to name the fields/properties and the remaining * rows are turned