def to_immutable(self):
if self._enumeration is None:<EOL><INDENT>self._get_mutable_enumeration()<EOL><DEDENT>col_obj = self._enumeration['<STR_LIT>'][self._collection_type]<EOL>return col_obj(self.header, self.values)<EOL>
Get an immutable version of this collection.