EnumSet

constructor(elementType: KClass<E>, universe: Array<Enum<E>>)

Parameters

the enum type of elements maintained by this set