enumSetOf

inline fun <T : Enum<T>> enumSetOf(vararg values: T): EnumSet<T>

Creates an immutable set of values belong to enumeration with the type specified by the template.