How to create empty EnumSet? : <p>I am struggling with EnumSet as it surprisingly doesn't have a simple constructor and its methods doesn't like null values.</p>

<p>What I came up with:
<code>EnumSet&lt;MyClass&gt; x = EnumSet.copyOf(Collections.&lt;MyClass&gt;emptySet());</code></p>

<p>Which somewhat works but doesn't seem right to me.</p>
