create a Field with a label and other fields values, concatenated as strings
create a Field with a label and other fields values, concatenated as strings
create a Field with a label and a value
create a Field with no label
(Since version ) see corresponding Javadoc for more information.
Factory methods for creating Fields. Fields values can also be concatenated to produce "summary" fields.
val f1 = Field(label, "hello") val f2 = Field(label, "world") val concatenatedFields = Field(label, f1, f2) concatenatedFields.toString == label: hello/world
val concatenatedFields2 = Field(label, ", ", f1, f2) concatenatedFields2.toString == label: hello, world