fun setTypes(types: Collection<String>): Unit
Reset the set with new values from input.
types - a new list of types
types