The following example shows how to create an enum set
containing all the elements of this type that are not contained in the specified set.
EnumSet provides the following APIs,
public static <E extends Enum<E>> EnumSet<E> allOf(Class<E> paramClass);
- Returns enum set containing all of the elements in the specified element type.
public static <E extends Enum<E>> EnumSet<E> complementOf(EnumSet<E> paramEnumSet)
- Returns enum set containing all the elements of this type that are
not contained in the specified set.