copy abstract method

EnumSet<T> copy()

Creates a new copy of the current EnumSet and returns it. The newly created set holds exactly the same data as the one on which the method is called on.

Implementation

EnumSet<T> copy();