complement abstract method

EnumSet<T> complement()

Returns a new EnumSet which holds all elements which are not included in the EnumSet on which the method is called.

Combining both EnumSets will hold each element of the given Enum.

Implementation

EnumSet<T> complement();