public static <E extends Enum<E>> EnumSet<E> noneOf (Class<E> elementType)

Creates an empty enum set with the specified element type.

Parameters:
elementType    the class object of the element type for this enum set

Exceptions:
NullPointerException    if elementType is null