method

replace

v2_1_10 - Show latest stable - Class: Set
replace(enum)
public

Replaces the contents of the set with the contents of the given enumerable object and returns self.