Getters and setters to extract or replace parts of an object.

Arguments

object

An object from which to get or set element(s).

Value

An object of the same sort as object with the new values assigned.

See also

Other mutator: subset()

Author

N. Frerebeau