Type class for copying an instance of some type T
,
thereby replacing certain fields with other values.
Type class for copying an instance of some type T
,
thereby replacing certain fields with other values.
- Companion
- object
Value members
Abstract methods
Returns a copy of value
whereby all non-null elements of fieldValues
replace the respective fields of value
.
For all null elements of fieldValues
the original value of the
respective field of value
is maintained.
Returns a copy of value
whereby all non-null elements of fieldValues
replace the respective fields of value
.
For all null elements of fieldValues
the original value of the
respective field of value
is maintained.
If the size of fieldValues
doesn't exactly correspond to the
number of fields of value
an IllegalArgumentException is thrown.