-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
8u45
-
x86_64
-
linux
A DESCRIPTION OF THE REQUEST :
Currently, public static <E extends Enum<E>> EnumSet<E> of(E first, E... rest) is supported
and also noneOf(...) is supported.
But it is easier to deal with the class if
public static <E extends Enum<E>> EnumSet<E> of(E... rest) were also supported.
That way, empty enums may be created by just enumerating the enums required.
JUSTIFICATION :
That way, empty enums may be created by just enumerating the enums required.
Currently, public static <E extends Enum<E>> EnumSet<E> of(E first, E... rest) is supported
and also noneOf(...) is supported.
But it is easier to deal with the class if
public static <E extends Enum<E>> EnumSet<E> of(E... rest) were also supported.
That way, empty enums may be created by just enumerating the enums required.
JUSTIFICATION :
That way, empty enums may be created by just enumerating the enums required.