@SafeVarargs public static <E extends Enum<E>>EnumSet<E> of(E start,E... others){
  EnumSet<E> set=of(start);
  for (  E e : others) {
    set.add(e);
  }
  return set;
}

@ SafeVarargs public static < E extends Enum < E > > EnumSet < E > of ( E start , E ... others ) { EnumSet < E > set = of ( start ) ; for ( E e : others ) { set . add ( e ) ; } return set ; }
creates a new enum set , containing only the specified elements . it can receive an arbitrary number of elements , and runs slower than those only receiving a fixed number of elements .
