freeze abstract method

void freeze()

Makes the set immutable.

After calling this method, any attempt to mutate the set will cause FrozenError to be thrown.

Implementation

void freeze();