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
- Companion:
- class
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Field.type